Skip to content

Commit 02838cf

Browse files
Google APIscopybara-github
authored andcommitted
feat: update secret manager protos for tags
Clients can use use tags on secret manager to manage access to the resources(secret) PiperOrigin-RevId: 767419371
1 parent de157ca commit 02838cf

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

google/cloud/secretmanager/v1/resources.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,20 @@ message Secret {
161161
// [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
162162
CustomerManagedEncryption customer_managed_encryption = 15
163163
[(google.api.field_behavior) = OPTIONAL];
164+
165+
// Optional. Input only. Immutable. Mapping of Tag keys/values directly bound
166+
// to this resource. For example:
167+
// "123/environment": "production",
168+
// "123/costCenter": "marketing"
169+
//
170+
// Tags are used to organize and group resources.
171+
//
172+
// Tags can be used to control policy evaluation for the resource.
173+
map<string, string> tags = 16 [
174+
(google.api.field_behavior) = INPUT_ONLY,
175+
(google.api.field_behavior) = IMMUTABLE,
176+
(google.api.field_behavior) = OPTIONAL
177+
];
164178
}
165179

166180
// A secret version resource in the Secret Manager API.

0 commit comments

Comments
 (0)