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 \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ types | arrayThe 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 | intHow 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 | Enum of type DataProfileUpdateFrequency. | 
setFrequency
How frequently profiles may be updated when schemas are modified. Defaults to monthly.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type DataProfileUpdateFrequency. | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |