google-apis-cloudidentity_v1 0.62.0 → 0.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0854cbeb06b228a503e72879c5f96660f7b55175ef955aeb38d1dc92985a8d53'
4
- data.tar.gz: 82f45f91dbc2883f70d255f195de13182db2e89c05933d9b5f95e9f6b986a2c7
3
+ metadata.gz: 7cc155152addce2e234cb80a0208d438cc7edad495f551c0c43a1e3572c10748
4
+ data.tar.gz: 805f6a20ebb1960beb2899bd90016abaca34ccd430a3e07da364ab5bfa6f6688
5
5
  SHA512:
6
- metadata.gz: d3b32a6d766d0252b39c997a925d0278c6da28d16cf6d3a51bfaa859b2a54caec8fbecdd55c39e2d6fbee77712e1580201b6f094c74fcc1ed7dddc78a1c5d890
7
- data.tar.gz: 7c62069a2602aca931effbbbdc8f1f2bf6727f4b20844354fe745d8e48aa387c47efc03a944dd789ff8315bf9729310d9273f2beb89407ec544ec3258f1155d0
6
+ metadata.gz: 70859224a5e8cae97d24951edcabb4f1088daec32037194a1f192351b088676229162a01d0acf94f7f96eb550c89ca29e2d13ecfad7678997122e881a0cf8c31
7
+ data.tar.gz: c569ac72f70d9374839e4531c79d5053291ee0bcf26c3bdfc330fe4c32a7afeefc44116b0efe72ce27dc94b6a8a927648fd9d2e9711bac15382b46cdb52f2a83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudidentity_v1
2
2
 
3
+ ### v0.64.0 (2026-08-30)
4
+
5
+ * Regenerated from discovery document revision 20260826
6
+
7
+ ### v0.63.0 (2026-08-23)
8
+
9
+ * Regenerated from discovery document revision 20260817
10
+
3
11
  ### v0.62.0 (2026-08-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20260803
@@ -64,6 +64,33 @@ module Google
64
64
  end
65
65
  end
66
66
 
67
+ # This resource object defines a domain that has been designated as allowlisted.
68
+ class AllowlistedDomain
69
+ include Google::Apis::Core::Hashable
70
+
71
+ # Required. Immutable. Name of the domain that is in the allowlist. e.g. "google.
72
+ # com"
73
+ # Corresponds to the JSON property `domain`
74
+ # @return [String]
75
+ attr_accessor :domain
76
+
77
+ # Output only. Identifier. Resource name of the domain in the allowlist e.g. "
78
+ # allowlistedDomains/0184mhaj1smlusv"
79
+ # Corresponds to the JSON property `name`
80
+ # @return [String]
81
+ attr_accessor :name
82
+
83
+ def initialize(**args)
84
+ update!(**args)
85
+ end
86
+
87
+ # Update properties of this object
88
+ def update!(**args)
89
+ @domain = args[:domain] if args.key?(:domain)
90
+ @name = args[:name] if args.key?(:name)
91
+ end
92
+ end
93
+
67
94
  # Request to cancel sent invitation for target email in UserInvitation.
68
95
  class CancelUserInvitationRequest
69
96
  include Google::Apis::Core::Hashable
@@ -2192,6 +2219,33 @@ module Google
2192
2219
  end
2193
2220
  end
2194
2221
 
2222
+ # Response message for AllowlistedDomainsService.ListAllowlistedDomains.
2223
+ class ListAllowlistedDomainsResponse
2224
+ include Google::Apis::Core::Hashable
2225
+
2226
+ # Contains the list of domains in the allowlist. There is no defined ordering of
2227
+ # domains within a result.
2228
+ # Corresponds to the JSON property `allowlistedDomains`
2229
+ # @return [Array<Google::Apis::CloudidentityV1::AllowlistedDomain>]
2230
+ attr_accessor :allowlisted_domains
2231
+
2232
+ # Contains the next page token if the result is not exhaustive. If there are no
2233
+ # more results, this token is empty.
2234
+ # Corresponds to the JSON property `nextPageToken`
2235
+ # @return [String]
2236
+ attr_accessor :next_page_token
2237
+
2238
+ def initialize(**args)
2239
+ update!(**args)
2240
+ end
2241
+
2242
+ # Update properties of this object
2243
+ def update!(**args)
2244
+ @allowlisted_domains = args[:allowlisted_domains] if args.key?(:allowlisted_domains)
2245
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2246
+ end
2247
+ end
2248
+
2195
2249
  # Response message for ListGroups operation.
2196
2250
  class ListGroupsResponse
2197
2251
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudidentityV1
18
18
  # Version of the google-apis-cloudidentity_v1 gem
19
- GEM_VERSION = "0.62.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260803"
25
+ REVISION = "20260826"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AllowlistedDomain
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class CancelUserInvitationRequest
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -436,6 +442,12 @@ module Google
436
442
  include Google::Apis::Core::JsonObjectSupport
437
443
  end
438
444
 
445
+ class ListAllowlistedDomainsResponse
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
439
451
  class ListGroupsResponse
440
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
453
 
@@ -738,6 +750,14 @@ module Google
738
750
  end
739
751
  end
740
752
 
753
+ class AllowlistedDomain
754
+ # @private
755
+ class Representation < Google::Apis::Core::JsonRepresentation
756
+ property :domain, as: 'domain'
757
+ property :name, as: 'name'
758
+ end
759
+ end
760
+
741
761
  class CancelUserInvitationRequest
742
762
  # @private
743
763
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1348,6 +1368,15 @@ module Google
1348
1368
  end
1349
1369
  end
1350
1370
 
1371
+ class ListAllowlistedDomainsResponse
1372
+ # @private
1373
+ class Representation < Google::Apis::Core::JsonRepresentation
1374
+ collection :allowlisted_domains, as: 'allowlistedDomains', class: Google::Apis::CloudidentityV1::AllowlistedDomain, decorator: Google::Apis::CloudidentityV1::AllowlistedDomain::Representation
1375
+
1376
+ property :next_page_token, as: 'nextPageToken'
1377
+ end
1378
+ end
1379
+
1351
1380
  class ListGroupsResponse
1352
1381
  # @private
1353
1382
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,6 +51,138 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Adds a domain to the allowlist.
55
+ # @param [Google::Apis::CloudidentityV1::AllowlistedDomain] allowlisted_domain_object
56
+ # @param [String] fields
57
+ # Selector specifying which fields to include in a partial response.
58
+ # @param [String] quota_user
59
+ # Available to use for quota purposes for server-side applications. Can be any
60
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
61
+ # @param [Google::Apis::RequestOptions] options
62
+ # Request-specific options
63
+ #
64
+ # @yield [result, err] Result & error if block supplied
65
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
66
+ # @yieldparam err [StandardError] error object if request failed
67
+ #
68
+ # @return [Google::Apis::CloudidentityV1::Operation]
69
+ #
70
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
73
+ def create_allowlisted_domain(allowlisted_domain_object = nil, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:post, 'v1/allowlistedDomains', options)
75
+ command.request_representation = Google::Apis::CloudidentityV1::AllowlistedDomain::Representation
76
+ command.request_object = allowlisted_domain_object
77
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
78
+ command.response_class = Google::Apis::CloudidentityV1::Operation
79
+ command.query['fields'] = fields unless fields.nil?
80
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
81
+ execute_or_queue_command(command, &block)
82
+ end
83
+
84
+ # Removes a domain from the allowlist.
85
+ # @param [String] name
86
+ # Required. Specifies the [resource name](https://google.aip.dev/122) of the
87
+ # domain to delete.
88
+ # @param [String] fields
89
+ # Selector specifying which fields to include in a partial response.
90
+ # @param [String] quota_user
91
+ # Available to use for quota purposes for server-side applications. Can be any
92
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
93
+ # @param [Google::Apis::RequestOptions] options
94
+ # Request-specific options
95
+ #
96
+ # @yield [result, err] Result & error if block supplied
97
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
98
+ # @yieldparam err [StandardError] error object if request failed
99
+ #
100
+ # @return [Google::Apis::CloudidentityV1::Operation]
101
+ #
102
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
103
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
105
+ def delete_allowlisted_domain(name, fields: nil, quota_user: nil, options: nil, &block)
106
+ command = make_simple_command(:delete, 'v1/{+name}', options)
107
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
108
+ command.response_class = Google::Apis::CloudidentityV1::Operation
109
+ command.params['name'] = name unless name.nil?
110
+ command.query['fields'] = fields unless fields.nil?
111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
112
+ execute_or_queue_command(command, &block)
113
+ end
114
+
115
+ # Retrieves a specific domain from the allowlist.
116
+ # @param [String] name
117
+ # Required. Specifies the [resource name](https://google.aip.dev/122) of the
118
+ # domain to retrieve.
119
+ # @param [String] fields
120
+ # Selector specifying which fields to include in a partial response.
121
+ # @param [String] quota_user
122
+ # Available to use for quota purposes for server-side applications. Can be any
123
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
124
+ # @param [Google::Apis::RequestOptions] options
125
+ # Request-specific options
126
+ #
127
+ # @yield [result, err] Result & error if block supplied
128
+ # @yieldparam result [Google::Apis::CloudidentityV1::AllowlistedDomain] parsed result object
129
+ # @yieldparam err [StandardError] error object if request failed
130
+ #
131
+ # @return [Google::Apis::CloudidentityV1::AllowlistedDomain]
132
+ #
133
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
134
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
135
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
136
+ def get_allowlisted_domain(name, fields: nil, quota_user: nil, options: nil, &block)
137
+ command = make_simple_command(:get, 'v1/{+name}', options)
138
+ command.response_representation = Google::Apis::CloudidentityV1::AllowlistedDomain::Representation
139
+ command.response_class = Google::Apis::CloudidentityV1::AllowlistedDomain
140
+ command.params['name'] = name unless name.nil?
141
+ command.query['fields'] = fields unless fields.nil?
142
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
143
+ execute_or_queue_command(command, &block)
144
+ end
145
+
146
+ # Lists the domains in the allowlist.
147
+ # @param [String] filter
148
+ # Optional. Provides an optional filter for list results. Currently, only exact
149
+ # matches on the domain are supported, such as "domain = 'google.com'", with no
150
+ # composite conditions.
151
+ # @param [Fixnum] page_size
152
+ # Optional. Specifies the requested page size. If unspecified, the service
153
+ # returns at most 5000 domains. The maximum value is 5000; values above 5000
154
+ # coerce to 5000. The limits can change over time.
155
+ # @param [String] page_token
156
+ # Optional. Identifies a token from a previous page of results, if any.
157
+ # @param [String] fields
158
+ # Selector specifying which fields to include in a partial response.
159
+ # @param [String] quota_user
160
+ # Available to use for quota purposes for server-side applications. Can be any
161
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
162
+ # @param [Google::Apis::RequestOptions] options
163
+ # Request-specific options
164
+ #
165
+ # @yield [result, err] Result & error if block supplied
166
+ # @yieldparam result [Google::Apis::CloudidentityV1::ListAllowlistedDomainsResponse] parsed result object
167
+ # @yieldparam err [StandardError] error object if request failed
168
+ #
169
+ # @return [Google::Apis::CloudidentityV1::ListAllowlistedDomainsResponse]
170
+ #
171
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
172
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
173
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
174
+ def list_allowlisted_domains(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
175
+ command = make_simple_command(:get, 'v1/allowlistedDomains', options)
176
+ command.response_representation = Google::Apis::CloudidentityV1::ListAllowlistedDomainsResponse::Representation
177
+ command.response_class = Google::Apis::CloudidentityV1::ListAllowlistedDomainsResponse
178
+ command.query['filter'] = filter unless filter.nil?
179
+ command.query['pageSize'] = page_size unless page_size.nil?
180
+ command.query['pageToken'] = page_token unless page_token.nil?
181
+ command.query['fields'] = fields unless fields.nil?
182
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
183
+ execute_or_queue_command(command, &block)
184
+ end
185
+
54
186
  # Cancels a UserInvitation that was already sent.
55
187
  # @param [String] name
56
188
  # Required. `UserInvitation` name in the format `customers/`customer`/
@@ -1307,18 +1439,25 @@ module Google
1307
1439
  # The `next_page_token` value returned from a previous search request, if any.
1308
1440
  # @param [String] query
1309
1441
  # Required. The search query. * Must be specified in [Common Expression Language]
1310
- # (https://opensource.google/projects/cel). * Must contain equality operators on
1311
- # the parent, e.g. `parent == 'customers/`customer_id`'`. The `customer_id` must
1312
- # begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://
1313
- # support.google.com/cloudidentity/answer/10070793) * Can contain optional
1314
- # inclusion operators on `labels` such as `'cloudidentity.googleapis.com/groups.
1315
- # discussion_forum' in labels`). * Can contain an optional equality operator on `
1316
- # domain_name`. e.g. `domain_name == 'examplepetstore.com'` * Can contain
1317
- # optional `startsWith/contains/equality` operators on `group_key`, e.g. `
1318
- # group_key.startsWith('dev')`, `group_key.contains('dev'), group_key == 'dev@
1319
- # examplepetstore.com'` * Can contain optional `startsWith/contains/equality`
1320
- # operators on `display_name`, such as `display_name.startsWith('dev')` , `
1321
- # display_name.contains('dev')`, `display_name == 'dev'`
1442
+ # (https://opensource.google/projects/cel). See [CEL Introduction](https://
1443
+ # github.com/google/cel-spec/blob/master/doc/intro.md) for CEL syntax usage and
1444
+ # examples. * Must contain equality operators on the parent, e.g. `parent == '
1445
+ # customers/`customer_id`'`. The `customer_id` must begin with "C" (for example,
1446
+ # 'C046psxkn'). [Find your customer ID.] (https://support.google.com/
1447
+ # cloudidentity/answer/10070793) * Can contain optional inclusion operators on `
1448
+ # labels` such as `'cloudidentity.googleapis.com/groups.discussion_forum' in
1449
+ # labels`). * Can contain an optional equality operator on `domain_name`. e.g. `
1450
+ # domain_name == 'examplepetstore.com'` * Can contain optional `startsWith/
1451
+ # contains/equality` operators on `group_key`, e.g. `group_key.startsWith('dev')`
1452
+ # , `group_key.contains('dev'), group_key == 'dev@examplepetstore.com'` * Can
1453
+ # contain optional `startsWith/contains/equality` operators on `display_name`,
1454
+ # such as `display_name.startsWith('dev')` , `display_name.contains('dev')`, `
1455
+ # display_name == 'dev'` Examples: * Search for all discussion forums under a
1456
+ # customer: `parent == 'customers/C046psxkn' && 'cloudidentity.googleapis.com/
1457
+ # groups.discussion_forum' in labels` * Search for groups with key starting with
1458
+ # 'sales': `parent == 'customers/C046psxkn' && group_key.startsWith('sales')` *
1459
+ # Search for groups with display name containing 'test': `parent == 'customers/
1460
+ # C046psxkn' && display_name.contains('test')`
1322
1461
  # @param [String] view
1323
1462
  # The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
1324
1463
  # @param [String] fields
@@ -29,6 +29,12 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
+ # See and edit allowlisted domains in your Cloud Identity Organization
33
+ AUTH_CLOUD_IDENTITY_ALLOWLISTEDDOMAINS = 'https://www.googleapis.com/auth/cloud-identity.allowlisteddomains'
34
+
35
+ # See allowlisted domains in your Cloud Identity Organization
36
+ AUTH_CLOUD_IDENTITY_ALLOWLISTEDDOMAINS_READONLY = 'https://www.googleapis.com/auth/cloud-identity.allowlisteddomains.readonly'
37
+
32
38
  # Private Service: https://www.googleapis.com/auth/cloud-identity.devices
33
39
  AUTH_CLOUD_IDENTITY_DEVICES = 'https://www.googleapis.com/auth/cloud-identity.devices'
34
40
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudidentity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.0
4
+ version: 0.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.62.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.64.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1
62
62
  rdoc_options: []
63
63
  require_paths: