Data Loss Prevention V2 Client - Class DiscoverySchemaModifiedCadence (1.12.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
NameDescription
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
TypeDescription
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
NameDescription
var int[]
Returns
TypeDescription
$this

getFrequency

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

Returns
TypeDescription
int

setFrequency

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this