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
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-cloudresourcemanager_v3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -845,14 +845,17 @@ 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
# the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource
# 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
Expand All @@ -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)
Expand Down