Reference documentation and code samples for the Google Cloud Asset V1 Client class Tag.
The key and value for a tag ,
Generated from protobuf message google.cloud.asset.v1.Tag
Namespace
Google \ Cloud \ Asset \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tag_key
string
TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
↳ tag_value
string
TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
↳ tag_value_id
string
TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
getTagKey
TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
string
hasTagKey
clearTagKey
setTagKey
TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
var
string
$this
getTagValue
TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
string
hasTagValue
clearTagValue
setTagValue
TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
var
string
$this
getTagValueId
TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
string
hasTagValueId
clearTagValueId
setTagValueId
TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
var
string
$this