google-apis-iam_v1 0.13.0 → 0.17.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 +3 -3
- data/lib/google/apis/iam_v1/classes.rb +62 -57
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/service.rb +90 -23
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: beb3a29bf6f98ac0d76b1455df1ef5b1b70eefb92394ea86bbb36b62a9ca001c
|
4
|
+
data.tar.gz: 1ba6813359afc64dd7c190333bbffaa40b6c137c991980b48cf8caca4eb0e57b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac163872298e11232e0274a759027a5c075b86b09bee477ae61d107526f91684c5634c815fca507bc8218e867eb3a2c9b0f16dbf4e01e89ef042956ee47ce3be
|
7
|
+
data.tar.gz: 9db063764eaaaac2f5fb61de192ac4212ddba27fee665d4717aabd3278ebd54a2c92741b19d8270186111a6d43feb9f4966a234cb8eb09314671f0fb86026faa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-iam_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-12-16)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.16.0 (2021-11-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211104
|
10
|
+
|
11
|
+
### v0.15.0 (2021-10-21)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211013
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.14.0 (2021-09-24)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210918
|
19
|
+
|
3
20
|
### v0.13.0 (2021-09-16)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210909
|
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.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Iam service in particular.)
|
67
67
|
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
177
|
-
# Associates `members
|
177
|
+
# Associates `members`, or principals, with a `role`.
|
178
178
|
class Binding
|
179
179
|
include Google::Apis::Core::Hashable
|
180
180
|
|
@@ -197,7 +197,7 @@ module Google
|
|
197
197
|
# @return [Google::Apis::IamV1::Expr]
|
198
198
|
attr_accessor :condition
|
199
199
|
|
200
|
-
# Specifies the
|
200
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
201
201
|
# members` can have the following values: * `allUsers`: A special identifier
|
202
202
|
# that represents anyone who is on the internet; with or without a Google
|
203
203
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -227,8 +227,8 @@ module Google
|
|
227
227
|
# @return [Array<String>]
|
228
228
|
attr_accessor :members
|
229
229
|
|
230
|
-
# Role that is assigned to `members
|
231
|
-
#
|
230
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
231
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
232
232
|
# Corresponds to the JSON property `role`
|
233
233
|
# @return [String]
|
234
234
|
attr_accessor :role
|
@@ -976,31 +976,31 @@ module Google
|
|
976
976
|
|
977
977
|
# An Identity and Access Management (IAM) policy, which specifies access
|
978
978
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
979
|
-
# A `binding` binds one or more `members
|
980
|
-
# user accounts, service accounts, Google groups, and domains (
|
981
|
-
# A `role` is a named list of permissions; each `role` can be
|
982
|
-
# role or a user-created custom role. For some types of Google
|
983
|
-
# a `binding` can also specify a `condition`, which is a
|
984
|
-
# allows access to a resource only if the expression
|
985
|
-
# condition can add constraints based on attributes of
|
986
|
-
# or both. To learn which resources support
|
987
|
-
# see the [IAM documentation](https://cloud.
|
988
|
-
# resource-policies). **JSON example:** ` "
|
989
|
-
# resourcemanager.organizationAdmin", "members": [
|
990
|
-
# group:admins@example.com", "domain:google.com", "
|
991
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
992
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
993
|
-
# title": "expirable access", "description": "Does not grant
|
994
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
995
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
996
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
997
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
998
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
999
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1000
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1001
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1002
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1003
|
-
# google.com/iam/docs/).
|
979
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
980
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
981
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
982
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
983
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
984
|
+
# logical expression that allows access to a resource only if the expression
|
985
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
986
|
+
# the request, the resource, or both. To learn which resources support
|
987
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
988
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
989
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
990
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
991
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
992
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
993
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
994
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
995
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
996
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
997
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
998
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
999
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1000
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1001
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1002
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1003
|
+
# cloud.google.com/iam/docs/).
|
1004
1004
|
class Policy
|
1005
1005
|
include Google::Apis::Core::Hashable
|
1006
1006
|
|
@@ -1009,9 +1009,14 @@ module Google
|
|
1009
1009
|
# @return [Array<Google::Apis::IamV1::AuditConfig>]
|
1010
1010
|
attr_accessor :audit_configs
|
1011
1011
|
|
1012
|
-
# Associates a list of `members
|
1013
|
-
# condition` that determines how and when the `bindings` are applied.
|
1014
|
-
# the `bindings` must contain at least one
|
1012
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1013
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1014
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1015
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1016
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1017
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1018
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1019
|
+
# principals to the `bindings` in the `Policy`.
|
1015
1020
|
# Corresponds to the JSON property `bindings`
|
1016
1021
|
# @return [Array<Google::Apis::IamV1::Binding>]
|
1017
1022
|
attr_accessor :bindings
|
@@ -1514,31 +1519,31 @@ module Google
|
|
1514
1519
|
|
1515
1520
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1516
1521
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1517
|
-
# A `binding` binds one or more `members
|
1518
|
-
# user accounts, service accounts, Google groups, and domains (
|
1519
|
-
# A `role` is a named list of permissions; each `role` can be
|
1520
|
-
# role or a user-created custom role. For some types of Google
|
1521
|
-
# a `binding` can also specify a `condition`, which is a
|
1522
|
-
# allows access to a resource only if the expression
|
1523
|
-
# condition can add constraints based on attributes of
|
1524
|
-
# or both. To learn which resources support
|
1525
|
-
# see the [IAM documentation](https://cloud.
|
1526
|
-
# resource-policies). **JSON example:** ` "
|
1527
|
-
# resourcemanager.organizationAdmin", "members": [
|
1528
|
-
# group:admins@example.com", "domain:google.com", "
|
1529
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1530
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1531
|
-
# title": "expirable access", "description": "Does not grant
|
1532
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1533
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1534
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1535
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1536
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1537
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1538
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1539
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1540
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1541
|
-
# google.com/iam/docs/).
|
1522
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1523
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1524
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1525
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1526
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1527
|
+
# logical expression that allows access to a resource only if the expression
|
1528
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1529
|
+
# the request, the resource, or both. To learn which resources support
|
1530
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1531
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1532
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1533
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1534
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1535
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1536
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1537
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1538
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1539
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1540
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1541
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1542
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1543
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1544
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1545
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1546
|
+
# cloud.google.com/iam/docs/).
|
1542
1547
|
# Corresponds to the JSON property `policy`
|
1543
1548
|
# @return [Google::Apis::IamV1::Policy]
|
1544
1549
|
attr_accessor :policy
|
@@ -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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211104"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -116,6 +116,68 @@ module Google
|
|
116
116
|
execute_or_queue_command(command, &block)
|
117
117
|
end
|
118
118
|
|
119
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
120
|
+
# to poll the operation result at intervals as recommended by the API service.
|
121
|
+
# @param [String] name
|
122
|
+
# The name of the operation resource.
|
123
|
+
# @param [String] fields
|
124
|
+
# Selector specifying which fields to include in a partial response.
|
125
|
+
# @param [String] quota_user
|
126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
128
|
+
# @param [Google::Apis::RequestOptions] options
|
129
|
+
# Request-specific options
|
130
|
+
#
|
131
|
+
# @yield [result, err] Result & error if block supplied
|
132
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
133
|
+
# @yieldparam err [StandardError] error object if request failed
|
134
|
+
#
|
135
|
+
# @return [Google::Apis::IamV1::Operation]
|
136
|
+
#
|
137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
140
|
+
def get_location_workforce_pool_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
141
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
142
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
143
|
+
command.response_class = Google::Apis::IamV1::Operation
|
144
|
+
command.params['name'] = name unless name.nil?
|
145
|
+
command.query['fields'] = fields unless fields.nil?
|
146
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
147
|
+
execute_or_queue_command(command, &block)
|
148
|
+
end
|
149
|
+
|
150
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
151
|
+
# to poll the operation result at intervals as recommended by the API service.
|
152
|
+
# @param [String] name
|
153
|
+
# The name of the operation resource.
|
154
|
+
# @param [String] fields
|
155
|
+
# Selector specifying which fields to include in a partial response.
|
156
|
+
# @param [String] quota_user
|
157
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
158
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
159
|
+
# @param [Google::Apis::RequestOptions] options
|
160
|
+
# Request-specific options
|
161
|
+
#
|
162
|
+
# @yield [result, err] Result & error if block supplied
|
163
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
164
|
+
# @yieldparam err [StandardError] error object if request failed
|
165
|
+
#
|
166
|
+
# @return [Google::Apis::IamV1::Operation]
|
167
|
+
#
|
168
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
169
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
170
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
171
|
+
def get_location_workforce_pool_provider_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
172
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
173
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
174
|
+
command.response_class = Google::Apis::IamV1::Operation
|
175
|
+
command.params['name'] = name unless name.nil?
|
176
|
+
command.query['fields'] = fields unless fields.nil?
|
177
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
178
|
+
execute_or_queue_command(command, &block)
|
179
|
+
end
|
180
|
+
|
119
181
|
# Creates a new custom Role.
|
120
182
|
# @param [String] parent
|
121
183
|
# The `parent` parameter's value depends on the target resource for the request,
|
@@ -162,7 +224,7 @@ module Google
|
|
162
224
|
end
|
163
225
|
|
164
226
|
# Deletes a custom Role. When you delete a custom role, the following changes
|
165
|
-
# occur immediately: * You cannot bind a
|
227
|
+
# occur immediately: * You cannot bind a principal to the custom role in an IAM
|
166
228
|
# Policy. * Existing bindings to the custom role are not changed, but they have
|
167
229
|
# no effect. * By default, the response from ListRoles does not include the
|
168
230
|
# custom role. You have 7 days to undelete the custom role. After 7 days, the
|
@@ -424,7 +486,8 @@ module Google
|
|
424
486
|
end
|
425
487
|
|
426
488
|
# Lists every permission that you can test on a resource. A permission is
|
427
|
-
# testable if you can check whether a
|
489
|
+
# testable if you can check whether a principal has that permission on the
|
490
|
+
# resource.
|
428
491
|
# @param [Google::Apis::IamV1::QueryTestablePermissionsRequest] query_testable_permissions_request_object
|
429
492
|
# @param [String] fields
|
430
493
|
# Selector specifying which fields to include in a partial response.
|
@@ -997,7 +1060,7 @@ module Google
|
|
997
1060
|
end
|
998
1061
|
|
999
1062
|
# Deletes a custom Role. When you delete a custom role, the following changes
|
1000
|
-
# occur immediately: * You cannot bind a
|
1063
|
+
# occur immediately: * You cannot bind a principal to the custom role in an IAM
|
1001
1064
|
# Policy. * Existing bindings to the custom role are not changed, but they have
|
1002
1065
|
# no effect. * By default, the response from ListRoles does not include the
|
1003
1066
|
# custom role. You have 7 days to undelete the custom role. After 7 days, the
|
@@ -1454,24 +1517,27 @@ module Google
|
|
1454
1517
|
end
|
1455
1518
|
|
1456
1519
|
# Gets the IAM policy that is attached to a ServiceAccount. This IAM policy
|
1457
|
-
# specifies which
|
1458
|
-
# not tell you whether the service account has been granted any roles on
|
1459
|
-
# resources. To check whether a service account has role grants on a
|
1460
|
-
# use the `getIamPolicy` method for that resource. For example, to
|
1461
|
-
# grants for a project, call the Resource Manager API's [`projects.
|
1462
|
-
# (https://cloud.google.com/resource-manager/reference/rest/v1/
|
1463
|
-
# getIamPolicy) method.
|
1520
|
+
# specifies which principals have access to the service account. This method
|
1521
|
+
# does not tell you whether the service account has been granted any roles on
|
1522
|
+
# other resources. To check whether a service account has role grants on a
|
1523
|
+
# resource, use the `getIamPolicy` method for that resource. For example, to
|
1524
|
+
# view the role grants for a project, call the Resource Manager API's [`projects.
|
1525
|
+
# getIamPolicy`](https://cloud.google.com/resource-manager/reference/rest/v1/
|
1526
|
+
# projects/getIamPolicy) method.
|
1464
1527
|
# @param [String] resource
|
1465
1528
|
# REQUIRED: The resource for which the policy is being requested. See the
|
1466
1529
|
# operation documentation for the appropriate value for this field.
|
1467
1530
|
# @param [Fixnum] options_requested_policy_version
|
1468
|
-
# Optional. The policy
|
1469
|
-
# 3. Requests specifying an invalid value will be
|
1470
|
-
# policies with any conditional bindings must
|
1471
|
-
#
|
1472
|
-
# field unset.
|
1473
|
-
#
|
1474
|
-
#
|
1531
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1532
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1533
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1534
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1535
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1536
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1537
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1538
|
+
# bindings, the response uses version 1. To learn which resources support
|
1539
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1540
|
+
# google.com/iam/help/conditions/resource-policies).
|
1475
1541
|
# @param [String] fields
|
1476
1542
|
# Selector specifying which fields to include in a partial response.
|
1477
1543
|
# @param [String] quota_user
|
@@ -1585,15 +1651,16 @@ module Google
|
|
1585
1651
|
|
1586
1652
|
# Sets the IAM policy that is attached to a ServiceAccount. Use this method to
|
1587
1653
|
# grant or revoke access to the service account. For example, you could grant a
|
1588
|
-
#
|
1654
|
+
# principal the ability to impersonate the service account. This method does not
|
1589
1655
|
# enable the service account to access other resources. To grant roles to a
|
1590
1656
|
# service account on a resource, follow these steps: 1. Call the resource's `
|
1591
1657
|
# getIamPolicy` method to get its current IAM policy. 2. Edit the policy so that
|
1592
1658
|
# it binds the service account to an IAM role for the resource. 3. Call the
|
1593
1659
|
# resource's `setIamPolicy` method to update its IAM policy. For detailed
|
1594
|
-
# instructions, see [
|
1595
|
-
#
|
1596
|
-
# accounts).
|
1660
|
+
# instructions, see [Manage access to project, folders, and organizations](https:
|
1661
|
+
# //cloud.google.com/iam/help/service-accounts/granting-access-to-service-
|
1662
|
+
# accounts) or [Manage access to other resources](https://cloud.google.com/iam/
|
1663
|
+
# help/access/manage-other-resources).
|
1597
1664
|
# @param [String] resource
|
1598
1665
|
# REQUIRED: The resource for which the policy is being specified. See the
|
1599
1666
|
# operation documentation for the appropriate value for this field.
|
@@ -1902,7 +1969,7 @@ module Google
|
|
1902
1969
|
end
|
1903
1970
|
|
1904
1971
|
# Disable a ServiceAccountKey. A disabled service account key can be enabled
|
1905
|
-
# through EnableServiceAccountKey.
|
1972
|
+
# through EnableServiceAccountKey.
|
1906
1973
|
# @param [String] name
|
1907
1974
|
# Required. The resource name of the service account key in the following format:
|
1908
1975
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``. Using `-` as a
|
@@ -1939,7 +2006,7 @@ module Google
|
|
1939
2006
|
execute_or_queue_command(command, &block)
|
1940
2007
|
end
|
1941
2008
|
|
1942
|
-
# Enable a ServiceAccountKey.
|
2009
|
+
# Enable a ServiceAccountKey.
|
1943
2010
|
# @param [String] name
|
1944
2011
|
# Required. The resource name of the service account key in the following format:
|
1945
2012
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``. Using `-` as a
|
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.17.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-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,9 +58,9 @@ licenses:
|
|
58
58
|
- Apache-2.0
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
63
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.17.0
|
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: []
|
66
66
|
require_paths:
|
@@ -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.4
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Identity and Access Management (IAM) API V1
|