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.



9965
9966
9967
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9965

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)


9947
9948
9949
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9947

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



9953
9954
9955
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9953

def document
  @document
end

#person_typeString

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

Returns:

  • (String)


9958
9959
9960
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9958

def person_type
  @person_type
end

#suggestionString

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

Returns:

  • (String)


9963
9964
9965
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9963

def suggestion
  @suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9970
9971
9972
9973
9974
9975
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9970

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