Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::AmazonS3BucketRegex.
Amazon S3 bucket regex.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aws_account_regex
def aws_account_regex() -> ::Google::Cloud::Dlp::V2::AwsAccountRegex
Returns
- (::Google::Cloud::Dlp::V2::AwsAccountRegex) — The AWS account regex.
#aws_account_regex=
def aws_account_regex=(value) -> ::Google::Cloud::Dlp::V2::AwsAccountRegex
Parameter
- value (::Google::Cloud::Dlp::V2::AwsAccountRegex) — The AWS account regex.
Returns
- (::Google::Cloud::Dlp::V2::AwsAccountRegex) — The AWS account regex.
#bucket_name_regex
def bucket_name_regex() -> ::String
Returns
- (::String) — Optional. Regex to test the bucket name against. If empty, all buckets match.
#bucket_name_regex=
def bucket_name_regex=(value) -> ::String
Parameter
- value (::String) — Optional. Regex to test the bucket name against. If empty, all buckets match.
Returns
- (::String) — Optional. Regex to test the bucket name against. If empty, all buckets match.