Class: Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig
- 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
Project and scan location information. Only set when the parent is an org.
Instance Attribute Summary collapse
-
#location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryStartingLocation
The location to begin a Discovery scan.
-
#project_id ⇒ String
The project that will run the scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2OrgConfig
constructor
A new instance of GooglePrivacyDlpV2OrgConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2OrgConfig
Returns a new instance of GooglePrivacyDlpV2OrgConfig.
5808 5809 5810 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryStartingLocation
The location to begin a Discovery scan. Denotes an organization ID or folder
ID within an organization.
Corresponds to the JSON property location
5799 5800 5801 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5799 def location @location end |
#project_id ⇒ String
The project that will run the scan. The DLP service account that exists within
this project must have access to all resources that are profiled, and the
Cloud DLP API must be enabled.
Corresponds to the JSON property projectId
5806 5807 5808 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5806 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5813 5814 5815 5816 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5813 def update!(**args) @location = args[:location] if args.key?(:location) @project_id = args[:project_id] if args.key?(:project_id) end |