Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion
- 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
-
#data_store ⇒ String
The name of the dataStore that this suggestion belongs to.
-
#document ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument
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) ⇒ GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_store ⇒ String
The name of the dataStore that this suggestion belongs to.
Corresponds to the JSON property dataStore
9947 9948 9949 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9947 def data_store @data_store end |
#document ⇒ Google::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_type ⇒ String
The type of the person.
Corresponds to the JSON property personType
9958 9959 9960 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9958 def person_type @person_type end |
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
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 |