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.



10866
10867
10868
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10866

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)


10848
10849
10850
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10848

def data_store
  @data_store
end

#documentGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument

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



10854
10855
10856
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10854

def document
  @document
end

#person_typeString

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

Returns:

  • (String)


10859
10860
10861
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10859

def person_type
  @person_type
end

#suggestionString

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

Returns:

  • (String)


10864
10865
10866
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10864

def suggestion
  @suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10871
10872
10873
10874
10875
10876
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10871

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