Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo.
Chunk information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#chunk
def chunk() -> ::String
Returns
- (::String) — Chunk resource name.
#chunk=
def chunk=(value) -> ::String
Parameter
- value (::String) — Chunk resource name.
Returns
- (::String) — Chunk resource name.
#content
def content() -> ::String
Returns
- (::String) — Chunk textual content.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — Chunk textual content.
Returns
- (::String) — Chunk textual content.
#document_metadata
def document_metadata() -> ::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo::DocumentMetadata
Returns
- (::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo::DocumentMetadata) — Metadata of the document from the current chunk.
#document_metadata=
def document_metadata=(value) -> ::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo::DocumentMetadata
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo::DocumentMetadata) — Metadata of the document from the current chunk.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::ChunkInfo::DocumentMetadata) — Metadata of the document from the current chunk.