Class: Google::Apis::JobsV3p1beta1::CompletionResult
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3p1beta1::CompletionResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v3p1beta1/classes.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb
Overview
Output only. Resource that represents completion results.
Instance Attribute Summary collapse
-
#image_uri ⇒ String
The URI of the company image for CompletionType.COMPANY_NAME.
-
#suggestion ⇒ String
The suggestion for the query.
-
#type ⇒ String
The completion topic.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompletionResult
constructor
A new instance of CompletionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CompletionResult
Returns a new instance of CompletionResult
745 746 747 |
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_uri ⇒ String
The URI of the company image for CompletionType.COMPANY_NAME.
Corresponds to the JSON property imageUri
733 734 735 |
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 733 def image_uri @image_uri end |
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
738 739 740 |
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 738 def suggestion @suggestion end |
#type ⇒ String
The completion topic.
Corresponds to the JSON property type
743 744 745 |
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 743 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
750 751 752 753 754 |
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 750 def update!(**args) @image_uri = args[:image_uri] if args.key?(:image_uri) @suggestion = args[:suggestion] if args.key?(:suggestion) @type = args[:type] if args.key?(:type) end |