class Google::Apis::JobsV4::SearchJobsResponse

Response for SearchJob method.

Attributes

broadened_query_jobs_count[RW]

If query broadening is enabled, we may append additional results from the broadened query. This number indicates how many of the jobs returned in the jobs field are from the broadened query. These results are always at the end of the jobs list. In particular, a value of 0, or if the field isn't set, all the jobs in the jobs list are from the original (without broadening) query. If this field is non-zero, subsequent requests with offset after this result set should contain all broadened results. Corresponds to the JSON property `broadenedQueryJobsCount` @return [Fixnum]

histogram_query_results[RW]

The histogram results that match with specified SearchJobsRequest. histogram_queries. Corresponds to the JSON property `histogramQueryResults` @return [Array<Google::Apis::JobsV4::HistogramQueryResult>]

location_filters[RW]

The location filters that the service applied to the specified query. If any filters are lat-lng based, the Location.location_type is Location.LocationType. LOCATION_TYPE_UNSPECIFIED. Corresponds to the JSON property `locationFilters` @return [Array<Google::Apis::JobsV4::Location>]

matching_jobs[RW]

The Job entities that match the specified SearchJobsRequest. Corresponds to the JSON property `matchingJobs` @return [Array<Google::Apis::JobsV4::MatchingJob>]

metadata[RW]

Additional information returned to client, such as debugging information. Corresponds to the JSON property `metadata` @return [Google::Apis::JobsV4::ResponseMetadata]

next_page_token[RW]

The token that specifies the starting position of the next page of results. This field is empty if there are no more results. Corresponds to the JSON property `nextPageToken` @return [String]

spell_correction[RW]

Spell check result. Corresponds to the JSON property `spellCorrection` @return [Google::Apis::JobsV4::SpellingCorrection]

total_size[RW]

Number of jobs that match the specified query. Note: This size is precise only if the total is less than 100,000. Corresponds to the JSON property `totalSize` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v4/classes.rb, line 2535
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v4/classes.rb, line 2540
def update!(**args)
  @broadened_query_jobs_count = args[:broadened_query_jobs_count] if args.key?(:broadened_query_jobs_count)
  @histogram_query_results = args[:histogram_query_results] if args.key?(:histogram_query_results)
  @location_filters = args[:location_filters] if args.key?(:location_filters)
  @matching_jobs = args[:matching_jobs] if args.key?(:matching_jobs)
  @metadata = args[:metadata] if args.key?(:metadata)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @spell_correction = args[:spell_correction] if args.key?(:spell_correction)
  @total_size = args[:total_size] if args.key?(:total_size)
end