Class: Google::Cloud::Dlp::V2::Tag
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::Tag
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
A tag associated with a resource.
Instance Attribute Summary collapse
-
#key ⇒ ::String
The key of a tag key-value pair.
-
#namespaced_tag_value ⇒ ::String
The namespaced name for the tag value to attach to Google Cloud resources.
-
#value ⇒ ::String
The value of a tag key-value pair.
Instance Attribute Details
#key ⇒ ::String
Returns The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, "tagKeys/123456".
7377 7378 7379 7380 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7377 class Tag include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#namespaced_tag_value ⇒ ::String
Returns The namespaced name for the tag value to attach to Google Cloud resources.
Must be in the format {parent_id}/{tag_key_short_name}/{short_name}
, for
example, "123456/environment/prod". This is only set for Google Cloud
resources.
7377 7378 7379 7380 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7377 class Tag include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::String
Returns The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, "tagValues/123456".
7377 7378 7379 7380 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7377 class Tag include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |