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.
9881 9882 9883 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9881 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
9863 9864 9865 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9863 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
9869 9870 9871 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9869 def document @document end |
#person_type ⇒ String
The type of the person.
Corresponds to the JSON property personType
9874 9875 9876 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9874 def person_type @person_type end |
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
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 |