Class: Google::Apis::JobsV3::CompletionResult

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

Overview

Output only. Resource that represents completion results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompletionResult

Returns a new instance of CompletionResult.



683
684
685
# File 'lib/google/apis/jobs_v3/classes.rb', line 683

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

Instance Attribute Details

#image_uriString

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

Returns:

  • (String)


671
672
673
# File 'lib/google/apis/jobs_v3/classes.rb', line 671

def image_uri
  @image_uri
end

#suggestionString

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

Returns:

  • (String)


676
677
678
# File 'lib/google/apis/jobs_v3/classes.rb', line 676

def suggestion
  @suggestion
end

#typeString

The completion topic. Corresponds to the JSON property type

Returns:

  • (String)


681
682
683
# File 'lib/google/apis/jobs_v3/classes.rb', line 681

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



688
689
690
691
692
# File 'lib/google/apis/jobs_v3/classes.rb', line 688

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