Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion

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

Overview

Suggestions as people.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion

Returns a new instance of GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion.



18132
18133
18134
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18132

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

Instance Attribute Details

#data_storeString

The name of the dataStore that this suggestion belongs to. Corresponds to the JSON property dataStore

Returns:

  • (String)


18099
18100
18101
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18099

def data_store
  @data_store
end

#destination_uriString

The destination uri of the person suggestion. Corresponds to the JSON property destinationUri

Returns:

  • (String)


18104
18105
18106
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18104

def destination_uri
  @destination_uri
end

#display_photo_uriString

The photo uri of the person suggestion. Corresponds to the JSON property displayPhotoUri

Returns:

  • (String)


18109
18110
18111
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18109

def display_photo_uri
  @display_photo_uri
end

#documentGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument

Document captures all raw metadata information of items to be recommended or searched. Corresponds to the JSON property document



18115
18116
18117
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18115

def document
  @document
end

#person_typeString

The type of the person. Corresponds to the JSON property personType

Returns:

  • (String)


18120
18121
18122
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18120

def person_type
  @person_type
end

#scoreFloat

The score of each suggestion. The score is in the range of [0, 1]. Corresponds to the JSON property score

Returns:

  • (Float)


18125
18126
18127
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18125

def score
  @score
end

#suggestionString

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

Returns:

  • (String)


18130
18131
18132
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18130

def suggestion
  @suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18137
18138
18139
18140
18141
18142
18143
18144
18145
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 18137

def update!(**args)
  @data_store = args[:data_store] if args.key?(:data_store)
  @destination_uri = args[:destination_uri] if args.key?(:destination_uri)
  @display_photo_uri = args[:display_photo_uri] if args.key?(:display_photo_uri)
  @document = args[:document] if args.key?(:document)
  @person_type = args[:person_type] if args.key?(:person_type)
  @score = args[:score] if args.key?(:score)
  @suggestion = args[:suggestion] if args.key?(:suggestion)
end