Google Cloud Discovery Engine V1beta Client - Class Reference (0.11.2)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class Reference.

Document reference.

Generated from protobuf message google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ SearchResponse \ Summary

Methods

__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 projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*.

↳ uri string

Cloud Storage or HTTP uri for the document.

↳ chunk_contents array<Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\Summary\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<Google\Cloud\DiscoveryEngine\V1beta\SearchResponse\Summary\Reference\ChunkContent>
Returns
Type Description
$this