Google Cloud Discovery Engine V1 Client - Class BatchGetDocumentsMetadataResponse (1.2.0)

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

Response message for DocumentService.BatchGetDocumentsMetadata method.

Generated from protobuf message google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ documents_metadata array<Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse\DocumentMetadata>

The metadata of the Documents.

getDocumentsMetadata

The metadata of the Documents.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDocumentsMetadata

The metadata of the Documents.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1\BatchGetDocumentsMetadataResponse\DocumentMetadata>
Returns
Type Description
$this