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
5 changes: 5 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77124,12 +77124,17 @@
"/cloudidentity:v1beta1/cloudidentity.orgUnits.memberships.list/parent": parent
"/cloudidentity:v1beta1/cloudidentity.orgUnits.memberships.move": move_org_membership
"/cloudidentity:v1beta1/cloudidentity.orgUnits.memberships.move/name": name
"/cloudidentity:v1beta1/cloudidentity.policies.create": create_policy
"/cloudidentity:v1beta1/cloudidentity.policies.delete": delete_policy
"/cloudidentity:v1beta1/cloudidentity.policies.delete/name": name
"/cloudidentity:v1beta1/cloudidentity.policies.get": get_policy
"/cloudidentity:v1beta1/cloudidentity.policies.get/name": name
"/cloudidentity:v1beta1/cloudidentity.policies.list": list_policies
"/cloudidentity:v1beta1/cloudidentity.policies.list/filter": filter
"/cloudidentity:v1beta1/cloudidentity.policies.list/pageSize": page_size
"/cloudidentity:v1beta1/cloudidentity.policies.list/pageToken": page_token
"/cloudidentity:v1beta1/cloudidentity.policies.patch": patch_policy
"/cloudidentity:v1beta1/cloudidentity.policies.patch/name": name
"/cloudidentity:v1beta1/fields": fields
"/cloudidentity:v1beta1/key": key
"/cloudidentity:v1beta1/quotaUser": quota_user
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-cloudidentity_v1beta1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-cloudidentity_v1beta1

### v0.58.0 (2025-11-02)

* Regenerated from discovery document revision 20251027

### v0.57.0 (2025-10-26)

* Regenerated from discovery document revision 20251021
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module CloudidentityV1beta1
# Version of the google-apis-cloudidentity_v1beta1 gem
GEM_VERSION = "0.57.0"
GEM_VERSION = "0.58.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 = "20251021"
REVISION = "20251027"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -2592,6 +2592,66 @@ def move_org_membership(name, move_org_membership_request_object = nil, fields:
execute_or_queue_command(command, &block)
end

# Create a policy.
# @param [Google::Apis::CloudidentityV1beta1::Policy] policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1beta1::Operation]
#
# @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 create_policy(policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/policies', options)
command.request_representation = Google::Apis::CloudidentityV1beta1::Policy::Representation
command.request_object = policy_object
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end

# Delete a policy.
# @param [String] name
# Required. The name of the policy to retrieve. Format: "policies/`policy`".
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1beta1::Operation]
#
# @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 delete_policy(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end

# Get a policy.
# @param [String] name
# Required. The name of the policy to retrieve. Format: "policies/`policy`".
Expand Down Expand Up @@ -2674,6 +2734,40 @@ def list_policies(filter: nil, page_size: nil, page_token: nil, fields: nil, quo
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end

# Update a policy.
# @param [String] name
# Output only. Identifier. The [resource name](https://cloud.google.com/apis/
# design/resource_names) of the Policy. Format: policies/`policy`.
# @param [Google::Apis::CloudidentityV1beta1::Policy] policy_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudidentityV1beta1::Operation]
#
# @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_policy(name, policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::CloudidentityV1beta1::Policy::Representation
command.request_object = policy_object
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end

protected

Expand Down