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

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

Document context.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — Document content to be used for answer generation.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — Document content to be used for answer generation.
Returns
  • (::String) — Document content to be used for answer generation.

#page_identifier

def page_identifier() -> ::String
Returns
  • (::String) — Page identifier.

#page_identifier=

def page_identifier=(value) -> ::String
Parameter
  • value (::String) — Page identifier.
Returns
  • (::String) — Page identifier.