Class: Google::Cloud::Asset::V1::Tag

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/assets.rb

Overview

The key and value for a tag.

Instance Attribute Summary collapse

Instance Attribute Details

#tag_key::String

Returns 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}.



315
316
317
318
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 315

class Tag
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tag_key_id::String

Returns TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.

Returns:

  • (::String)

    TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.



315
316
317
318
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 315

class Tag
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tag_value::String

Returns 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}.



315
316
317
318
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 315

class Tag
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tag_value_id::String

Returns TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.

Returns:

  • (::String)

    TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.



315
316
317
318
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 315

class Tag
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end