Skip to content

Commit faec8b1

Browse files
feat: Automated regeneration of cloudidentity v1 client
1 parent d9dce43 commit faec8b1

4 files changed

Lines changed: 105 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84103,12 +84103,17 @@
8410384103
"/cloudidentity:v1/cloudidentity.inboundSsoAssignments.patch": patch_inbound_sso_assignment
8410484104
"/cloudidentity:v1/cloudidentity.inboundSsoAssignments.patch/name": name
8410584105
"/cloudidentity:v1/cloudidentity.inboundSsoAssignments.patch/updateMask": update_mask
84106+
"/cloudidentity:v1/cloudidentity.policies.create": create_policy
84107+
"/cloudidentity:v1/cloudidentity.policies.delete": delete_policy
84108+
"/cloudidentity:v1/cloudidentity.policies.delete/name": name
8410684109
"/cloudidentity:v1/cloudidentity.policies.get": get_policy
8410784110
"/cloudidentity:v1/cloudidentity.policies.get/name": name
8410884111
"/cloudidentity:v1/cloudidentity.policies.list": list_policies
8410984112
"/cloudidentity:v1/cloudidentity.policies.list/filter": filter
8411084113
"/cloudidentity:v1/cloudidentity.policies.list/pageSize": page_size
8411184114
"/cloudidentity:v1/cloudidentity.policies.list/pageToken": page_token
84115+
"/cloudidentity:v1/cloudidentity.policies.patch": patch_policy
84116+
"/cloudidentity:v1/cloudidentity.policies.patch/name": name
8411284117
"/cloudidentity:v1/fields": fields
8411384118
"/cloudidentity:v1/key": key
8411484119
"/cloudidentity:v1/quotaUser": quota_user

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

3+
### v0.57.0 (2026-05-17)
4+
5+
* Regenerated from discovery document revision 20260513
6+
37
### v0.56.0 (2026-01-18)
48

59
* Regenerated from discovery document revision 20260113

generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_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 CloudidentityV1
1818
# Version of the google-apis-cloudidentity_v1 gem
19-
GEM_VERSION = "0.56.0"
19+
GEM_VERSION = "0.57.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 = "20260113"
25+
REVISION = "20260513"
2626
end
2727
end
2828
end

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

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2569,6 +2569,66 @@ def patch_inbound_sso_assignment(name, inbound_sso_assignment_object = nil, upda
25692569
execute_or_queue_command(command, &block)
25702570
end
25712571

2572+
# Create a policy.
2573+
# @param [Google::Apis::CloudidentityV1::Policy] policy_object
2574+
# @param [String] fields
2575+
# Selector specifying which fields to include in a partial response.
2576+
# @param [String] quota_user
2577+
# Available to use for quota purposes for server-side applications. Can be any
2578+
# arbitrary string assigned to a user, but should not exceed 40 characters.
2579+
# @param [Google::Apis::RequestOptions] options
2580+
# Request-specific options
2581+
#
2582+
# @yield [result, err] Result & error if block supplied
2583+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2584+
# @yieldparam err [StandardError] error object if request failed
2585+
#
2586+
# @return [Google::Apis::CloudidentityV1::Operation]
2587+
#
2588+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2589+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2590+
# @raise [Google::Apis::AuthorizationError] Authorization is required
2591+
def create_policy(policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2592+
command = make_simple_command(:post, 'v1/policies', options)
2593+
command.request_representation = Google::Apis::CloudidentityV1::Policy::Representation
2594+
command.request_object = policy_object
2595+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2596+
command.response_class = Google::Apis::CloudidentityV1::Operation
2597+
command.query['fields'] = fields unless fields.nil?
2598+
command.query['quotaUser'] = quota_user unless quota_user.nil?
2599+
execute_or_queue_command(command, &block)
2600+
end
2601+
2602+
# Delete a policy.
2603+
# @param [String] name
2604+
# Required. The name of the policy to delete. Format: `policies/`policy``.
2605+
# @param [String] fields
2606+
# Selector specifying which fields to include in a partial response.
2607+
# @param [String] quota_user
2608+
# Available to use for quota purposes for server-side applications. Can be any
2609+
# arbitrary string assigned to a user, but should not exceed 40 characters.
2610+
# @param [Google::Apis::RequestOptions] options
2611+
# Request-specific options
2612+
#
2613+
# @yield [result, err] Result & error if block supplied
2614+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2615+
# @yieldparam err [StandardError] error object if request failed
2616+
#
2617+
# @return [Google::Apis::CloudidentityV1::Operation]
2618+
#
2619+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2620+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2621+
# @raise [Google::Apis::AuthorizationError] Authorization is required
2622+
def delete_policy(name, fields: nil, quota_user: nil, options: nil, &block)
2623+
command = make_simple_command(:delete, 'v1/{+name}', options)
2624+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2625+
command.response_class = Google::Apis::CloudidentityV1::Operation
2626+
command.params['name'] = name unless name.nil?
2627+
command.query['fields'] = fields unless fields.nil?
2628+
command.query['quotaUser'] = quota_user unless quota_user.nil?
2629+
execute_or_queue_command(command, &block)
2630+
end
2631+
25722632
# Get a policy.
25732633
# @param [String] name
25742634
# 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
26512711
command.query['quotaUser'] = quota_user unless quota_user.nil?
26522712
execute_or_queue_command(command, &block)
26532713
end
2714+
2715+
# Update a policy.
2716+
# @param [String] name
2717+
# Output only. Identifier. The [resource name](https://cloud.google.com/apis/
2718+
# design/resource_names) of the Policy. Format: policies/`policy`.
2719+
# @param [Google::Apis::CloudidentityV1::Policy] policy_object
2720+
# @param [String] fields
2721+
# Selector specifying which fields to include in a partial response.
2722+
# @param [String] quota_user
2723+
# Available to use for quota purposes for server-side applications. Can be any
2724+
# arbitrary string assigned to a user, but should not exceed 40 characters.
2725+
# @param [Google::Apis::RequestOptions] options
2726+
# Request-specific options
2727+
#
2728+
# @yield [result, err] Result & error if block supplied
2729+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
2730+
# @yieldparam err [StandardError] error object if request failed
2731+
#
2732+
# @return [Google::Apis::CloudidentityV1::Operation]
2733+
#
2734+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2735+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2736+
# @raise [Google::Apis::AuthorizationError] Authorization is required
2737+
def patch_policy(name, policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2738+
command = make_simple_command(:patch, 'v1/{+name}', options)
2739+
command.request_representation = Google::Apis::CloudidentityV1::Policy::Representation
2740+
command.request_object = policy_object
2741+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
2742+
command.response_class = Google::Apis::CloudidentityV1::Operation
2743+
command.params['name'] = name unless name.nil?
2744+
command.query['fields'] = fields unless fields.nil?
2745+
command.query['quotaUser'] = quota_user unless quota_user.nil?
2746+
execute_or_queue_command(command, &block)
2747+
end
26542748

26552749
protected
26562750

0 commit comments

Comments
 (0)