Skip to content

Commit a585563

Browse files
Google APIscopybara-github
authored andcommitted
feat: add tag key id support
docs: add tagKeyIds example for ResourceSearchResult.tags PiperOrigin-RevId: 619997195
1 parent 8fe68cf commit a585563

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

google/cloud/asset/v1/assets.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,9 @@ message Tag {
309309
// TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
310310
optional string tag_key = 1;
311311

312+
// TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
313+
optional string tag_key_id = 2;
314+
312315
// TagValue namespaced name, in the format of
313316
// {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
314317
optional string tag_value = 3;
@@ -639,6 +642,7 @@ message ResourceSearchResult {
639642
// - `tagKeys:"123456789/env*"`
640643
// - `tagKeys="123456789/env"`
641644
// - `tagKeys:"env"`
645+
// - `tagKeyIds="tagKeys/123"`
642646
// - `tagValues:"env"`
643647
// - `tagValues:"env/prod"`
644648
// - `tagValues:"123456789/env/prod*"`
@@ -660,6 +664,7 @@ message ResourceSearchResult {
660664
// - `effectiveTagKeys:"123456789/env*"`
661665
// - `effectiveTagKeys="123456789/env"`
662666
// - `effectiveTagKeys:"env"`
667+
// - `effectiveTagKeyIds="tagKeys/123"`
663668
// - `effectiveTagValues:"env"`
664669
// - `effectiveTagValues:"env/prod"`
665670
// - `effectiveTagValues:"123456789/env/prod*"`

0 commit comments

Comments
 (0)