Skip to content

Commit

Permalink
feat: add tag key id support
Browse files Browse the repository at this point in the history
docs: add tagKeyIds example for ResourceSearchResult.tags

PiperOrigin-RevId: 619997195
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 28, 2024
1 parent 8fe68cf commit a585563
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions google/cloud/asset/v1/assets.proto
Expand Up @@ -309,6 +309,9 @@ message Tag {
// TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
optional string tag_key = 1;

// TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
optional string tag_key_id = 2;

// TagValue namespaced name, in the format of
// {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
optional string tag_value = 3;
Expand Down Expand Up @@ -639,6 +642,7 @@ message ResourceSearchResult {
// - `tagKeys:"123456789/env*"`
// - `tagKeys="123456789/env"`
// - `tagKeys:"env"`
// - `tagKeyIds="tagKeys/123"`
// - `tagValues:"env"`
// - `tagValues:"env/prod"`
// - `tagValues:"123456789/env/prod*"`
Expand All @@ -660,6 +664,7 @@ message ResourceSearchResult {
// - `effectiveTagKeys:"123456789/env*"`
// - `effectiveTagKeys="123456789/env"`
// - `effectiveTagKeys:"env"`
// - `effectiveTagKeyIds="tagKeys/123"`
// - `effectiveTagValues:"env"`
// - `effectiveTagValues:"env/prod"`
// - `effectiveTagValues:"123456789/env/prod*"`
Expand Down

0 comments on commit a585563

Please sign in to comment.