Skip to content

Commit

Permalink
feat: Automated regeneration of accesscontextmanager v1 client (googl…
Browse files Browse the repository at this point in the history
…eapis#20303)

Auto-created at 2024-09-29 09:45:30 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Sep 29, 2024
1 parent 14d134b commit b345514
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.list/pageToken": page_token
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.list/parent": parent
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch": patch_organization_gcp_user_access_binding
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/appendScopedAccessSettings": append_scoped_access_settings
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/name": name
"/accesscontextmanager:v1/accesscontextmanager.organizations.gcpUserAccessBindings.patch/updateMask": update_mask
"/accesscontextmanager:v1/accesscontextmanager.services.get": get_service
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-accesscontextmanager_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-accesscontextmanager_v1

### v0.49.0 (2024-09-29)

* Regenerated from discovery document revision 20240923

### v0.48.0 (2024-09-15)

* Regenerated from discovery document revision 20240908
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module AccesscontextmanagerV1
# Version of the google-apis-accesscontextmanager_v1 gem
GEM_VERSION = "0.48.0"
GEM_VERSION = "0.49.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240908"
REVISION = "20240923"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1394,11 +1394,17 @@ def list_organization_gcp_user_access_bindings(parent, page_size: nil, page_toke
# not be specified by the client during creation. Example: "organizations/256/
# gcpUserAccessBindings/b3-BhcX_Ud5N"
# @param [Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding] gcp_user_access_binding_object
# @param [Boolean] append_scoped_access_settings
# Optional. This field will be used to control whether or not scoped access
# settings are appended to the existing list of scoped access settings. If true,
# the scoped access settings in the request will be appended to the existing
# list of scoped access settings. If false, the scoped access settings in the
# request replace the existing list of scoped access settings.
# @param [String] update_mask
# Required. Only the fields specified in this mask are updated. Because name and
# group_key cannot be changed, update_mask is required and may only contain the
# following fields: `access_levels`, `dry_run_access_levels`. update_mask `
# paths: "access_levels" `
# following fields: `access_levels`, `dry_run_access_levels`, `reauth_settings`,
# `scoped_access_settings`. update_mask ` paths: "access_levels" `
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -1416,13 +1422,14 @@ def list_organization_gcp_user_access_bindings(parent, page_size: nil, page_toke
# @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 patch_organization_gcp_user_access_binding(name, gcp_user_access_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
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)
command = make_simple_command(:patch, 'v1/{+name}', options)
command.request_representation = Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding::Representation
command.request_object = gcp_user_access_binding_object
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
command.params['name'] = name unless name.nil?
command.query['appendScopedAccessSettings'] = append_scoped_access_settings unless append_scoped_access_settings.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?
Expand Down

0 comments on commit b345514

Please sign in to comment.