Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,18 @@ class Secret(proto.Message):
added afterwards. They do not apply retroactively to
existing
[SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
tags (MutableMapping[str, str]):
Optional. Input only. Immutable. Mapping of
Tag keys/values directly bound to this resource.
For example:

"123/environment": "production",
"123/costCenter": "marketing"

Tags are used to organize and group resources.

Tags can be used to control policy evaluation
for the resource.
"""

name: str = proto.Field(
Expand Down Expand Up @@ -222,6 +234,11 @@ class Secret(proto.Message):
number=15,
message="CustomerManagedEncryption",
)
tags: MutableMapping[str, str] = proto.MapField(
proto.STRING,
proto.STRING,
number=16,
)


class SecretVersion(proto.Message):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10302,6 +10302,7 @@ def test_create_secret_rest_call_success(request_type):
"annotations": {},
"version_destroy_ttl": {},
"customer_managed_encryption": {},
"tags": {},
}
# The version of a generated dependency at test runtime may differ from the version used during generation.
# Delete any fields which are not present in the current runtime dependency
Expand Down Expand Up @@ -10778,6 +10779,7 @@ def test_update_secret_rest_call_success(request_type):
"annotations": {},
"version_destroy_ttl": {},
"customer_managed_encryption": {},
"tags": {},
}
# The version of a generated dependency at test runtime may differ from the version used during generation.
# Delete any fields which are not present in the current runtime dependency
Expand Down
Loading