diff --git a/api_names_out.yaml b/api_names_out.yaml index 0f0bd0c847c..9addf22de58 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -84103,12 +84103,17 @@ "/cloudidentity:v1/cloudidentity.inboundSsoAssignments.patch": patch_inbound_sso_assignment "/cloudidentity:v1/cloudidentity.inboundSsoAssignments.patch/name": name "/cloudidentity:v1/cloudidentity.inboundSsoAssignments.patch/updateMask": update_mask +"/cloudidentity:v1/cloudidentity.policies.create": create_policy +"/cloudidentity:v1/cloudidentity.policies.delete": delete_policy +"/cloudidentity:v1/cloudidentity.policies.delete/name": name "/cloudidentity:v1/cloudidentity.policies.get": get_policy "/cloudidentity:v1/cloudidentity.policies.get/name": name "/cloudidentity:v1/cloudidentity.policies.list": list_policies "/cloudidentity:v1/cloudidentity.policies.list/filter": filter "/cloudidentity:v1/cloudidentity.policies.list/pageSize": page_size "/cloudidentity:v1/cloudidentity.policies.list/pageToken": page_token +"/cloudidentity:v1/cloudidentity.policies.patch": patch_policy +"/cloudidentity:v1/cloudidentity.policies.patch/name": name "/cloudidentity:v1/fields": fields "/cloudidentity:v1/key": key "/cloudidentity:v1/quotaUser": quota_user diff --git a/generated/google-apis-cloudidentity_v1/CHANGELOG.md b/generated/google-apis-cloudidentity_v1/CHANGELOG.md index f10d9f60d38..c2f9be198e8 100644 --- a/generated/google-apis-cloudidentity_v1/CHANGELOG.md +++ b/generated/google-apis-cloudidentity_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-cloudidentity_v1 +### v0.57.0 (2026-05-17) + +* Regenerated from discovery document revision 20260513 + ### v0.56.0 (2026-01-18) * Regenerated from discovery document revision 20260113 diff --git a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/gem_version.rb b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/gem_version.rb index 605b28d1d5e..a7fff038a5a 100644 --- a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/gem_version.rb +++ b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module CloudidentityV1 # Version of the google-apis-cloudidentity_v1 gem - GEM_VERSION = "0.56.0" + GEM_VERSION = "0.57.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 = "20260113" + REVISION = "20260513" end end end diff --git a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/service.rb b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/service.rb index fbd2e993891..7090d512a4e 100644 --- a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/service.rb +++ b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/service.rb @@ -2569,6 +2569,66 @@ def patch_inbound_sso_assignment(name, inbound_sso_assignment_object = nil, upda execute_or_queue_command(command, &block) end + # Create a policy. + # @param [Google::Apis::CloudidentityV1::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::CloudidentityV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudidentityV1::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, 'v1/policies', options) + command.request_representation = Google::Apis::CloudidentityV1::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation + command.response_class = Google::Apis::CloudidentityV1::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 delete. 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::CloudidentityV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudidentityV1::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, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation + command.response_class = Google::Apis::CloudidentityV1::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``. @@ -2651,6 +2711,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::CloudidentityV1::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::CloudidentityV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudidentityV1::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, 'v1/{+name}', options) + command.request_representation = Google::Apis::CloudidentityV1::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation + command.response_class = Google::Apis::CloudidentityV1::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