Data Loss Prevention V2 Client - Class DatastoreOptions (2.2.0)

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
Name Description
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
Type Description
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
Name Description
var Google\Cloud\Dlp\V2\PartitionId
Returns
Type Description
$this

getKind

The kind to process.

Returns
Type Description
Google\Cloud\Dlp\V2\KindExpression|null

hasKind

clearKind

setKind

The kind to process.

Parameter
Name Description
var Google\Cloud\Dlp\V2\KindExpression
Returns
Type Description
$this