Google Cloud Discovery Engine V1 Client - Class Reference (0.11.3)

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

Reference.

Generated from protobuf message google.cloud.discoveryengine.v1.Answer.Reference

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Answer

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ unstructured_document_info Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo

Unstructured document information.

↳ chunk_info Google\Cloud\DiscoveryEngine\V1\Answer\Reference\ChunkInfo

Chunk information.

getUnstructuredDocumentInfo

Unstructured document information.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo|null

hasUnstructuredDocumentInfo

setUnstructuredDocumentInfo

Unstructured document information.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\Answer\Reference\UnstructuredDocumentInfo
Returns
Type Description
$this

getChunkInfo

Chunk information.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\Answer\Reference\ChunkInfo|null

hasChunkInfo

setChunkInfo

Chunk information.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\Answer\Reference\ChunkInfo
Returns
Type Description
$this

getContent

Returns
Type Description
string