Skip to content

Commit 79101d9

Browse files
feat: Automated regeneration of cloudresourcemanager v3 client (googleapis#23425)
Auto-created at 2025-06-15 10:10:35 +0000 using the toys pull request generator.
1 parent 23106f8 commit 79101d9

File tree

6 files changed

+23
-9
lines changed

6 files changed

+23
-9
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75666,6 +75666,8 @@
7566675666
"/cloudresourcemanager:v3/Policy/etag": etag
7566775667
"/cloudresourcemanager:v3/Policy/version": version
7566875668
"/cloudresourcemanager:v3/Project": project
75669+
"/cloudresourcemanager:v3/Project/configuredCapabilities": configured_capabilities
75670+
"/cloudresourcemanager:v3/Project/configuredCapabilities/configured_capability": configured_capability
7566975671
"/cloudresourcemanager:v3/Project/createTime": create_time
7567075672
"/cloudresourcemanager:v3/Project/deleteTime": delete_time
7567175673
"/cloudresourcemanager:v3/Project/displayName": display_name
@@ -75809,6 +75811,8 @@
7580975811
"/cloudresourcemanager:v3/cloudresourcemanager.locations.tagBindingCollections.patch": patch_location_tag_binding_collection
7581075812
"/cloudresourcemanager:v3/cloudresourcemanager.locations.tagBindingCollections.patch/name": name
7581175813
"/cloudresourcemanager:v3/cloudresourcemanager.locations.tagBindingCollections.patch/updateMask": update_mask
75814+
"/cloudresourcemanager:v3/cloudresourcemanager.locations.tagBindingCollections.update": update_location_tag_binding_collection
75815+
"/cloudresourcemanager:v3/cloudresourcemanager.locations.tagBindingCollections.update/name": name
7581275816
"/cloudresourcemanager:v3/cloudresourcemanager.operations.get": get_operation
7581375817
"/cloudresourcemanager:v3/cloudresourcemanager.operations.get/name": name
7581475818
"/cloudresourcemanager:v3/cloudresourcemanager.organizations.get": get_organization

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.59.0 (2025-06-15)
4+
5+
* Regenerated from discovery document revision 20250606
6+
37
### v0.58.0 (2025-06-01)
48

59
* Regenerated from discovery document revision 20250522

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,6 +1459,14 @@ def update!(**args)
14591459
class Project
14601460
include Google::Apis::Core::Hashable
14611461

1462+
# Output only. If this project is a Management Project, list of capabilities
1463+
# configured on the parent folder. Note, presence of any capability implies that
1464+
# this is a Management Project. Example: `folders/123/capabilities/app-
1465+
# management`. OUTPUT ONLY.
1466+
# Corresponds to the JSON property `configuredCapabilities`
1467+
# @return [Array<String>]
1468+
attr_accessor :configured_capabilities
1469+
14621470
# Output only. Creation time.
14631471
# Corresponds to the JSON property `createTime`
14641472
# @return [String]
@@ -1539,6 +1547,7 @@ def initialize(**args)
15391547

15401548
# Update properties of this object
15411549
def update!(**args)
1550+
@configured_capabilities = args[:configured_capabilities] if args.key?(:configured_capabilities)
15421551
@create_time = args[:create_time] if args.key?(:create_time)
15431552
@delete_time = args[:delete_time] if args.key?(:delete_time)
15441553
@display_name = args[:display_name] if args.key?(:display_name)

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.58.0"
19+
GEM_VERSION = "0.59.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 = "20250522"
25+
REVISION = "20250606"
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
@@ -778,6 +778,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
778778
class Project
779779
# @private
780780
class Representation < Google::Apis::Core::JsonRepresentation
781+
collection :configured_capabilities, as: 'configuredCapabilities'
781782
property :create_time, as: 'createTime'
782783
property :delete_time, as: 'deleteTime'
783784
property :display_name, as: 'displayName'

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -845,17 +845,14 @@ 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. Update_mask can be
849-
# kept empty or "*".
848+
# Updates tag bindings directly attached to a GCP resource.
850849
# @param [String] name
851850
# Identifier. The name of the TagBindingCollection, following the convention: `
852851
# locations/`location`/tagBindingCollections/`encoded-full-resource-name`` where
853852
# the encoded-full-resource-name is the UTF-8 encoded name of the GCP resource
854853
# the TagBindings are bound to. "locations/global/tagBindingCollections/%2f%
855854
# 2fcloudresourcemanager.googleapis.com%2fprojects%2f123"
856855
# @param [Google::Apis::CloudresourcemanagerV3::TagBindingCollection] tag_binding_collection_object
857-
# @param [String] update_mask
858-
# Optional. An update mask to selectively update fields.
859856
# @param [String] fields
860857
# Selector specifying which fields to include in a partial response.
861858
# @param [String] quota_user
@@ -873,14 +870,13 @@ def get_location_tag_binding_collection(name, fields: nil, quota_user: nil, opti
873870
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
874871
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
875872
# @raise [Google::Apis::AuthorizationError] Authorization is required
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)
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)
878875
command.request_representation = Google::Apis::CloudresourcemanagerV3::TagBindingCollection::Representation
879876
command.request_object = tag_binding_collection_object
880877
command.response_representation = Google::Apis::CloudresourcemanagerV3::Operation::Representation
881878
command.response_class = Google::Apis::CloudresourcemanagerV3::Operation
882879
command.params['name'] = name unless name.nil?
883-
command.query['updateMask'] = update_mask unless update_mask.nil?
884880
command.query['fields'] = fields unless fields.nil?
885881
command.query['quotaUser'] = quota_user unless quota_user.nil?
886882
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)