Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec.
The specification that configs the desired behavior of the UCS content search.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#snippet_spec
def snippet_spec() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SnippetSpec
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SnippetSpec) — If there is no snippet spec provided, there will be no snippet in the search result.
#snippet_spec=
def snippet_spec=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SnippetSpec
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SnippetSpec) — If there is no snippet spec provided, there will be no snippet in the search result.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SnippetSpec) — If there is no snippet spec provided, there will be no snippet in the search result.
#summary_spec
def summary_spec() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec) — If there is no summary spec provided, there will be no summary in the search response.
#summary_spec=
def summary_spec=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec) — If there is no summary spec provided, there will be no summary in the search response.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec) — If there is no summary spec provided, there will be no summary in the search response.