Class: Google::Apis::JobsV4::CompletionResult

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

Overview

Resource that represents completion results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompletionResult

Returns a new instance of CompletionResult.



732
733
734
# File 'generated/google/apis/jobs_v4/classes.rb', line 732

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

Instance Attribute Details

#image_uriString

The URI of the company image for COMPANY_NAME. Corresponds to the JSON property imageUri

Returns:

  • (String)


720
721
722
# File 'generated/google/apis/jobs_v4/classes.rb', line 720

def image_uri
  @image_uri
end

#suggestionString

The suggestion for the query. Corresponds to the JSON property suggestion

Returns:

  • (String)


725
726
727
# File 'generated/google/apis/jobs_v4/classes.rb', line 725

def suggestion
  @suggestion
end

#typeString

The completion topic. Corresponds to the JSON property type

Returns:

  • (String)


730
731
732
# File 'generated/google/apis/jobs_v4/classes.rb', line 730

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



737
738
739
740
741
# File 'generated/google/apis/jobs_v4/classes.rb', line 737

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