Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccount

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2AwsAccount

Returns a new instance of GooglePrivacyDlpV2AwsAccount.



412
413
414
# File 'lib/google/apis/dlp_v2/classes.rb', line 412

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

Instance Attribute Details

#account_idString

Required. AWS account ID. Corresponds to the JSON property accountId

Returns:

  • (String)


410
411
412
# File 'lib/google/apis/dlp_v2/classes.rb', line 410

def 
  @account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



417
418
419
# File 'lib/google/apis/dlp_v2/classes.rb', line 417

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