google-apis-iam_v1 0.18.0 → 0.21.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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/iam_v1/classes.rb +3 -3
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/service.rb +275 -182
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e91cdeb53337f53e42f23492dbf0f41571b3bdfc932289f0f79d925d4a42738
|
4
|
+
data.tar.gz: efd6ffb685490fa9cadb282dd376fe8a905f94e8517525698f49c9d523e3782a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47896b0395c27d16b25c586dd0a26cd01d682c79f3b5ef18b081ceac47f4e0cd15a13789eee44ca974b15672fee53b92b8550974ec0715e803e7c9e99b911571
|
7
|
+
data.tar.gz: acdb346737e537ed5c387e34884c05f32b91dc7c4e6b98c1bf4315c8ae4859f7c606e2021a83062097a93aa438b105c1336cb2f1248a10c38f04df8e3d59484a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-iam_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-02-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220217
|
6
|
+
|
7
|
+
### v0.20.0 (2022-02-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220209
|
10
|
+
|
11
|
+
### v0.19.0 (2022-01-21)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220112
|
14
|
+
|
3
15
|
### v0.18.0 (2022-01-13)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220105
|
@@ -1929,9 +1929,9 @@ module Google
|
|
1929
1929
|
# must be a string specifying the Google Cloud IAM attribute to map to. The
|
1930
1930
|
# following keys are supported: * `google.subject`: The principal IAM is
|
1931
1931
|
# authenticating. You can reference this value in IAM bindings. This is also the
|
1932
|
-
# subject that appears in Cloud Logging logs. Cannot exceed 127
|
1933
|
-
#
|
1934
|
-
#
|
1932
|
+
# subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. * `google.
|
1933
|
+
# groups`: Groups the external identity belongs to. You can grant groups access
|
1934
|
+
# to resources using an IAM `principalSet` binding; access applies to all
|
1935
1935
|
# members of the group. You can also provide custom attributes by specifying `
|
1936
1936
|
# attribute.`custom_attribute``, where ``custom_attribute`` is the name of the
|
1937
1937
|
# custom attribute to be mapped. You can define a maximum of 50 custom
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IamV1
|
18
18
|
# Version of the google-apis-iam_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220217"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -178,21 +178,54 @@ module Google
|
|
178
178
|
execute_or_queue_command(command, &block)
|
179
179
|
end
|
180
180
|
|
181
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
182
|
+
# to poll the operation result at intervals as recommended by the API service.
|
183
|
+
# @param [String] name
|
184
|
+
# The name of the operation resource.
|
185
|
+
# @param [String] fields
|
186
|
+
# Selector specifying which fields to include in a partial response.
|
187
|
+
# @param [String] quota_user
|
188
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
189
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
190
|
+
# @param [Google::Apis::RequestOptions] options
|
191
|
+
# Request-specific options
|
192
|
+
#
|
193
|
+
# @yield [result, err] Result & error if block supplied
|
194
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
195
|
+
# @yieldparam err [StandardError] error object if request failed
|
196
|
+
#
|
197
|
+
# @return [Google::Apis::IamV1::Operation]
|
198
|
+
#
|
199
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
200
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
201
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
202
|
+
def get_location_workforce_pool_subject_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
203
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
204
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
205
|
+
command.response_class = Google::Apis::IamV1::Operation
|
206
|
+
command.params['name'] = name unless name.nil?
|
207
|
+
command.query['fields'] = fields unless fields.nil?
|
208
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
209
|
+
execute_or_queue_command(command, &block)
|
210
|
+
end
|
211
|
+
|
181
212
|
# Creates a new custom Role.
|
182
213
|
# @param [String] parent
|
183
214
|
# The `parent` parameter's value depends on the target resource for the request,
|
184
|
-
# namely [`projects`](/iam/reference/rest/v1/projects.
|
185
|
-
# (/iam/reference/rest/v1/
|
186
|
-
# value format is described
|
215
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
216
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
217
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
218
|
+
# below: * [`projects.roles.create()`](https://cloud.google.com/iam/reference/
|
187
219
|
# rest/v1/projects.roles/create): `projects/`PROJECT_ID``. This method creates
|
188
|
-
# project-level [custom roles](/iam/docs/understanding-
|
189
|
-
# request URL: `https://iam.googleapis.com/v1/projects/`
|
190
|
-
# organizations.roles.create()`](
|
191
|
-
# create): `organizations/`
|
192
|
-
# level [custom roles](
|
193
|
-
#
|
194
|
-
# Note:
|
195
|
-
#
|
220
|
+
# project-level [custom roles](https://cloud.google.com/iam/docs/understanding-
|
221
|
+
# custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
|
222
|
+
# PROJECT_ID`/roles` * [`organizations.roles.create()`](https://cloud.google.com/
|
223
|
+
# iam/reference/rest/v1/organizations.roles/create): `organizations/`
|
224
|
+
# ORGANIZATION_ID``. This method creates organization-level [custom roles](https:
|
225
|
+
# //cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `
|
226
|
+
# https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles` Note:
|
227
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
228
|
+
# organization ID.
|
196
229
|
# @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object
|
197
230
|
# @param [String] fields
|
198
231
|
# Selector specifying which fields to include in a partial response.
|
@@ -233,16 +266,18 @@ module Google
|
|
233
266
|
# binding is permanently removed.
|
234
267
|
# @param [String] name
|
235
268
|
# The `name` parameter's value depends on the target resource for the request,
|
236
|
-
# namely [`projects`](/iam/reference/rest/v1/projects.
|
237
|
-
# (/iam/reference/rest/v1/
|
238
|
-
# value format is described
|
269
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
270
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
271
|
+
# organizations.roles). Each resource type's `name` value format is described
|
272
|
+
# below: * [`projects.roles.delete()`](https://cloud.google.com/iam/reference/
|
239
273
|
# rest/v1/projects.roles/delete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
240
|
-
# This method deletes only [custom roles](/iam/docs/
|
241
|
-
# that have been created at the project level.
|
242
|
-
# googleapis.com/v1/projects/`PROJECT_ID`/
|
243
|
-
# organizations.roles.delete()`](
|
244
|
-
# delete): `organizations/`
|
245
|
-
# deletes only [custom
|
274
|
+
# This method deletes only [custom roles](https://cloud.google.com/iam/docs/
|
275
|
+
# understanding-custom-roles) that have been created at the project level.
|
276
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
277
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.delete()`](https://cloud.
|
278
|
+
# google.com/iam/reference/rest/v1/organizations.roles/delete): `organizations/`
|
279
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only [custom
|
280
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
246
281
|
# been created at the organization level. Example request URL: `https://iam.
|
247
282
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
248
283
|
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
@@ -280,24 +315,26 @@ module Google
|
|
280
315
|
# Gets the definition of a Role.
|
281
316
|
# @param [String] name
|
282
317
|
# The `name` parameter's value depends on the target resource for the request,
|
283
|
-
# namely [`roles`](/iam/reference/rest/v1/roles), [`
|
284
|
-
# rest/v1/projects.roles), or [
|
285
|
-
# organizations.
|
286
|
-
# below: * [`roles.
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
290
|
-
# iam/
|
291
|
-
#
|
292
|
-
#
|
293
|
-
#
|
294
|
-
# roles
|
318
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
319
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
320
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
321
|
+
# roles). Each resource type's `name` value format is described below: * [`roles.
|
322
|
+
# get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/`
|
323
|
+
# ROLE_NAME``. This method returns results from all [predefined roles](https://
|
324
|
+
# cloud.google.com/iam/docs/understanding-roles#predefined_roles) in Cloud IAM.
|
325
|
+
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`
|
326
|
+
# projects.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
327
|
+
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method
|
328
|
+
# returns only [custom roles](https://cloud.google.com/iam/docs/understanding-
|
329
|
+
# custom-roles) that have been created at the project level. Example request URL:
|
330
|
+
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` *
|
331
|
+
# [`organizations.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/
|
295
332
|
# organizations.roles/get): `organizations/`ORGANIZATION_ID`/roles/`
|
296
|
-
# CUSTOM_ROLE_ID``. This method returns only [custom roles](
|
297
|
-
# understanding-custom-roles) that have been created at the
|
298
|
-
# Example request URL: `https://iam.googleapis.com/v1/
|
299
|
-
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
300
|
-
# you must specify a complete project ID or organization ID.
|
333
|
+
# CUSTOM_ROLE_ID``. This method returns only [custom roles](https://cloud.google.
|
334
|
+
# com/iam/docs/understanding-custom-roles) that have been created at the
|
335
|
+
# organization level. Example request URL: `https://iam.googleapis.com/v1/
|
336
|
+
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
337
|
+
# values are invalid; you must specify a complete project ID or organization ID.
|
301
338
|
# @param [String] fields
|
302
339
|
# Selector specifying which fields to include in a partial response.
|
303
340
|
# @param [String] quota_user
|
@@ -329,22 +366,25 @@ module Google
|
|
329
366
|
# defined for an organization or project.
|
330
367
|
# @param [String] parent
|
331
368
|
# The `parent` parameter's value depends on the target resource for the request,
|
332
|
-
# namely [`roles`](/iam/reference/rest/v1/roles), [`
|
333
|
-
# rest/v1/projects.roles), or [
|
334
|
-
# organizations.
|
335
|
-
# below: * [`
|
336
|
-
#
|
337
|
-
#
|
338
|
-
#
|
339
|
-
#
|
340
|
-
#
|
341
|
-
# roles)
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
# ORGANIZATION_ID
|
347
|
-
#
|
369
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
370
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
371
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
372
|
+
# roles). Each resource type's `parent` value format is described below: * [`
|
373
|
+
# roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An
|
374
|
+
# empty string. This method doesn't require a resource; it simply returns all [
|
375
|
+
# predefined roles](https://cloud.google.com/iam/docs/understanding-roles#
|
376
|
+
# predefined_roles) in Cloud IAM. Example request URL: `https://iam.googleapis.
|
377
|
+
# com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/
|
378
|
+
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This method
|
379
|
+
# lists all project-level [custom roles](https://cloud.google.com/iam/docs/
|
380
|
+
# understanding-custom-roles). Example request URL: `https://iam.googleapis.com/
|
381
|
+
# v1/projects/`PROJECT_ID`/roles` * [`organizations.roles.list()`](https://cloud.
|
382
|
+
# google.com/iam/reference/rest/v1/organizations.roles/list): `organizations/`
|
383
|
+
# ORGANIZATION_ID``. This method lists all organization-level [custom roles](
|
384
|
+
# https://cloud.google.com/iam/docs/understanding-custom-roles). Example request
|
385
|
+
# URL: `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
|
386
|
+
# Note: Wildcard (*) values are invalid; you must specify a complete project ID
|
387
|
+
# or organization ID.
|
348
388
|
# @param [Fixnum] page_size
|
349
389
|
# Optional limit on the number of roles to include in the response. The default
|
350
390
|
# is 300, and the maximum is 1,000.
|
@@ -391,16 +431,18 @@ module Google
|
|
391
431
|
# Updates the definition of a custom Role.
|
392
432
|
# @param [String] name
|
393
433
|
# The `name` parameter's value depends on the target resource for the request,
|
394
|
-
# namely [`projects`](/iam/reference/rest/v1/projects.
|
395
|
-
# (/iam/reference/rest/v1/
|
396
|
-
# value format is described
|
434
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
435
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
436
|
+
# organizations.roles). Each resource type's `name` value format is described
|
437
|
+
# below: * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/
|
397
438
|
# rest/v1/projects.roles/patch): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
398
|
-
# This method updates only [custom roles](/iam/docs/
|
399
|
-
# that have been created at the project level.
|
400
|
-
# googleapis.com/v1/projects/`PROJECT_ID`/
|
401
|
-
# organizations.roles.patch()`](
|
402
|
-
# : `organizations/`
|
403
|
-
# updates only [custom
|
439
|
+
# This method updates only [custom roles](https://cloud.google.com/iam/docs/
|
440
|
+
# understanding-custom-roles) that have been created at the project level.
|
441
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
442
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.patch()`](https://cloud.google.
|
443
|
+
# com/iam/reference/rest/v1/organizations.roles/patch): `organizations/`
|
444
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only [custom
|
445
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
404
446
|
# been created at the organization level. Example request URL: `https://iam.
|
405
447
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
406
448
|
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
@@ -441,20 +483,22 @@ module Google
|
|
441
483
|
# Undeletes a custom Role.
|
442
484
|
# @param [String] name
|
443
485
|
# The `name` parameter's value depends on the target resource for the request,
|
444
|
-
# namely [`projects`](/iam/reference/rest/v1/projects.
|
445
|
-
# (/iam/reference/rest/v1/
|
446
|
-
# value format is described
|
447
|
-
#
|
448
|
-
#
|
486
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
487
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
488
|
+
# organizations.roles). Each resource type's `name` value format is described
|
489
|
+
# below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/
|
490
|
+
# rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`
|
491
|
+
# `. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/
|
449
492
|
# understanding-custom-roles) that have been created at the project level.
|
450
493
|
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
451
|
-
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.undelete()`](
|
452
|
-
# rest/v1/organizations.roles/undelete): `organizations
|
453
|
-
# CUSTOM_ROLE_ID``. This method undeletes only [custom
|
454
|
-
# understanding-custom-roles) that have
|
455
|
-
# Example request URL: `https://iam.
|
456
|
-
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
457
|
-
# you must specify a complete project ID or
|
494
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.undelete()`](https://cloud.
|
495
|
+
# google.com/iam/reference/rest/v1/organizations.roles/undelete): `organizations/
|
496
|
+
# `ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method undeletes only [custom
|
497
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
498
|
+
# been created at the organization level. Example request URL: `https://iam.
|
499
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
500
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
501
|
+
# organization ID.
|
458
502
|
# @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_request_object
|
459
503
|
# @param [String] fields
|
460
504
|
# Selector specifying which fields to include in a partial response.
|
@@ -983,6 +1027,37 @@ module Google
|
|
983
1027
|
execute_or_queue_command(command, &block)
|
984
1028
|
end
|
985
1029
|
|
1030
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1031
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1032
|
+
# @param [String] name
|
1033
|
+
# The name of the operation resource.
|
1034
|
+
# @param [String] fields
|
1035
|
+
# Selector specifying which fields to include in a partial response.
|
1036
|
+
# @param [String] quota_user
|
1037
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1038
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1039
|
+
# @param [Google::Apis::RequestOptions] options
|
1040
|
+
# Request-specific options
|
1041
|
+
#
|
1042
|
+
# @yield [result, err] Result & error if block supplied
|
1043
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
1044
|
+
# @yieldparam err [StandardError] error object if request failed
|
1045
|
+
#
|
1046
|
+
# @return [Google::Apis::IamV1::Operation]
|
1047
|
+
#
|
1048
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1049
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1050
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1051
|
+
def get_project_location_workload_identity_pool_provider_key_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1052
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1053
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
1054
|
+
command.response_class = Google::Apis::IamV1::Operation
|
1055
|
+
command.params['name'] = name unless name.nil?
|
1056
|
+
command.query['fields'] = fields unless fields.nil?
|
1057
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1058
|
+
execute_or_queue_command(command, &block)
|
1059
|
+
end
|
1060
|
+
|
986
1061
|
# Gets the latest state of a long-running operation. Clients can use this method
|
987
1062
|
# to poll the operation result at intervals as recommended by the API service.
|
988
1063
|
# @param [String] name
|
@@ -1017,18 +1092,20 @@ module Google
|
|
1017
1092
|
# Creates a new custom Role.
|
1018
1093
|
# @param [String] parent
|
1019
1094
|
# The `parent` parameter's value depends on the target resource for the request,
|
1020
|
-
# namely [`projects`](/iam/reference/rest/v1/projects.
|
1021
|
-
# (/iam/reference/rest/v1/
|
1022
|
-
# value format is described
|
1095
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1096
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
1097
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
1098
|
+
# below: * [`projects.roles.create()`](https://cloud.google.com/iam/reference/
|
1023
1099
|
# rest/v1/projects.roles/create): `projects/`PROJECT_ID``. This method creates
|
1024
|
-
# project-level [custom roles](/iam/docs/understanding-
|
1025
|
-
# request URL: `https://iam.googleapis.com/v1/projects/`
|
1026
|
-
# organizations.roles.create()`](
|
1027
|
-
# create): `organizations/`
|
1028
|
-
# level [custom roles](
|
1029
|
-
#
|
1030
|
-
# Note:
|
1031
|
-
#
|
1100
|
+
# project-level [custom roles](https://cloud.google.com/iam/docs/understanding-
|
1101
|
+
# custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
|
1102
|
+
# PROJECT_ID`/roles` * [`organizations.roles.create()`](https://cloud.google.com/
|
1103
|
+
# iam/reference/rest/v1/organizations.roles/create): `organizations/`
|
1104
|
+
# ORGANIZATION_ID``. This method creates organization-level [custom roles](https:
|
1105
|
+
# //cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `
|
1106
|
+
# https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles` Note:
|
1107
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1108
|
+
# organization ID.
|
1032
1109
|
# @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object
|
1033
1110
|
# @param [String] fields
|
1034
1111
|
# Selector specifying which fields to include in a partial response.
|
@@ -1069,16 +1146,18 @@ module Google
|
|
1069
1146
|
# binding is permanently removed.
|
1070
1147
|
# @param [String] name
|
1071
1148
|
# The `name` parameter's value depends on the target resource for the request,
|
1072
|
-
# namely [`projects`](/iam/reference/rest/v1/projects.
|
1073
|
-
# (/iam/reference/rest/v1/
|
1074
|
-
# value format is described
|
1149
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1150
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
1151
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1152
|
+
# below: * [`projects.roles.delete()`](https://cloud.google.com/iam/reference/
|
1075
1153
|
# rest/v1/projects.roles/delete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
1076
|
-
# This method deletes only [custom roles](/iam/docs/
|
1077
|
-
# that have been created at the project level.
|
1078
|
-
# googleapis.com/v1/projects/`PROJECT_ID`/
|
1079
|
-
# organizations.roles.delete()`](
|
1080
|
-
# delete): `organizations/`
|
1081
|
-
# deletes only [custom
|
1154
|
+
# This method deletes only [custom roles](https://cloud.google.com/iam/docs/
|
1155
|
+
# understanding-custom-roles) that have been created at the project level.
|
1156
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1157
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.delete()`](https://cloud.
|
1158
|
+
# google.com/iam/reference/rest/v1/organizations.roles/delete): `organizations/`
|
1159
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only [custom
|
1160
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1082
1161
|
# been created at the organization level. Example request URL: `https://iam.
|
1083
1162
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1084
1163
|
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
@@ -1116,24 +1195,26 @@ module Google
|
|
1116
1195
|
# Gets the definition of a Role.
|
1117
1196
|
# @param [String] name
|
1118
1197
|
# The `name` parameter's value depends on the target resource for the request,
|
1119
|
-
# namely [`roles`](/iam/reference/rest/v1/roles), [`
|
1120
|
-
# rest/v1/projects.roles), or [
|
1121
|
-
# organizations.
|
1122
|
-
# below: * [`roles.
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
# iam/
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
# roles
|
1198
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
1199
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
1200
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
1201
|
+
# roles). Each resource type's `name` value format is described below: * [`roles.
|
1202
|
+
# get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/`
|
1203
|
+
# ROLE_NAME``. This method returns results from all [predefined roles](https://
|
1204
|
+
# cloud.google.com/iam/docs/understanding-roles#predefined_roles) in Cloud IAM.
|
1205
|
+
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`
|
1206
|
+
# projects.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1207
|
+
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method
|
1208
|
+
# returns only [custom roles](https://cloud.google.com/iam/docs/understanding-
|
1209
|
+
# custom-roles) that have been created at the project level. Example request URL:
|
1210
|
+
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` *
|
1211
|
+
# [`organizations.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/
|
1131
1212
|
# organizations.roles/get): `organizations/`ORGANIZATION_ID`/roles/`
|
1132
|
-
# CUSTOM_ROLE_ID``. This method returns only [custom roles](
|
1133
|
-
# understanding-custom-roles) that have been created at the
|
1134
|
-
# Example request URL: `https://iam.googleapis.com/v1/
|
1135
|
-
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
1136
|
-
# you must specify a complete project ID or organization ID.
|
1213
|
+
# CUSTOM_ROLE_ID``. This method returns only [custom roles](https://cloud.google.
|
1214
|
+
# com/iam/docs/understanding-custom-roles) that have been created at the
|
1215
|
+
# organization level. Example request URL: `https://iam.googleapis.com/v1/
|
1216
|
+
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
1217
|
+
# values are invalid; you must specify a complete project ID or organization ID.
|
1137
1218
|
# @param [String] fields
|
1138
1219
|
# Selector specifying which fields to include in a partial response.
|
1139
1220
|
# @param [String] quota_user
|
@@ -1165,22 +1246,25 @@ module Google
|
|
1165
1246
|
# defined for an organization or project.
|
1166
1247
|
# @param [String] parent
|
1167
1248
|
# The `parent` parameter's value depends on the target resource for the request,
|
1168
|
-
# namely [`roles`](/iam/reference/rest/v1/roles), [`
|
1169
|
-
# rest/v1/projects.roles), or [
|
1170
|
-
# organizations.
|
1171
|
-
# below: * [`
|
1172
|
-
#
|
1173
|
-
#
|
1174
|
-
#
|
1175
|
-
#
|
1176
|
-
#
|
1177
|
-
# roles)
|
1178
|
-
#
|
1179
|
-
#
|
1180
|
-
#
|
1181
|
-
#
|
1182
|
-
# ORGANIZATION_ID
|
1183
|
-
#
|
1249
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
1250
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
1251
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
1252
|
+
# roles). Each resource type's `parent` value format is described below: * [`
|
1253
|
+
# roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An
|
1254
|
+
# empty string. This method doesn't require a resource; it simply returns all [
|
1255
|
+
# predefined roles](https://cloud.google.com/iam/docs/understanding-roles#
|
1256
|
+
# predefined_roles) in Cloud IAM. Example request URL: `https://iam.googleapis.
|
1257
|
+
# com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/
|
1258
|
+
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This method
|
1259
|
+
# lists all project-level [custom roles](https://cloud.google.com/iam/docs/
|
1260
|
+
# understanding-custom-roles). Example request URL: `https://iam.googleapis.com/
|
1261
|
+
# v1/projects/`PROJECT_ID`/roles` * [`organizations.roles.list()`](https://cloud.
|
1262
|
+
# google.com/iam/reference/rest/v1/organizations.roles/list): `organizations/`
|
1263
|
+
# ORGANIZATION_ID``. This method lists all organization-level [custom roles](
|
1264
|
+
# https://cloud.google.com/iam/docs/understanding-custom-roles). Example request
|
1265
|
+
# URL: `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
|
1266
|
+
# Note: Wildcard (*) values are invalid; you must specify a complete project ID
|
1267
|
+
# or organization ID.
|
1184
1268
|
# @param [Fixnum] page_size
|
1185
1269
|
# Optional limit on the number of roles to include in the response. The default
|
1186
1270
|
# is 300, and the maximum is 1,000.
|
@@ -1227,16 +1311,18 @@ module Google
|
|
1227
1311
|
# Updates the definition of a custom Role.
|
1228
1312
|
# @param [String] name
|
1229
1313
|
# The `name` parameter's value depends on the target resource for the request,
|
1230
|
-
# namely [`projects`](/iam/reference/rest/v1/projects.
|
1231
|
-
# (/iam/reference/rest/v1/
|
1232
|
-
# value format is described
|
1314
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1315
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
1316
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1317
|
+
# below: * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/
|
1233
1318
|
# rest/v1/projects.roles/patch): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
1234
|
-
# This method updates only [custom roles](/iam/docs/
|
1235
|
-
# that have been created at the project level.
|
1236
|
-
# googleapis.com/v1/projects/`PROJECT_ID`/
|
1237
|
-
# organizations.roles.patch()`](
|
1238
|
-
# : `organizations/`
|
1239
|
-
# updates only [custom
|
1319
|
+
# This method updates only [custom roles](https://cloud.google.com/iam/docs/
|
1320
|
+
# understanding-custom-roles) that have been created at the project level.
|
1321
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1322
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.patch()`](https://cloud.google.
|
1323
|
+
# com/iam/reference/rest/v1/organizations.roles/patch): `organizations/`
|
1324
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only [custom
|
1325
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1240
1326
|
# been created at the organization level. Example request URL: `https://iam.
|
1241
1327
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1242
1328
|
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
@@ -1277,20 +1363,22 @@ module Google
|
|
1277
1363
|
# Undeletes a custom Role.
|
1278
1364
|
# @param [String] name
|
1279
1365
|
# The `name` parameter's value depends on the target resource for the request,
|
1280
|
-
# namely [`projects`](/iam/reference/rest/v1/projects.
|
1281
|
-
# (/iam/reference/rest/v1/
|
1282
|
-
# value format is described
|
1283
|
-
#
|
1284
|
-
#
|
1366
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1367
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
1368
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1369
|
+
# below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/
|
1370
|
+
# rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`
|
1371
|
+
# `. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/
|
1285
1372
|
# understanding-custom-roles) that have been created at the project level.
|
1286
1373
|
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1287
|
-
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.undelete()`](
|
1288
|
-
# rest/v1/organizations.roles/undelete): `organizations
|
1289
|
-
# CUSTOM_ROLE_ID``. This method undeletes only [custom
|
1290
|
-
# understanding-custom-roles) that have
|
1291
|
-
# Example request URL: `https://iam.
|
1292
|
-
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1293
|
-
# you must specify a complete project ID or
|
1374
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.undelete()`](https://cloud.
|
1375
|
+
# google.com/iam/reference/rest/v1/organizations.roles/undelete): `organizations/
|
1376
|
+
# `ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method undeletes only [custom
|
1377
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1378
|
+
# been created at the organization level. Example request URL: `https://iam.
|
1379
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1380
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1381
|
+
# organization ID.
|
1294
1382
|
# @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_request_object
|
1295
1383
|
# @param [String] fields
|
1296
1384
|
# Selector specifying which fields to include in a partial response.
|
@@ -1855,7 +1943,7 @@ module Google
|
|
1855
1943
|
|
1856
1944
|
# **Note:** We are in the process of deprecating this method. Use
|
1857
1945
|
# PatchServiceAccount instead. Updates a ServiceAccount. You can update only the
|
1858
|
-
# `display_name`
|
1946
|
+
# `display_name` field.
|
1859
1947
|
# @param [String] name
|
1860
1948
|
# The resource name of the service account. Use one of the following formats: * `
|
1861
1949
|
# projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`
|
@@ -2158,24 +2246,26 @@ module Google
|
|
2158
2246
|
# Gets the definition of a Role.
|
2159
2247
|
# @param [String] name
|
2160
2248
|
# The `name` parameter's value depends on the target resource for the request,
|
2161
|
-
# namely [`roles`](/iam/reference/rest/v1/roles), [`
|
2162
|
-
# rest/v1/projects.roles), or [
|
2163
|
-
# organizations.
|
2164
|
-
# below: * [`roles.
|
2165
|
-
#
|
2166
|
-
#
|
2167
|
-
#
|
2168
|
-
# iam/
|
2169
|
-
#
|
2170
|
-
#
|
2171
|
-
#
|
2172
|
-
# roles
|
2249
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
2250
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
2251
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
2252
|
+
# roles). Each resource type's `name` value format is described below: * [`roles.
|
2253
|
+
# get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/`
|
2254
|
+
# ROLE_NAME``. This method returns results from all [predefined roles](https://
|
2255
|
+
# cloud.google.com/iam/docs/understanding-roles#predefined_roles) in Cloud IAM.
|
2256
|
+
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`
|
2257
|
+
# projects.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
2258
|
+
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method
|
2259
|
+
# returns only [custom roles](https://cloud.google.com/iam/docs/understanding-
|
2260
|
+
# custom-roles) that have been created at the project level. Example request URL:
|
2261
|
+
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` *
|
2262
|
+
# [`organizations.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/
|
2173
2263
|
# organizations.roles/get): `organizations/`ORGANIZATION_ID`/roles/`
|
2174
|
-
# CUSTOM_ROLE_ID``. This method returns only [custom roles](
|
2175
|
-
# understanding-custom-roles) that have been created at the
|
2176
|
-
# Example request URL: `https://iam.googleapis.com/v1/
|
2177
|
-
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
2178
|
-
# you must specify a complete project ID or organization ID.
|
2264
|
+
# CUSTOM_ROLE_ID``. This method returns only [custom roles](https://cloud.google.
|
2265
|
+
# com/iam/docs/understanding-custom-roles) that have been created at the
|
2266
|
+
# organization level. Example request URL: `https://iam.googleapis.com/v1/
|
2267
|
+
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
2268
|
+
# values are invalid; you must specify a complete project ID or organization ID.
|
2179
2269
|
# @param [String] fields
|
2180
2270
|
# Selector specifying which fields to include in a partial response.
|
2181
2271
|
# @param [String] quota_user
|
@@ -2212,22 +2302,25 @@ module Google
|
|
2212
2302
|
# Optional pagination token returned in an earlier ListRolesResponse.
|
2213
2303
|
# @param [String] parent
|
2214
2304
|
# The `parent` parameter's value depends on the target resource for the request,
|
2215
|
-
# namely [`roles`](/iam/reference/rest/v1/roles), [`
|
2216
|
-
# rest/v1/projects.roles), or [
|
2217
|
-
# organizations.
|
2218
|
-
# below: * [`
|
2219
|
-
#
|
2220
|
-
#
|
2221
|
-
#
|
2222
|
-
#
|
2223
|
-
#
|
2224
|
-
# roles)
|
2225
|
-
#
|
2226
|
-
#
|
2227
|
-
#
|
2228
|
-
#
|
2229
|
-
# ORGANIZATION_ID
|
2230
|
-
#
|
2305
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
2306
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
2307
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
2308
|
+
# roles). Each resource type's `parent` value format is described below: * [`
|
2309
|
+
# roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An
|
2310
|
+
# empty string. This method doesn't require a resource; it simply returns all [
|
2311
|
+
# predefined roles](https://cloud.google.com/iam/docs/understanding-roles#
|
2312
|
+
# predefined_roles) in Cloud IAM. Example request URL: `https://iam.googleapis.
|
2313
|
+
# com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/
|
2314
|
+
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This method
|
2315
|
+
# lists all project-level [custom roles](https://cloud.google.com/iam/docs/
|
2316
|
+
# understanding-custom-roles). Example request URL: `https://iam.googleapis.com/
|
2317
|
+
# v1/projects/`PROJECT_ID`/roles` * [`organizations.roles.list()`](https://cloud.
|
2318
|
+
# google.com/iam/reference/rest/v1/organizations.roles/list): `organizations/`
|
2319
|
+
# ORGANIZATION_ID``. This method lists all organization-level [custom roles](
|
2320
|
+
# https://cloud.google.com/iam/docs/understanding-custom-roles). Example request
|
2321
|
+
# URL: `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
|
2322
|
+
# Note: Wildcard (*) values are invalid; you must specify a complete project ID
|
2323
|
+
# or organization ID.
|
2231
2324
|
# @param [Boolean] show_deleted
|
2232
2325
|
# Include Roles that have been deleted.
|
2233
2326
|
# @param [String] view
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-iam_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -59,7 +59,7 @@ licenses:
|
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.21.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|