Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryStartingLocation
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryStartingLocation
- 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 location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.
Instance Attribute Summary collapse
-
#folder_id ⇒ Fixnum
The ID of the folder within an organization to be scanned.
-
#organization_id ⇒ Fixnum
The ID of an organization to scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryStartingLocation
constructor
A new instance of GooglePrivacyDlpV2DiscoveryStartingLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryStartingLocation
Returns a new instance of GooglePrivacyDlpV2DiscoveryStartingLocation.
4104 4105 4106 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#folder_id ⇒ Fixnum
The ID of the folder within an organization to be scanned.
Corresponds to the JSON property folderId
4097 4098 4099 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4097 def folder_id @folder_id end |
#organization_id ⇒ Fixnum
The ID of an organization to scan.
Corresponds to the JSON property organizationId
4102 4103 4104 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4102 def organization_id @organization_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4109 4110 4111 4112 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4109 def update!(**args) @folder_id = args[:folder_id] if args.key?(:folder_id) @organization_id = args[:organization_id] if args.key?(:organization_id) end |