Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion
- 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 content.
Instance Attribute Summary collapse
-
#content_type ⇒ String
The type of the content suggestion.
-
#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.
-
#suggestion ⇒ String
The suggestion for the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseContentSuggestion.
4003 4004 4005 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_type ⇒ String
The type of the content suggestion.
Corresponds to the JSON property contentType
3985 3986 3987 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3985 def content_type @content_type end |
#data_store ⇒ String
The name of the dataStore that this suggestion belongs to.
Corresponds to the JSON property dataStore
3990 3991 3992 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3990 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
3996 3997 3998 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3996 def document @document end |
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
4001 4002 4003 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4001 def suggestion @suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4008 4009 4010 4011 4012 4013 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4008 def update!(**args) @content_type = args[:content_type] if args.key?(:content_type) @data_store = args[:data_store] if args.key?(:data_store) @document = args[:document] if args.key?(:document) @suggestion = args[:suggestion] if args.key?(:suggestion) end |