diff --git a/api_names_out.yaml b/api_names_out.yaml index 991f81d4ec5..97898a613f6 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -81612,6 +81612,7 @@ "/cloudresourcemanager:v3/TagHold/name": name "/cloudresourcemanager:v3/TagHold/origin": origin "/cloudresourcemanager:v3/TagKey": tag_key +"/cloudresourcemanager:v3/TagKey/allowedValuesRegex": allowed_values_regex "/cloudresourcemanager:v3/TagKey/createTime": create_time "/cloudresourcemanager:v3/TagKey/description": description "/cloudresourcemanager:v3/TagKey/etag": etag diff --git a/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md b/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md index 346b6c4abcc..346127846e7 100644 --- a/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md +++ b/generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-cloudresourcemanager_v3 +### v0.60.0 (2025-11-16) + +* Regenerated from discovery document revision 20251103 + ### v0.59.0 (2025-06-15) * Regenerated from discovery document revision 20250606 diff --git a/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/classes.rb b/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/classes.rb index 9b5aa816943..cd4ba9d8edf 100644 --- a/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/classes.rb +++ b/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/classes.rb @@ -1120,8 +1120,7 @@ class ListTagValuesResponse include Google::Apis::Core::Hashable # A pagination token returned from a previous call to `ListTagValues` that - # indicates from where listing should continue. This is currently not used, but - # the server may at any point start supplying a valid token. + # indicates from where listing should continue. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1924,6 +1923,12 @@ def update!(**args) class TagKey include Google::Apis::Core::Hashable + # Optional. Regular expression constraint for freeform tag values. If present, + # it implicitly allows freeform values (constrained by the regex). + # Corresponds to the JSON property `allowedValuesRegex` + # @return [String] + attr_accessor :allowed_values_regex + # Output only. Creation time. # Corresponds to the JSON property `createTime` # @return [String] @@ -1997,6 +2002,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @allowed_values_regex = args[:allowed_values_regex] if args.key?(:allowed_values_regex) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) diff --git a/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/gem_version.rb b/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/gem_version.rb index 631411e9e4a..44f240e9fe4 100644 --- a/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/gem_version.rb +++ b/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module CloudresourcemanagerV3 # Version of the google-apis-cloudresourcemanager_v3 gem - GEM_VERSION = "0.59.0" + GEM_VERSION = "0.60.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250606" + REVISION = "20251103" end end end diff --git a/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/representations.rb b/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/representations.rb index 3840ce2566f..30ed6b855ed 100644 --- a/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/representations.rb +++ b/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/representations.rb @@ -881,6 +881,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class TagKey # @private class Representation < Google::Apis::Core::JsonRepresentation + property :allowed_values_regex, as: 'allowedValuesRegex' property :create_time, as: 'createTime' property :description, as: 'description' property :etag, as: 'etag' diff --git a/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/service.rb b/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/service.rb index 463b5c90740..513ec9df1fd 100644 --- a/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/service.rb +++ b/generated/google-apis-cloudresourcemanager_v3/lib/google/apis/cloudresourcemanager_v3/service.rb @@ -845,7 +845,8 @@ def get_location_tag_binding_collection(name, fields: nil, quota_user: nil, opti execute_or_queue_command(command, &block) end - # Updates tag bindings directly attached to a GCP resource. + # Updates tag bindings directly attached to a GCP resource. Update_mask can be + # kept empty or "*". # @param [String] name # Identifier. The name of the TagBindingCollection, following the convention: ` # locations/`location`/tagBindingCollections/`encoded-full-resource-name`` where @@ -853,6 +854,8 @@ def get_location_tag_binding_collection(name, fields: nil, quota_user: nil, opti # the TagBindings are bound to. "locations/global/tagBindingCollections/%2f% # 2fcloudresourcemanager.googleapis.com%2fprojects%2f123" # @param [Google::Apis::CloudresourcemanagerV3::TagBindingCollection] tag_binding_collection_object + # @param [String] update_mask + # Optional. An update mask to selectively update fields. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -870,13 +873,14 @@ def get_location_tag_binding_collection(name, fields: nil, quota_user: nil, opti # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_location_tag_binding_collection(name, tag_binding_collection_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v3/{+name}', options) + def patch_location_tag_binding_collection(name, tag_binding_collection_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3/{+name}', options) command.request_representation = Google::Apis::CloudresourcemanagerV3::TagBindingCollection::Representation command.request_object = tag_binding_collection_object command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation command.response_class = Google::Apis::CloudresourcemanagerV3::Operation command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)