[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Asset V1 Client - Class Tag (2.2.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.3 (latest)](/php/docs/reference/cloud-asset/latest/V1.Tag)\n- [2.2.2](/php/docs/reference/cloud-asset/2.2.2/V1.Tag)\n- [2.1.3](/php/docs/reference/cloud-asset/2.1.3/V1.Tag)\n- [2.0.1](/php/docs/reference/cloud-asset/2.0.1/V1.Tag)\n- [1.16.4](/php/docs/reference/cloud-asset/1.16.4/V1.Tag)\n- [1.14.1](/php/docs/reference/cloud-asset/1.14.1/V1.Tag)\n- [1.13.2](/php/docs/reference/cloud-asset/1.13.2/V1.Tag)\n- [1.12.2](/php/docs/reference/cloud-asset/1.12.2/V1.Tag)\n- [1.11.3](/php/docs/reference/cloud-asset/1.11.3/V1.Tag)\n- [1.10.2](/php/docs/reference/cloud-asset/1.10.2/V1.Tag)\n- [1.9.2](/php/docs/reference/cloud-asset/1.9.2/V1.Tag) \nReference documentation and code samples for the Google Cloud Asset V1 Client class Tag.\n\nThe key and value for a\n[tag](https://cloud.google.com/resource-manager/docs/tags/tags-overview).\n\nGenerated from protobuf message `google.cloud.asset.v1.Tag`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Asset \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTagKey\n\nTagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.\n\n### hasTagKey\n\n### clearTagKey\n\n### setTagKey\n\nTagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.\n\n### getTagKeyId\n\nTagKey ID, in the format of tagKeys/{TAG_KEY_ID}.\n\n### hasTagKeyId\n\n### clearTagKeyId\n\n### setTagKeyId\n\nTagKey ID, in the format of tagKeys/{TAG_KEY_ID}.\n\n### getTagValue\n\nTagValue namespaced name, in the format of\n{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.\n\n### hasTagValue\n\n### clearTagValue\n\n### setTagValue\n\nTagValue namespaced name, in the format of\n{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.\n\n### getTagValueId\n\nTagValue ID, in the format of tagValues/{TAG_VALUE_ID}.\n\n### hasTagValueId\n\n### clearTagValueId\n\n### setTagValueId\n\nTagValue ID, in the format of tagValues/{TAG_VALUE_ID}."]]