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.



9881
9882
9883
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9881

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)


9863
9864
9865
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9863

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



9869
9870
9871
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9869

def document
  @document
end

#person_typeString

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

Returns:

  • (String)


9874
9875
9876
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9874

def person_type
  @person_type
end

#suggestionString

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

Returns:

  • (String)


9879
9880
9881
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9879

def suggestion
  @suggestion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9886
9887
9888
9889
9890
9891
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9886

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