Class: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsDiscoveryStartingLocation

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

The AWS starting location for discovery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2AwsDiscoveryStartingLocation

Returns a new instance of GooglePrivacyDlpV2AwsDiscoveryStartingLocation.



461
462
463
# File 'lib/google/apis/dlp_v2/classes.rb', line 461

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

Instance Attribute Details

#account_idString

The AWS account ID that this discovery config applies to. Within an AWS organization, you can find the AWS account ID inside an AWS account ARN. Example: arn:partition:organizations::management_account_id:account/ org_id/account_id Corresponds to the JSON property accountId

Returns:

  • (String)


452
453
454
# File 'lib/google/apis/dlp_v2/classes.rb', line 452

def 
  @account_id
end

#all_asset_inventory_assetsBoolean Also known as: all_asset_inventory_assets?

All AWS assets stored in Asset Inventory that didn't match other AWS discovery configs. Corresponds to the JSON property allAssetInventoryAssets

Returns:

  • (Boolean)


458
459
460
# File 'lib/google/apis/dlp_v2/classes.rb', line 458

def all_asset_inventory_assets
  @all_asset_inventory_assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



466
467
468
469
# File 'lib/google/apis/dlp_v2/classes.rb', line 466

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