Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion.
Suggestions as content.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content_type
def content_type() -> ::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion::ContentType
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion::ContentType) — The type of the content suggestion.
#content_type=
def content_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion::ContentType
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion::ContentType) — The type of the content suggestion.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::AdvancedCompleteQueryResponse::ContentSuggestion::ContentType) — The type of the content suggestion.
#data_store
def data_store() -> ::String
Returns
- (::String) — The name of the dataStore that this suggestion belongs to.
#data_store=
def data_store=(value) -> ::String
Parameter
- value (::String) — The name of the dataStore that this suggestion belongs to.
Returns
- (::String) — The name of the dataStore that this suggestion belongs to.
#document
def document() -> ::Google::Cloud::DiscoveryEngine::V1beta::Document
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Document) — The document data snippet in the suggestion. Only a subset of fields will be populated.
#document=
def document=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Document
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::Document) — The document data snippet in the suggestion. Only a subset of fields will be populated.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::Document) — The document data snippet in the suggestion. Only a subset of fields will be populated.
#suggestion
def suggestion() -> ::String
Returns
- (::String) — The suggestion for the query.
#suggestion=
def suggestion=(value) -> ::String
Parameter
- value (::String) — The suggestion for the query.
Returns
- (::String) — The suggestion for the query.