Class: Google::Apis::DlpV2::GooglePrivacyDlpV2LocationSupport
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2LocationSupport
- 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
Locations at which a feature can be used.
Instance Attribute Summary collapse
-
#locations ⇒ Array<String>
Specific locations where the feature may be used.
-
#regionalization_scope ⇒ String
The current scope for location on this feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2LocationSupport
constructor
A new instance of GooglePrivacyDlpV2LocationSupport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2LocationSupport
Returns a new instance of GooglePrivacyDlpV2LocationSupport.
7634 7635 7636 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7634 def initialize(**args) update!(**args) end |
Instance Attribute Details
#locations ⇒ Array<String>
Specific locations where the feature may be used. Examples: us-central1, us,
asia, global If scope is ANY_LOCATION, no regions will be listed.
Corresponds to the JSON property locations
7627 7628 7629 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7627 def locations @locations end |
#regionalization_scope ⇒ String
The current scope for location on this feature. This may expand over time.
Corresponds to the JSON property regionalizationScope
7632 7633 7634 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7632 def regionalization_scope @regionalization_scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7639 7640 7641 7642 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7639 def update!(**args) @locations = args[:locations] if args.key?(:locations) @regionalization_scope = args[:regionalization_scope] if args.key?(:regionalization_scope) end |