google-apis-iam_v1 0.16.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/iam_v1/classes.rb +3 -3
- data/lib/google/apis/iam_v1/gem_version.rb +3 -3
- data/lib/google/apis/iam_v1/service.rb +246 -184
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a5293bc151a718b9fab99345ae92ebca8a27b7612d117db65f528b2ae3f7739
|
4
|
+
data.tar.gz: '00582dba2680f245aa8eb4f5a2b6314359af24f281efcf1691850e79a1e55c7e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c6af26d7557a64881f0d476e8ff3359502cd9ba34782c0f140f4851722143c4c9717a48115c7eee6ffc59277a6964b653632d19515c7da6ef63e789c1c7774a
|
7
|
+
data.tar.gz: cd46c99f053924eb2a6ade10314ee2ceaa3e42491e714c3390cdc381187072dac365918d52e0a3c53b6d1948e980cd4f76111a32ad8e5eaa56fc2778a5c0a4d4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-iam_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2022-02-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220209
|
6
|
+
|
7
|
+
### v0.19.0 (2022-01-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220112
|
10
|
+
|
11
|
+
### v0.18.0 (2022-01-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220105
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.17.0 (2021-12-16)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.16.0 (2021-11-11)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211104
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/iam_v1"
|
|
51
51
|
client = Google::Apis::IamV1::IamService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220209"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -181,18 +181,20 @@ module Google
|
|
181
181
|
# Creates a new custom Role.
|
182
182
|
# @param [String] parent
|
183
183
|
# 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
|
184
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
185
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
186
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
187
|
+
# below: * [`projects.roles.create()`](https://cloud.google.com/iam/reference/
|
187
188
|
# 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
|
-
#
|
189
|
+
# project-level [custom roles](https://cloud.google.com/iam/docs/understanding-
|
190
|
+
# custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
|
191
|
+
# PROJECT_ID`/roles` * [`organizations.roles.create()`](https://cloud.google.com/
|
192
|
+
# iam/reference/rest/v1/organizations.roles/create): `organizations/`
|
193
|
+
# ORGANIZATION_ID``. This method creates organization-level [custom roles](https:
|
194
|
+
# //cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `
|
195
|
+
# https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles` Note:
|
196
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
197
|
+
# organization ID.
|
196
198
|
# @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object
|
197
199
|
# @param [String] fields
|
198
200
|
# Selector specifying which fields to include in a partial response.
|
@@ -233,16 +235,18 @@ module Google
|
|
233
235
|
# binding is permanently removed.
|
234
236
|
# @param [String] name
|
235
237
|
# 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
|
238
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
239
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
240
|
+
# organizations.roles). Each resource type's `name` value format is described
|
241
|
+
# below: * [`projects.roles.delete()`](https://cloud.google.com/iam/reference/
|
239
242
|
# 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
|
243
|
+
# This method deletes only [custom roles](https://cloud.google.com/iam/docs/
|
244
|
+
# understanding-custom-roles) that have been created at the project level.
|
245
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
246
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.delete()`](https://cloud.
|
247
|
+
# google.com/iam/reference/rest/v1/organizations.roles/delete): `organizations/`
|
248
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only [custom
|
249
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
246
250
|
# been created at the organization level. Example request URL: `https://iam.
|
247
251
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
248
252
|
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
@@ -280,24 +284,26 @@ module Google
|
|
280
284
|
# Gets the definition of a Role.
|
281
285
|
# @param [String] name
|
282
286
|
# 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
|
287
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
288
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
289
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
290
|
+
# roles). Each resource type's `name` value format is described below: * [`roles.
|
291
|
+
# get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/`
|
292
|
+
# ROLE_NAME``. This method returns results from all [predefined roles](https://
|
293
|
+
# cloud.google.com/iam/docs/understanding-roles#predefined_roles) in Cloud IAM.
|
294
|
+
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`
|
295
|
+
# projects.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
296
|
+
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method
|
297
|
+
# returns only [custom roles](https://cloud.google.com/iam/docs/understanding-
|
298
|
+
# custom-roles) that have been created at the project level. Example request URL:
|
299
|
+
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` *
|
300
|
+
# [`organizations.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/
|
295
301
|
# 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.
|
302
|
+
# CUSTOM_ROLE_ID``. This method returns only [custom roles](https://cloud.google.
|
303
|
+
# com/iam/docs/understanding-custom-roles) that have been created at the
|
304
|
+
# organization level. Example request URL: `https://iam.googleapis.com/v1/
|
305
|
+
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
306
|
+
# values are invalid; you must specify a complete project ID or organization ID.
|
301
307
|
# @param [String] fields
|
302
308
|
# Selector specifying which fields to include in a partial response.
|
303
309
|
# @param [String] quota_user
|
@@ -329,22 +335,25 @@ module Google
|
|
329
335
|
# defined for an organization or project.
|
330
336
|
# @param [String] parent
|
331
337
|
# 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
|
-
#
|
338
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
339
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
340
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
341
|
+
# roles). Each resource type's `parent` value format is described below: * [`
|
342
|
+
# roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An
|
343
|
+
# empty string. This method doesn't require a resource; it simply returns all [
|
344
|
+
# predefined roles](https://cloud.google.com/iam/docs/understanding-roles#
|
345
|
+
# predefined_roles) in Cloud IAM. Example request URL: `https://iam.googleapis.
|
346
|
+
# com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/
|
347
|
+
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This method
|
348
|
+
# lists all project-level [custom roles](https://cloud.google.com/iam/docs/
|
349
|
+
# understanding-custom-roles). Example request URL: `https://iam.googleapis.com/
|
350
|
+
# v1/projects/`PROJECT_ID`/roles` * [`organizations.roles.list()`](https://cloud.
|
351
|
+
# google.com/iam/reference/rest/v1/organizations.roles/list): `organizations/`
|
352
|
+
# ORGANIZATION_ID``. This method lists all organization-level [custom roles](
|
353
|
+
# https://cloud.google.com/iam/docs/understanding-custom-roles). Example request
|
354
|
+
# URL: `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
|
355
|
+
# Note: Wildcard (*) values are invalid; you must specify a complete project ID
|
356
|
+
# or organization ID.
|
348
357
|
# @param [Fixnum] page_size
|
349
358
|
# Optional limit on the number of roles to include in the response. The default
|
350
359
|
# is 300, and the maximum is 1,000.
|
@@ -391,16 +400,18 @@ module Google
|
|
391
400
|
# Updates the definition of a custom Role.
|
392
401
|
# @param [String] name
|
393
402
|
# 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
|
403
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
404
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
405
|
+
# organizations.roles). Each resource type's `name` value format is described
|
406
|
+
# below: * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/
|
397
407
|
# 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
|
408
|
+
# This method updates only [custom roles](https://cloud.google.com/iam/docs/
|
409
|
+
# understanding-custom-roles) that have been created at the project level.
|
410
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
411
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.patch()`](https://cloud.google.
|
412
|
+
# com/iam/reference/rest/v1/organizations.roles/patch): `organizations/`
|
413
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only [custom
|
414
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
404
415
|
# been created at the organization level. Example request URL: `https://iam.
|
405
416
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
406
417
|
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
@@ -441,20 +452,22 @@ module Google
|
|
441
452
|
# Undeletes a custom Role.
|
442
453
|
# @param [String] name
|
443
454
|
# 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
|
-
#
|
455
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
456
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
457
|
+
# organizations.roles). Each resource type's `name` value format is described
|
458
|
+
# below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/
|
459
|
+
# rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`
|
460
|
+
# `. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/
|
449
461
|
# understanding-custom-roles) that have been created at the project level.
|
450
462
|
# 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
|
463
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.undelete()`](https://cloud.
|
464
|
+
# google.com/iam/reference/rest/v1/organizations.roles/undelete): `organizations/
|
465
|
+
# `ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method undeletes only [custom
|
466
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
467
|
+
# been created at the organization level. Example request URL: `https://iam.
|
468
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
469
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
470
|
+
# organization ID.
|
458
471
|
# @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_request_object
|
459
472
|
# @param [String] fields
|
460
473
|
# Selector specifying which fields to include in a partial response.
|
@@ -983,6 +996,37 @@ module Google
|
|
983
996
|
execute_or_queue_command(command, &block)
|
984
997
|
end
|
985
998
|
|
999
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1000
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1001
|
+
# @param [String] name
|
1002
|
+
# The name of the operation resource.
|
1003
|
+
# @param [String] fields
|
1004
|
+
# Selector specifying which fields to include in a partial response.
|
1005
|
+
# @param [String] quota_user
|
1006
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1007
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1008
|
+
# @param [Google::Apis::RequestOptions] options
|
1009
|
+
# Request-specific options
|
1010
|
+
#
|
1011
|
+
# @yield [result, err] Result & error if block supplied
|
1012
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
1013
|
+
# @yieldparam err [StandardError] error object if request failed
|
1014
|
+
#
|
1015
|
+
# @return [Google::Apis::IamV1::Operation]
|
1016
|
+
#
|
1017
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1018
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1019
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1020
|
+
def get_project_location_workload_identity_pool_provider_key_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1021
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1022
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
1023
|
+
command.response_class = Google::Apis::IamV1::Operation
|
1024
|
+
command.params['name'] = name unless name.nil?
|
1025
|
+
command.query['fields'] = fields unless fields.nil?
|
1026
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1027
|
+
execute_or_queue_command(command, &block)
|
1028
|
+
end
|
1029
|
+
|
986
1030
|
# Gets the latest state of a long-running operation. Clients can use this method
|
987
1031
|
# to poll the operation result at intervals as recommended by the API service.
|
988
1032
|
# @param [String] name
|
@@ -1017,18 +1061,20 @@ module Google
|
|
1017
1061
|
# Creates a new custom Role.
|
1018
1062
|
# @param [String] parent
|
1019
1063
|
# 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
|
1064
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1065
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
1066
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
1067
|
+
# below: * [`projects.roles.create()`](https://cloud.google.com/iam/reference/
|
1023
1068
|
# 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
|
-
#
|
1069
|
+
# project-level [custom roles](https://cloud.google.com/iam/docs/understanding-
|
1070
|
+
# custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
|
1071
|
+
# PROJECT_ID`/roles` * [`organizations.roles.create()`](https://cloud.google.com/
|
1072
|
+
# iam/reference/rest/v1/organizations.roles/create): `organizations/`
|
1073
|
+
# ORGANIZATION_ID``. This method creates organization-level [custom roles](https:
|
1074
|
+
# //cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `
|
1075
|
+
# https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles` Note:
|
1076
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1077
|
+
# organization ID.
|
1032
1078
|
# @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object
|
1033
1079
|
# @param [String] fields
|
1034
1080
|
# Selector specifying which fields to include in a partial response.
|
@@ -1069,16 +1115,18 @@ module Google
|
|
1069
1115
|
# binding is permanently removed.
|
1070
1116
|
# @param [String] name
|
1071
1117
|
# 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
|
1118
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1119
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
1120
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1121
|
+
# below: * [`projects.roles.delete()`](https://cloud.google.com/iam/reference/
|
1075
1122
|
# 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
|
1123
|
+
# This method deletes only [custom roles](https://cloud.google.com/iam/docs/
|
1124
|
+
# understanding-custom-roles) that have been created at the project level.
|
1125
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1126
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.delete()`](https://cloud.
|
1127
|
+
# google.com/iam/reference/rest/v1/organizations.roles/delete): `organizations/`
|
1128
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only [custom
|
1129
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1082
1130
|
# been created at the organization level. Example request URL: `https://iam.
|
1083
1131
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1084
1132
|
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
@@ -1116,24 +1164,26 @@ module Google
|
|
1116
1164
|
# Gets the definition of a Role.
|
1117
1165
|
# @param [String] name
|
1118
1166
|
# 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
|
1167
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
1168
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
1169
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
1170
|
+
# roles). Each resource type's `name` value format is described below: * [`roles.
|
1171
|
+
# get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/`
|
1172
|
+
# ROLE_NAME``. This method returns results from all [predefined roles](https://
|
1173
|
+
# cloud.google.com/iam/docs/understanding-roles#predefined_roles) in Cloud IAM.
|
1174
|
+
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`
|
1175
|
+
# projects.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1176
|
+
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method
|
1177
|
+
# returns only [custom roles](https://cloud.google.com/iam/docs/understanding-
|
1178
|
+
# custom-roles) that have been created at the project level. Example request URL:
|
1179
|
+
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` *
|
1180
|
+
# [`organizations.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/
|
1131
1181
|
# 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.
|
1182
|
+
# CUSTOM_ROLE_ID``. This method returns only [custom roles](https://cloud.google.
|
1183
|
+
# com/iam/docs/understanding-custom-roles) that have been created at the
|
1184
|
+
# organization level. Example request URL: `https://iam.googleapis.com/v1/
|
1185
|
+
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
1186
|
+
# values are invalid; you must specify a complete project ID or organization ID.
|
1137
1187
|
# @param [String] fields
|
1138
1188
|
# Selector specifying which fields to include in a partial response.
|
1139
1189
|
# @param [String] quota_user
|
@@ -1165,22 +1215,25 @@ module Google
|
|
1165
1215
|
# defined for an organization or project.
|
1166
1216
|
# @param [String] parent
|
1167
1217
|
# 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
|
-
#
|
1218
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
1219
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
1220
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
1221
|
+
# roles). Each resource type's `parent` value format is described below: * [`
|
1222
|
+
# roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An
|
1223
|
+
# empty string. This method doesn't require a resource; it simply returns all [
|
1224
|
+
# predefined roles](https://cloud.google.com/iam/docs/understanding-roles#
|
1225
|
+
# predefined_roles) in Cloud IAM. Example request URL: `https://iam.googleapis.
|
1226
|
+
# com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/
|
1227
|
+
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This method
|
1228
|
+
# lists all project-level [custom roles](https://cloud.google.com/iam/docs/
|
1229
|
+
# understanding-custom-roles). Example request URL: `https://iam.googleapis.com/
|
1230
|
+
# v1/projects/`PROJECT_ID`/roles` * [`organizations.roles.list()`](https://cloud.
|
1231
|
+
# google.com/iam/reference/rest/v1/organizations.roles/list): `organizations/`
|
1232
|
+
# ORGANIZATION_ID``. This method lists all organization-level [custom roles](
|
1233
|
+
# https://cloud.google.com/iam/docs/understanding-custom-roles). Example request
|
1234
|
+
# URL: `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
|
1235
|
+
# Note: Wildcard (*) values are invalid; you must specify a complete project ID
|
1236
|
+
# or organization ID.
|
1184
1237
|
# @param [Fixnum] page_size
|
1185
1238
|
# Optional limit on the number of roles to include in the response. The default
|
1186
1239
|
# is 300, and the maximum is 1,000.
|
@@ -1227,16 +1280,18 @@ module Google
|
|
1227
1280
|
# Updates the definition of a custom Role.
|
1228
1281
|
# @param [String] name
|
1229
1282
|
# 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
|
1283
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1284
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
1285
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1286
|
+
# below: * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/
|
1233
1287
|
# 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
|
1288
|
+
# This method updates only [custom roles](https://cloud.google.com/iam/docs/
|
1289
|
+
# understanding-custom-roles) that have been created at the project level.
|
1290
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1291
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.patch()`](https://cloud.google.
|
1292
|
+
# com/iam/reference/rest/v1/organizations.roles/patch): `organizations/`
|
1293
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only [custom
|
1294
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1240
1295
|
# been created at the organization level. Example request URL: `https://iam.
|
1241
1296
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1242
1297
|
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
@@ -1277,20 +1332,22 @@ module Google
|
|
1277
1332
|
# Undeletes a custom Role.
|
1278
1333
|
# @param [String] name
|
1279
1334
|
# 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
|
-
#
|
1335
|
+
# namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
1336
|
+
# roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/
|
1337
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1338
|
+
# below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/
|
1339
|
+
# rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`
|
1340
|
+
# `. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/
|
1285
1341
|
# understanding-custom-roles) that have been created at the project level.
|
1286
1342
|
# 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
|
1343
|
+
# roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.undelete()`](https://cloud.
|
1344
|
+
# google.com/iam/reference/rest/v1/organizations.roles/undelete): `organizations/
|
1345
|
+
# `ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method undeletes only [custom
|
1346
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1347
|
+
# been created at the organization level. Example request URL: `https://iam.
|
1348
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1349
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1350
|
+
# organization ID.
|
1294
1351
|
# @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_request_object
|
1295
1352
|
# @param [String] fields
|
1296
1353
|
# Selector specifying which fields to include in a partial response.
|
@@ -1855,7 +1912,7 @@ module Google
|
|
1855
1912
|
|
1856
1913
|
# **Note:** We are in the process of deprecating this method. Use
|
1857
1914
|
# PatchServiceAccount instead. Updates a ServiceAccount. You can update only the
|
1858
|
-
# `display_name`
|
1915
|
+
# `display_name` field.
|
1859
1916
|
# @param [String] name
|
1860
1917
|
# The resource name of the service account. Use one of the following formats: * `
|
1861
1918
|
# projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`
|
@@ -2051,8 +2108,8 @@ module Google
|
|
2051
2108
|
# ACCOUNT` value can be the `email` address or the `unique_id` of the service
|
2052
2109
|
# account.
|
2053
2110
|
# @param [String] public_key_type
|
2054
|
-
# The output format of the public key
|
2055
|
-
#
|
2111
|
+
# Optional. The output format of the public key. The default is `TYPE_NONE`,
|
2112
|
+
# which means that the public key is not returned.
|
2056
2113
|
# @param [String] fields
|
2057
2114
|
# Selector specifying which fields to include in a partial response.
|
2058
2115
|
# @param [String] quota_user
|
@@ -2158,24 +2215,26 @@ module Google
|
|
2158
2215
|
# Gets the definition of a Role.
|
2159
2216
|
# @param [String] name
|
2160
2217
|
# 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
|
2218
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
2219
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
2220
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
2221
|
+
# roles). Each resource type's `name` value format is described below: * [`roles.
|
2222
|
+
# get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/`
|
2223
|
+
# ROLE_NAME``. This method returns results from all [predefined roles](https://
|
2224
|
+
# cloud.google.com/iam/docs/understanding-roles#predefined_roles) in Cloud IAM.
|
2225
|
+
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`
|
2226
|
+
# projects.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/projects.
|
2227
|
+
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method
|
2228
|
+
# returns only [custom roles](https://cloud.google.com/iam/docs/understanding-
|
2229
|
+
# custom-roles) that have been created at the project level. Example request URL:
|
2230
|
+
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` *
|
2231
|
+
# [`organizations.roles.get()`](https://cloud.google.com/iam/reference/rest/v1/
|
2173
2232
|
# 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.
|
2233
|
+
# CUSTOM_ROLE_ID``. This method returns only [custom roles](https://cloud.google.
|
2234
|
+
# com/iam/docs/understanding-custom-roles) that have been created at the
|
2235
|
+
# organization level. Example request URL: `https://iam.googleapis.com/v1/
|
2236
|
+
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*)
|
2237
|
+
# values are invalid; you must specify a complete project ID or organization ID.
|
2179
2238
|
# @param [String] fields
|
2180
2239
|
# Selector specifying which fields to include in a partial response.
|
2181
2240
|
# @param [String] quota_user
|
@@ -2212,22 +2271,25 @@ module Google
|
|
2212
2271
|
# Optional pagination token returned in an earlier ListRolesResponse.
|
2213
2272
|
# @param [String] parent
|
2214
2273
|
# 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
|
-
#
|
2274
|
+
# namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`
|
2275
|
+
# projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [
|
2276
|
+
# `organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.
|
2277
|
+
# roles). Each resource type's `parent` value format is described below: * [`
|
2278
|
+
# roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An
|
2279
|
+
# empty string. This method doesn't require a resource; it simply returns all [
|
2280
|
+
# predefined roles](https://cloud.google.com/iam/docs/understanding-roles#
|
2281
|
+
# predefined_roles) in Cloud IAM. Example request URL: `https://iam.googleapis.
|
2282
|
+
# com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/
|
2283
|
+
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This method
|
2284
|
+
# lists all project-level [custom roles](https://cloud.google.com/iam/docs/
|
2285
|
+
# understanding-custom-roles). Example request URL: `https://iam.googleapis.com/
|
2286
|
+
# v1/projects/`PROJECT_ID`/roles` * [`organizations.roles.list()`](https://cloud.
|
2287
|
+
# google.com/iam/reference/rest/v1/organizations.roles/list): `organizations/`
|
2288
|
+
# ORGANIZATION_ID``. This method lists all organization-level [custom roles](
|
2289
|
+
# https://cloud.google.com/iam/docs/understanding-custom-roles). Example request
|
2290
|
+
# URL: `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
|
2291
|
+
# Note: Wildcard (*) values are invalid; you must specify a complete project ID
|
2292
|
+
# or organization ID.
|
2231
2293
|
# @param [Boolean] show_deleted
|
2232
2294
|
# Include Roles that have been deleted.
|
2233
2295
|
# @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.20.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:
|
11
|
+
date: 2022-02-21 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.20.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: []
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.3.5
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Identity and Access Management (IAM) API V1
|