Data Loss Prevention V2 Client - Class DiscoveryOtherCloudConditions (2.1.0)

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

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

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ min_age Google\Protobuf\Duration

Minimum age a resource must be before Cloud DLP can profile it. Value must be 1 hour or greater.

↳ amazon_s3_bucket_conditions Google\Cloud\Dlp\V2\AmazonS3BucketConditions

Amazon S3 bucket conditions.

getMinAge

Minimum age a resource must be before Cloud DLP can profile it. Value must be 1 hour or greater.

Returns
Type Description
Google\Protobuf\Duration|null

hasMinAge

clearMinAge

setMinAge

Minimum age a resource must be before Cloud DLP can profile it. Value must be 1 hour or greater.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getAmazonS3BucketConditions

Amazon S3 bucket conditions.

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

hasAmazonS3BucketConditions

setAmazonS3BucketConditions

Amazon S3 bucket conditions.

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

getConditions

Returns
Type Description
string