Skip to content

Commit 51e8e26

Browse files
feat: Automated regeneration of accesscontextmanager v1 client (googleapis#20404)
Auto-created at 2024-10-20 09:16:10 +0000 using the toys pull request generator.
1 parent b95962b commit 51e8e26

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@
639639
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.list/pageToken": page_token
640640
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.list/parent": parent
641641
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch": patch_organization_gcp_user_access_binding
642+
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/append": append
642643
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/appendScopedAccessSettings": append_scoped_access_settings
643644
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/name": name
644645
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/updateMask": update_mask

generated/google-apis-accesscontextmanager_v1/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-accesscontextmanager_v1
22

3+
### v0.50.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241014
6+
37
### v0.49.0 (2024-09-29)
48

59
* Regenerated from discovery document revision 20240923

generated/google-apis-accesscontextmanager_v1/lib/google/apis/accesscontextmanager_v1/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 AccesscontextmanagerV1
1818
# Version of the google-apis-accesscontextmanager_v1 gem
19-
GEM_VERSION = "0.49.0"
19+
GEM_VERSION = "0.50.0"
2020

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

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

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

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,12 +1394,15 @@ def list_organization_gcp_user_access_bindings(parent, page_size: nil, page_toke
13941394
# not be specified by the client during creation. Example: "organizations/256/
13951395
# gcpUserAccessBindings/b3-BhcX_Ud5N"
13961396
# @param [Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding] gcp_user_access_binding_object
1397-
# @param [Boolean] append_scoped_access_settings
1398-
# Optional. This field will be used to control whether or not scoped access
1399-
# settings are appended to the existing list of scoped access settings. If true,
1400-
# the scoped access settings in the request will be appended to the existing
1401-
# list of scoped access settings. If false, the scoped access settings in the
1402-
# request replace the existing list of scoped access settings.
1397+
# @param [Boolean] append
1398+
# Optional. This field controls whether or not certain repeated settings in the
1399+
# update request overwrite or append to existing settings on the binding. If
1400+
# true, then append. Otherwise overwrite. So far, only scoped_access_settings
1401+
# supports appending. Global access_levels, dry_run_access_levels, and
1402+
# reauth_settings are not compatible with append functionality, and the request
1403+
# will return an error if append=true when these settings are in the update_mask.
1404+
# The request will also return an error if append=true when "
1405+
# scoped_access_settings" is not set in the update_mask.
14031406
# @param [String] update_mask
14041407
# Required. Only the fields specified in this mask are updated. Because name and
14051408
# group_key cannot be changed, update_mask is required and may only contain the
@@ -1422,14 +1425,14 @@ def list_organization_gcp_user_access_bindings(parent, page_size: nil, page_toke
14221425
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14231426
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14241427
# @raise [Google::Apis::AuthorizationError] Authorization is required
1425-
def patch_organization_gcp_user_access_binding(name, gcp_user_access_binding_object = nil, append_scoped_access_settings: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1428+
def patch_organization_gcp_user_access_binding(name, gcp_user_access_binding_object = nil, append: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
14261429
command = make_simple_command(:patch, 'v1/{+name}', options)
14271430
command.request_representation = Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding::Representation
14281431
command.request_object = gcp_user_access_binding_object
14291432
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
14301433
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
14311434
command.params['name'] = name unless name.nil?
1432-
command.query['appendScopedAccessSettings'] = append_scoped_access_settings unless append_scoped_access_settings.nil?
1435+
command.query['append'] = append unless append.nil?
14331436
command.query['updateMask'] = update_mask unless update_mask.nil?
14341437
command.query['fields'] = fields unless fields.nil?
14351438
command.query['quotaUser'] = quota_user unless quota_user.nil?

0 commit comments

Comments
 (0)