Class: Google::Apis::JobsV2::CompleteQueryResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v2/classes.rb,
generated/google/apis/jobs_v2/representations.rb,
generated/google/apis/jobs_v2/representations.rb

Overview

Output only. Response of auto-complete query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CompleteQueryResponse

Returns a new instance of CompleteQueryResponse.



677
678
679
# File 'generated/google/apis/jobs_v2/classes.rb', line 677

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#completion_resultsArray<Google::Apis::JobsV2::CompletionResult>

Results of the matching job/company candidates. Corresponds to the JSON property completionResults



668
669
670
# File 'generated/google/apis/jobs_v2/classes.rb', line 668

def completion_results
  @completion_results
end

#metadataGoogle::Apis::JobsV2::ResponseMetadata

Output only. Additional information returned to client, such as debugging information. Corresponds to the JSON property metadata



675
676
677
# File 'generated/google/apis/jobs_v2/classes.rb', line 675

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



682
683
684
685
# File 'generated/google/apis/jobs_v2/classes.rb', line 682

def update!(**args)
  @completion_results = args[:completion_results] if args.key?(:completion_results)
  @metadata = args[:metadata] if args.key?(:metadata)
end