Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagValue
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2TagValue
- 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
A value of a tag.
Instance Attribute Summary collapse
-
#namespaced_value ⇒ String
The namespaced name for the tag value to attach to resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2TagValue
constructor
A new instance of GooglePrivacyDlpV2TagValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2TagValue
Returns a new instance of GooglePrivacyDlpV2TagValue.
9827 9828 9829 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9827 def initialize(**args) update!(**args) end |
Instance Attribute Details
#namespaced_value ⇒ String
The namespaced name for the tag value to attach to resources. Must be in the
format parent_id`/`tag_key_short_name`/`short_name
, for example, "123456/
environment/prod".
Corresponds to the JSON property namespacedValue
9825 9826 9827 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9825 def namespaced_value @namespaced_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9832 9833 9834 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9832 def update!(**args) @namespaced_value = args[:namespaced_value] if args.key?(:namespaced_value) end |