Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Reference.
Document reference.
Generated from protobuf message google.cloud.discoveryengine.v1.SearchResponse.Summary.Reference
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SearchResponse \ SummaryMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ title |
string
Title of the document. |
↳ document |
string
Required. Document.name of the document. Full resource name of the referenced document, in the format |
↳ uri |
string
Cloud Storage or HTTP uri for the document. |
↳ chunk_contents |
array<Reference\ChunkContent>
List of cited chunk contents derived from document content. |
getTitle
Title of the document.
Returns | |
---|---|
Type | Description |
string |
setTitle
Title of the document.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDocument
Required.
Document.name of the
document. Full resource name of the referenced document, in the format
projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*
.
Returns | |
---|---|
Type | Description |
string |
setDocument
Required.
Document.name of the
document. Full resource name of the referenced document, in the format
projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUri
Cloud Storage or HTTP uri for the document.
Returns | |
---|---|
Type | Description |
string |
setUri
Cloud Storage or HTTP uri for the document.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getChunkContents
List of cited chunk contents derived from document content.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setChunkContents
List of cited chunk contents derived from document content.
Parameter | |
---|---|
Name | Description |
var |
array<Reference\ChunkContent>
|
Returns | |
---|---|
Type | Description |
$this |