Skip to content

Commit 3467801

Browse files
feat: Automated regeneration of cloudresourcemanager v3 client (#24957)
Auto-created at 2025-11-16 09:27:12 +0000 using the toys pull request generator.
1 parent 53eae3e commit 3467801

File tree

6 files changed

+23
-7
lines changed

6 files changed

+23
-7
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81671,6 +81671,7 @@
8167181671
"/cloudresourcemanager:v3/TagHold/name": name
8167281672
"/cloudresourcemanager:v3/TagHold/origin": origin
8167381673
"/cloudresourcemanager:v3/TagKey": tag_key
81674+
"/cloudresourcemanager:v3/TagKey/allowedValuesRegex": allowed_values_regex
8167481675
"/cloudresourcemanager:v3/TagKey/createTime": create_time
8167581676
"/cloudresourcemanager:v3/TagKey/description": description
8167681677
"/cloudresourcemanager:v3/TagKey/etag": etag

generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md

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

3+
### v0.60.0 (2025-11-16)
4+
5+
* Regenerated from discovery document revision 20251103
6+
37
### v0.59.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250606

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,8 +1120,7 @@ class ListTagValuesResponse
11201120
include Google::Apis::Core::Hashable
11211121

11221122
# A pagination token returned from a previous call to `ListTagValues` that
1123-
# indicates from where listing should continue. This is currently not used, but
1124-
# the server may at any point start supplying a valid token.
1123+
# indicates from where listing should continue.
11251124
# Corresponds to the JSON property `nextPageToken`
11261125
# @return [String]
11271126
attr_accessor :next_page_token
@@ -1924,6 +1923,12 @@ def update!(**args)
19241923
class TagKey
19251924
include Google::Apis::Core::Hashable
19261925

1926+
# Optional. Regular expression constraint for freeform tag values. If present,
1927+
# it implicitly allows freeform values (constrained by the regex).
1928+
# Corresponds to the JSON property `allowedValuesRegex`
1929+
# @return [String]
1930+
attr_accessor :allowed_values_regex
1931+
19271932
# Output only. Creation time.
19281933
# Corresponds to the JSON property `createTime`
19291934
# @return [String]
@@ -1997,6 +2002,7 @@ def initialize(**args)
19972002

19982003
# Update properties of this object
19992004
def update!(**args)
2005+
@allowed_values_regex = args[:allowed_values_regex] if args.key?(:allowed_values_regex)
20002006
@create_time = args[:create_time] if args.key?(:create_time)
20012007
@description = args[:description] if args.key?(:description)
20022008
@etag = args[:etag] if args.key?(:etag)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module CloudresourcemanagerV3
1818
# Version of the google-apis-cloudresourcemanager_v3 gem
19-
GEM_VERSION = "0.59.0"
19+
GEM_VERSION = "0.60.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
881881
class TagKey
882882
# @private
883883
class Representation < Google::Apis::Core::JsonRepresentation
884+
property :allowed_values_regex, as: 'allowedValuesRegex'
884885
property :create_time, as: 'createTime'
885886
property :description, as: 'description'
886887
property :etag, as: 'etag'

generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/service.rb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -845,14 +845,17 @@ def get_location_tag_binding_collection(name, fields: nil, quota_user: nil, opti
845845
execute_or_queue_command(command, &block)
846846
end
847847

848-
# Updates tag bindings directly attached to a GCP resource.
848+
# Updates tag bindings directly attached to a GCP resource. Update_mask can be
849+
# kept empty or "*".
849850
# @param [String] name
850851
# Identifier. The name of the TagBindingCollection, following the convention: `
851852
# locations/`location`/tagBindingCollections/`encoded-full-resource-name`` where
852853
# the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource
853854
# the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%
854855
# 2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
855856
# @param [Google::Apis::CloudresourcemanagerV3::TagBindingCollection] tag_binding_collection_object
857+
# @param [String] update_mask
858+
# Optional. An update mask to selectively update fields.
856859
# @param [String] fields
857860
# Selector specifying which fields to include in a partial response.
858861
# @param [String] quota_user
@@ -870,13 +873,14 @@ def get_location_tag_binding_collection(name, fields: nil, quota_user: nil, opti
870873
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
871874
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
872875
# @raise [Google::Apis::AuthorizationError] Authorization is required
873-
def update_location_tag_binding_collection(name, tag_binding_collection_object = nil, fields: nil, quota_user: nil, options: nil, &block)
874-
command = make_simple_command(:put, 'v3/{+name}', options)
876+
def patch_location_tag_binding_collection(name, tag_binding_collection_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
877+
command = make_simple_command(:patch, 'v3/{+name}', options)
875878
command.request_representation = Google::Apis::CloudresourcemanagerV3::TagBindingCollection::Representation
876879
command.request_object = tag_binding_collection_object
877880
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
878881
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
879882
command.params['name'] = name unless name.nil?
883+
command.query['updateMask'] = update_mask unless update_mask.nil?
880884
command.query['fields'] = fields unless fields.nil?
881885
command.query['quotaUser'] = quota_user unless quota_user.nil?
882886
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)