Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo (v1.0.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::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::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::DocumentContext>

#document_contexts=

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

#extractive_answers

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

#extractive_answers=

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

#extractive_segments

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

#extractive_segments=

def extractive_segments=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::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.