Class: Google::Apis::JobsV4::CompleteQueryResponse

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

Overview

Response of auto-complete query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompleteQueryResponse

Returns a new instance of CompleteQueryResponse.



703
704
705
# File 'lib/google/apis/jobs_v4/classes.rb', line 703

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

Instance Attribute Details

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

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



696
697
698
# File 'lib/google/apis/jobs_v4/classes.rb', line 696

def completion_results
  @completion_results
end

#metadataGoogle::Apis::JobsV4::ResponseMetadata

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



701
702
703
# File 'lib/google/apis/jobs_v4/classes.rb', line 701

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



708
709
710
711
# File 'lib/google/apis/jobs_v4/classes.rb', line 708

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