Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Suggestions as people.
Instance Attribute Summary collapse
-
#data_store ⇒ String
The name of the dataStore that this suggestion belongs to.
-
#document ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
Document captures all raw metadata information of items to be recommended or searched.
-
#person_type ⇒ String
The type of the person.
-
#suggestion ⇒ String
The suggestion for the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponsePersonSuggestion.
4041 4042 4043 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4041 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_store ⇒ String
The name of the dataStore that this suggestion belongs to.
Corresponds to the JSON property dataStore
4023 4024 4025 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4023 def data_store @data_store end |
#document ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument
Document captures all raw metadata information of items to be recommended or
searched.
Corresponds to the JSON property document
4029 4030 4031 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4029 def document @document end |
#person_type ⇒ String
The type of the person.
Corresponds to the JSON property personType
4034 4035 4036 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4034 def person_type @person_type end |
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
4039 4040 4041 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4039 def suggestion @suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4046 4047 4048 4049 4050 4051 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4046 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 |