Google Cloud Discovery Engine V1 Client - Class PurgeDocumentsRequest (0.4.0)

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

Request message for DocumentService.PurgeDocuments method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

↳ filter string

Required. Filter matching documents to purge. Only currently supported value is * (all items).

↳ force bool

Actually performs the purge. If force is set to false, return the expected purge count without deleting any documents.

getParent

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

Returns
TypeDescription
string

setParent

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Required. Filter matching documents to purge. Only currently supported value is * (all items).

Returns
TypeDescription
string

setFilter

Required. Filter matching documents to purge. Only currently supported value is * (all items).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getForce

Actually performs the purge. If force is set to false, return the expected purge count without deleting any documents.

Returns
TypeDescription
bool

setForce

Actually performs the purge. If force is set to false, return the expected purge count without deleting any documents.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this