Data Loss Prevention V2 Client - Class DatastoreOptions (1.10.2)

Reference documentation and code samples for the Data Loss Prevention V2 Client class DatastoreOptions.

Options defining a data set within Google Cloud Datastore.

Generated from protobuf message google.privacy.dlp.v2.DatastoreOptions

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ partition_id Google\Cloud\Dlp\V2\PartitionId

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

↳ kind Google\Cloud\Dlp\V2\KindExpression

The kind to process.

getPartitionId

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

Returns
TypeDescription
Google\Cloud\Dlp\V2\PartitionId|null

hasPartitionId

clearPartitionId

setPartitionId

A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\PartitionId
Returns
TypeDescription
$this

getKind

The kind to process.

Returns
TypeDescription
Google\Cloud\Dlp\V2\KindExpression|null

hasKind

clearKind

setKind

The kind to process.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\KindExpression
Returns
TypeDescription
$this