Google Cloud Discovery Engine V1 Client - Class InlineSource (1.1.0)

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

The inline source for the input config for DocumentService.PurgeDocuments method.

Generated from protobuf message google.cloud.discoveryengine.v1.PurgeDocumentsRequest.InlineSource

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ PurgeDocumentsRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ documents array

Required. A list of full resource name of documents to purge. In the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*. Recommended max of 100 items.

getDocuments

Required. A list of full resource name of documents to purge. In the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*.

Recommended max of 100 items.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDocuments

Required. A list of full resource name of documents to purge. In the format projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*.

Recommended max of 100 items.

Parameter
Name Description
var string[]
Returns
Type Description
$this