Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo (v0.16.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo.

Unstructured document information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document

def document() -> ::String
Returns
  • (::String) — Document resource name.

#document=

def document=(value) -> ::String
Parameter
  • value (::String) — Document resource name.
Returns
  • (::String) — Document resource name.

#document_contexts

def document_contexts() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::DocumentContext>
Returns

#document_contexts=

def document_contexts=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::DocumentContext>
Parameter
Returns

#extractive_answers

def extractive_answers() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::ExtractiveAnswer>
Returns

#extractive_answers=

def extractive_answers=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::ExtractiveAnswer>
Parameter
Returns

#extractive_segments

def extractive_segments() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::ExtractiveSegment>

#extractive_segments=

def extractive_segments=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::ExtractiveSegment>

#title

def title() -> ::String
Returns
  • (::String) — Title.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — Title.
Returns
  • (::String) — Title.

#uri

def uri() -> ::String
Returns
  • (::String) — URI for the document.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — URI for the document.
Returns
  • (::String) — URI for the document.