Skip to content

Commit f7f26e8

Browse files
feat: Automated regeneration of secretmanager v1beta2 client (googleapis#23571)
Auto-created at 2025-06-29 10:21:49 +0000 using the toys pull request generator.
1 parent 15492a4 commit f7f26e8

File tree

5 files changed

+20
-3
lines changed

5 files changed

+20
-3
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326705,6 +326705,8 @@
326705326705
"/secretmanager:v1beta2/Secret/name": name
326706326706
"/secretmanager:v1beta2/Secret/replication": replication
326707326707
"/secretmanager:v1beta2/Secret/rotation": rotation
326708+
"/secretmanager:v1beta2/Secret/tags": tags
326709+
"/secretmanager:v1beta2/Secret/tags/tag": tag
326708326710
"/secretmanager:v1beta2/Secret/topics": topics
326709326711
"/secretmanager:v1beta2/Secret/topics/topic": topic
326710326712
"/secretmanager:v1beta2/Secret/ttl": ttl

generated/google-apis-secretmanager_v1beta2/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-secretmanager_v1beta2
22

3+
### v0.6.0 (2025-06-29)
4+
5+
* Regenerated from discovery document revision 20250624
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.5.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-secretmanager_v1beta2/lib/google/apis/secretmanager_v1beta2/classes.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,14 @@ class Secret
900900
# @return [Google::Apis::SecretmanagerV1beta2::Rotation]
901901
attr_accessor :rotation
902902

903+
# Optional. Input only. Immutable. Mapping of Tag keys/values directly bound to
904+
# this resource. For example: "123/environment": "production", "123/costCenter":
905+
# "marketing" Tags are used to organize and group resources. Tags can be used to
906+
# control policy evaluation for the resource.
907+
# Corresponds to the JSON property `tags`
908+
# @return [Hash<String,String>]
909+
attr_accessor :tags
910+
903911
# Optional. A list of up to 10 Pub/Sub topics to which messages are published
904912
# when control plane operations are called on the secret or its versions.
905913
# Corresponds to the JSON property `topics`
@@ -946,6 +954,7 @@ def update!(**args)
946954
@name = args[:name] if args.key?(:name)
947955
@replication = args[:replication] if args.key?(:replication)
948956
@rotation = args[:rotation] if args.key?(:rotation)
957+
@tags = args[:tags] if args.key?(:tags)
949958
@topics = args[:topics] if args.key?(:topics)
950959
@ttl = args[:ttl] if args.key?(:ttl)
951960
@version_aliases = args[:version_aliases] if args.key?(:version_aliases)

generated/google-apis-secretmanager_v1beta2/lib/google/apis/secretmanager_v1beta2/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SecretmanagerV1beta2
1818
# Version of the google-apis-secretmanager_v1beta2 gem
19-
GEM_VERSION = "0.5.0"
19+
GEM_VERSION = "0.6.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250324"
25+
REVISION = "20250624"
2626
end
2727
end
2828
end

generated/google-apis-secretmanager_v1beta2/lib/google/apis/secretmanager_v1beta2/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
444444

445445
property :rotation, as: 'rotation', class: Google::Apis::SecretmanagerV1beta2::Rotation, decorator: Google::Apis::SecretmanagerV1beta2::Rotation::Representation
446446

447+
hash :tags, as: 'tags'
447448
collection :topics, as: 'topics', class: Google::Apis::SecretmanagerV1beta2::Topic, decorator: Google::Apis::SecretmanagerV1beta2::Topic::Representation
448449

449450
property :ttl, as: 'ttl'

0 commit comments

Comments
 (0)