Data Loss Prevention V2 Client - Class DiscoveryOtherCloudConditions (2.2.2)

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 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
AmazonS3BucketConditions|null

hasAmazonS3BucketConditions

setAmazonS3BucketConditions

Amazon S3 bucket conditions.

Parameter
Name Description
var AmazonS3BucketConditions
Returns
Type Description
$this

getConditions

Returns
Type Description
string