Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::Tag.
The key and value for a tag.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#tag_key
def tag_key() -> ::String
Returns
- (::String) — TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
#tag_key=
def tag_key=(value) -> ::String
Parameter
- value (::String) — TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
Returns
- (::String) — TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
#tag_key_id
def tag_key_id() -> ::String
Returns
- (::String) — TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
#tag_key_id=
def tag_key_id=(value) -> ::String
Parameter
- value (::String) — TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
Returns
- (::String) — TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
#tag_value
def tag_value() -> ::String
Returns
- (::String) — TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
#tag_value=
def tag_value=(value) -> ::String
Parameter
- value (::String) — TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
Returns
- (::String) — TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
#tag_value_id
def tag_value_id() -> ::String
Returns
- (::String) — TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
#tag_value_id=
def tag_value_id=(value) -> ::String
Parameter
- value (::String) — TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
Returns
- (::String) — TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.