Data Loss Prevention V2 Client - Class DiscoverySchemaModifiedCadence (2.1.0)

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

The cadence at which to update data profiles when a schema is modified.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ types array

The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.

↳ frequency int

How frequently profiles may be updated when schemas are modified. Defaults to monthly.

getTypes

The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTypes

The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.

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

getFrequency

How frequently profiles may be updated when schemas are modified. Defaults to monthly.

Returns
Type Description
int

setFrequency

How frequently profiles may be updated when schemas are modified. Defaults to monthly.

Parameter
Name Description
var int
Returns
Type Description
$this