Data Loss Prevention V2 Client - Class DiscoveryCloudSqlConditions (2.2.1)

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

Requirements that must be true before a table is profiled for the first time.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ database_engines array

Optional. Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

↳ types array

Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].

getDatabaseEngines

Optional. Database engines that should be profiled.

Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDatabaseEngines

Optional. Database engines that should be profiled.

Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.

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

getTypes

Data profiles will only be generated for the database resource types specified in this field.

If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTypes

Data profiles will only be generated for the database resource types specified in this field.

If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].

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