Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference.
Document reference.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#chunk_contents
def chunk_contents() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent>) — List of cited chunk contents derived from document content.
#chunk_contents=
def chunk_contents=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent>) — List of cited chunk contents derived from document content.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent>) — List of cited chunk contents derived from document content.
#document
def document() -> ::String
Returns
-
(::String) — Required.
Document.name of the
document. Full resource name of the referenced document, in the format
projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*
.
#document=
def document=(value) -> ::String
Parameter
-
value (::String) — Required.
Document.name of the
document. Full resource name of the referenced document, in the format
projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*
.
Returns
-
(::String) — Required.
Document.name of the
document. Full resource name of the referenced document, in the format
projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*
.
#title
def title() -> ::String
Returns
- (::String) — Title of the document.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Title of the document.
Returns
- (::String) — Title of the document.
#uri
def uri() -> ::String
Returns
- (::String) — Cloud Storage or HTTP uri for the document.
#uri=
def uri=(value) -> ::String
Parameter
- value (::String) — Cloud Storage or HTTP uri for the document.
Returns
- (::String) — Cloud Storage or HTTP uri for the document.