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
16 changes: 16 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-cloudidentity_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions generated/google-apis-cloudidentity_v1/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<Google::Apis::CloudidentityV1::AllowlistedDomain>]
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`/
Expand Down
Loading