Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagValue

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

A value of a tag.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2TagValue

Returns a new instance of GooglePrivacyDlpV2TagValue.



9366
9367
9368
# File 'lib/google/apis/dlp_v2/classes.rb', line 9366

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

Instance Attribute Details

#namespaced_valueString

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

Returns:

  • (String)


9364
9365
9366
# File 'lib/google/apis/dlp_v2/classes.rb', line 9364

def namespaced_value
  @namespaced_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9371
9372
9373
# File 'lib/google/apis/dlp_v2/classes.rb', line 9371

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