Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccountRegex
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccountRegex
- 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
-
#account_id_regex ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2AwsAccountRegex
constructor
A new instance of GooglePrivacyDlpV2AwsAccountRegex.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_regex ⇒ String
Optional. Regex to test the AWS account ID against. If empty, all accounts
match.
Corresponds to the JSON property accountIdRegex
430 431 432 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 430 def account_id_regex @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 |