Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccountRegex

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

AWS account regex.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2AwsAccountRegex

Returns a new instance of GooglePrivacyDlpV2AwsAccountRegex.



432
433
434
# File 'lib/google/apis/dlp_v2/classes.rb', line 432

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_id_regexString

Optional. Regex to test the AWS account ID against. If empty, all accounts match. Corresponds to the JSON property accountIdRegex

Returns:

  • (String)


430
431
432
# File 'lib/google/apis/dlp_v2/classes.rb', line 430

def 
  @account_id_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



437
438
439
# File 'lib/google/apis/dlp_v2/classes.rb', line 437

def update!(**args)
  @account_id_regex = args[:account_id_regex] if args.key?(:account_id_regex)
end