From c41a61dc728dceac9871ec22eeb4345b8e115b81 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 23 Aug 2026 10:45:46 +0000 Subject: [PATCH] feat: Automated regeneration of cloudidentity v1 client --- api_names_out.yaml | 16 +++ .../google-apis-cloudidentity_v1/CHANGELOG.md | 4 + .../google-apis-cloudidentity_v1/Gemfile.lock | 4 +- .../lib/google/apis/cloudidentity_v1.rb | 6 + .../google/apis/cloudidentity_v1/classes.rb | 54 +++++++ .../apis/cloudidentity_v1/gem_version.rb | 4 +- .../apis/cloudidentity_v1/representations.rb | 29 ++++ .../google/apis/cloudidentity_v1/service.rb | 132 ++++++++++++++++++ 8 files changed, 245 insertions(+), 4 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 319ae5c92c5..54e5ef96507 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -88643,6 +88643,9 @@ "/cloudidentity:v1/AddIdpCredentialOperationMetadata/state": state "/cloudidentity:v1/AddIdpCredentialRequest": add_idp_credential_request "/cloudidentity:v1/AddIdpCredentialRequest/pemData": pem_data +"/cloudidentity:v1/AllowlistedDomain": allowlisted_domain +"/cloudidentity:v1/AllowlistedDomain/domain": domain +"/cloudidentity:v1/AllowlistedDomain/name": name "/cloudidentity:v1/AndroidAttributes": android_attributes "/cloudidentity:v1/AndroidAttributes/enabledUnknownSources": enabled_unknown_sources "/cloudidentity:v1/AndroidAttributes/ownerProfileAccount": owner_profile_account @@ -88977,6 +88980,10 @@ "/cloudidentity:v1/InboundSsoAssignment/targetOrgUnit": target_org_unit "/cloudidentity:v1/IsInvitableUserResponse": is_invitable_user_response "/cloudidentity:v1/IsInvitableUserResponse/isInvitableUser": is_invitable_user +"/cloudidentity:v1/ListAllowlistedDomainsResponse": list_allowlisted_domains_response +"/cloudidentity:v1/ListAllowlistedDomainsResponse/allowlistedDomains": allowlisted_domains +"/cloudidentity:v1/ListAllowlistedDomainsResponse/allowlistedDomains/allowlisted_domain": allowlisted_domain +"/cloudidentity:v1/ListAllowlistedDomainsResponse/nextPageToken": next_page_token "/cloudidentity:v1/ListGroupsResponse": list_groups_response "/cloudidentity:v1/ListGroupsResponse/groups": groups "/cloudidentity:v1/ListGroupsResponse/groups/group": group @@ -89159,6 +89166,15 @@ "/cloudidentity:v1/WipeDeviceResponse/device": device "/cloudidentity:v1/WipeDeviceUserResponse": wipe_device_user_response "/cloudidentity:v1/WipeDeviceUserResponse/deviceUser": device_user +"/cloudidentity:v1/cloudidentity.allowlistedDomains.create": create_allowlisted_domain +"/cloudidentity:v1/cloudidentity.allowlistedDomains.delete": delete_allowlisted_domain +"/cloudidentity:v1/cloudidentity.allowlistedDomains.delete/name": name +"/cloudidentity:v1/cloudidentity.allowlistedDomains.get": get_allowlisted_domain +"/cloudidentity:v1/cloudidentity.allowlistedDomains.get/name": name +"/cloudidentity:v1/cloudidentity.allowlistedDomains.list": list_allowlisted_domains +"/cloudidentity:v1/cloudidentity.allowlistedDomains.list/filter": filter +"/cloudidentity:v1/cloudidentity.allowlistedDomains.list/pageSize": page_size +"/cloudidentity:v1/cloudidentity.allowlistedDomains.list/pageToken": page_token "/cloudidentity:v1/cloudidentity.customers.userinvitations.cancel": cancel_userinvitation_user_invitation "/cloudidentity:v1/cloudidentity.customers.userinvitations.cancel/name": name "/cloudidentity:v1/cloudidentity.customers.userinvitations.get": get_customer_userinvitation diff --git a/generated/google-apis-cloudidentity_v1/CHANGELOG.md b/generated/google-apis-cloudidentity_v1/CHANGELOG.md index f1bed383da6..41a7aaa0cf7 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.63.0 (2026-08-23) + +* Regenerated from discovery document revision 20260817 + ### v0.62.0 (2026-08-09) * Regenerated from discovery document revision 20260803 diff --git a/generated/google-apis-cloudidentity_v1/Gemfile.lock b/generated/google-apis-cloudidentity_v1/Gemfile.lock index ff992a06107..139c306e204 100644 --- a/generated/google-apis-cloudidentity_v1/Gemfile.lock +++ b/generated/google-apis-cloudidentity_v1/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - google-apis-cloudidentity_v1 (0.62.0) + google-apis-cloudidentity_v1 (0.63.0) google-apis-core (>= 0.15.0, < 2.a) GEM @@ -105,7 +105,7 @@ CHECKSUMS faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278 faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588 - google-apis-cloudidentity_v1 (0.62.0) + google-apis-cloudidentity_v1 (0.63.0) google-apis-core (1.2.1) sha256=3739030455277e3be90f2d07321ad4d0bf0d6b1ed820b2d092916d6cdef05337 google-cloud-env (2.3.1) sha256=0faac01eb27be78c2591d64433663b1a114f8f7af55a4f819755426cac9178e7 google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b diff --git a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1.rb b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1.rb index cd2e27308c9..aaf83fde2b7 100644 --- a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1.rb +++ b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1.rb @@ -29,6 +29,12 @@ module CloudidentityV1 # This is NOT the gem version. VERSION = 'V1' + # See and edit allowlisted domains in your Cloud Identity Organization + AUTH_CLOUD_IDENTITY_ALLOWLISTEDDOMAINS = 'https://www.googleapis.com/auth/cloud-identity.allowlisteddomains' + + # See allowlisted domains in your Cloud Identity Organization + AUTH_CLOUD_IDENTITY_ALLOWLISTEDDOMAINS_READONLY = 'https://www.googleapis.com/auth/cloud-identity.allowlisteddomains.readonly' + # Private Service: https://www.googleapis.com/auth/cloud-identity.devices AUTH_CLOUD_IDENTITY_DEVICES = 'https://www.googleapis.com/auth/cloud-identity.devices' diff --git a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/classes.rb b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/classes.rb index 47621d81b62..287c8afc9bd 100644 --- a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/classes.rb +++ b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/classes.rb @@ -64,6 +64,33 @@ def update!(**args) end end + # This resource object defines a domain that has been designated as allowlisted. + class AllowlistedDomain + include Google::Apis::Core::Hashable + + # Required. Immutable. Name of the domain that is in the allowlist. e.g. "google. + # com" + # Corresponds to the JSON property `domain` + # @return [String] + attr_accessor :domain + + # Output only. Identifier. Resource name of the domain in the allowlist e.g. " + # allowlistedDomains/0184mhaj1smlusv" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @domain = args[:domain] if args.key?(:domain) + @name = args[:name] if args.key?(:name) + end + end + # Request to cancel sent invitation for target email in UserInvitation. class CancelUserInvitationRequest include Google::Apis::Core::Hashable @@ -2192,6 +2219,33 @@ def update!(**args) end end + # Response message for AllowlistedDomainsService.ListAllowlistedDomains. + class ListAllowlistedDomainsResponse + include Google::Apis::Core::Hashable + + # Contains the list of domains in the allowlist. There is no defined ordering of + # domains within a result. + # Corresponds to the JSON property `allowlistedDomains` + # @return [Array] + attr_accessor :allowlisted_domains + + # Contains the next page token if the result is not exhaustive. If there are no + # more results, this token is empty. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allowlisted_domains = args[:allowlisted_domains] if args.key?(:allowlisted_domains) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for ListGroups operation. class ListGroupsResponse include Google::Apis::Core::Hashable 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 a45c752046f..2328f0bb287 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.62.0" + GEM_VERSION = "0.63.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260803" + REVISION = "20260817" end end end diff --git a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/representations.rb b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/representations.rb index 9e64bc8de0a..2f970b70cdd 100644 --- a/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/representations.rb +++ b/generated/google-apis-cloudidentity_v1/lib/google/apis/cloudidentity_v1/representations.rb @@ -34,6 +34,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AllowlistedDomain + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CancelUserInvitationRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -436,6 +442,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ListAllowlistedDomainsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -738,6 +750,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class AllowlistedDomain + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :domain, as: 'domain' + property :name, as: 'name' + end + end + class CancelUserInvitationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1348,6 +1368,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ListAllowlistedDomainsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :allowlisted_domains, as: 'allowlistedDomains', class: Google::Apis::CloudidentityV1::AllowlistedDomain, decorator: Google::Apis::CloudidentityV1::AllowlistedDomain::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class ListGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation 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 44cee7f5692..83a9769caa3 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 @@ -51,6 +51,138 @@ def initialize @batch_path = 'batch' end + # Adds a domain to the allowlist. + # @param [Google::Apis::CloudidentityV1::AllowlistedDomain] allowlisted_domain_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_allowlisted_domain(allowlisted_domain_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/allowlistedDomains', options) + command.request_representation = Google::Apis::CloudidentityV1::AllowlistedDomain::Representation + command.request_object = allowlisted_domain_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 + + # Removes a domain from the allowlist. + # @param [String] name + # Required. Specifies the [resource name](https://google.aip.dev/122) of the + # domain to delete. + # @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_allowlisted_domain(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 + + # Retrieves a specific domain from the allowlist. + # @param [String] name + # Required. Specifies the [resource name](https://google.aip.dev/122) of the + # domain to retrieve. + # @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::AllowlistedDomain] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudidentityV1::AllowlistedDomain] + # + # @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 get_allowlisted_domain(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudidentityV1::AllowlistedDomain::Representation + command.response_class = Google::Apis::CloudidentityV1::AllowlistedDomain + 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 + + # Lists the domains in the allowlist. + # @param [String] filter + # Optional. Provides an optional filter for list results. Currently, only exact + # matches on the domain are supported, such as "domain = 'google.com'", with no + # composite conditions. + # @param [Fixnum] page_size + # Optional. Specifies the requested page size. If unspecified, the service + # returns at most 5000 domains. The maximum value is 5000; values above 5000 + # coerce to 5000. The limits can change over time. + # @param [String] page_token + # Optional. Identifies a token from a previous page of results, if any. + # @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::ListAllowlistedDomainsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudidentityV1::ListAllowlistedDomainsResponse] + # + # @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 list_allowlisted_domains(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/allowlistedDomains', options) + command.response_representation = Google::Apis::CloudidentityV1::ListAllowlistedDomainsResponse::Representation + command.response_class = Google::Apis::CloudidentityV1::ListAllowlistedDomainsResponse + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Cancels a UserInvitation that was already sent. # @param [String] name # Required. `UserInvitation` name in the format `customers/`customer`/