google-apis-iam_v1 0.57.0 → 0.58.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 +5 -0
- data/lib/google/apis/iam_v1/classes.rb +40 -33
- data/lib/google/apis/iam_v1/gem_version.rb +3 -3
- data/lib/google/apis/iam_v1/service.rb +264 -264
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f9d281593997c787da4fa82daba4dbc8078b1abbd7ec381b234016ea83e2d1f
|
4
|
+
data.tar.gz: 476e992d2e353596d46aa84a827917cb77c08a900a66651f42d35a42c7258547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17cf034754341a4e13d9c10c868ff80c7fd0a850789f3a41d66e92f71e6f1b3c71b88a96ea976226c79afb0d1954d156cffe07b34c51cda57b467afa93e19cf0
|
7
|
+
data.tar.gz: ff2e17ed6ccafd4ae447dc521c57483ed3bfc9b16cf7e2dc1420c6a9efe9d27c17bfabe808325de87cda82240e7e502a5b32e6b6b7e5ac8f58cb9c9509bea429
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-iam_v1
|
2
2
|
|
3
|
+
### v0.58.0 (2024-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240521
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
3
8
|
### v0.57.0 (2024-04-28)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240418
|
@@ -1066,7 +1066,7 @@ module Google
|
|
1066
1066
|
class ListOauthClientCredentialsResponse
|
1067
1067
|
include Google::Apis::Core::Hashable
|
1068
1068
|
|
1069
|
-
# A list of
|
1069
|
+
# A list of OauthClientCredentials.
|
1070
1070
|
# Corresponds to the JSON property `oauthClientCredentials`
|
1071
1071
|
# @return [Array<Google::Apis::IamV1::OauthClientCredential>]
|
1072
1072
|
attr_accessor :oauth_client_credentials
|
@@ -1091,7 +1091,7 @@ module Google
|
|
1091
1091
|
# @return [String]
|
1092
1092
|
attr_accessor :next_page_token
|
1093
1093
|
|
1094
|
-
# A list of
|
1094
|
+
# A list of OauthClients.
|
1095
1095
|
# Corresponds to the JSON property `oauthClients`
|
1096
1096
|
# @return [Array<Google::Apis::IamV1::OauthClient>]
|
1097
1097
|
attr_accessor :oauth_clients
|
@@ -1334,13 +1334,13 @@ module Google
|
|
1334
1334
|
end
|
1335
1335
|
end
|
1336
1336
|
|
1337
|
-
# Represents an
|
1338
|
-
# a user by using
|
1337
|
+
# Represents an OauthClient. Used to access Google Cloud resources on behave of
|
1338
|
+
# a user by using OAuth 2.0 Protocol to obtain an access token from Google Cloud
|
1339
1339
|
# Platform.
|
1340
1340
|
class OauthClient
|
1341
1341
|
include Google::Apis::Core::Hashable
|
1342
1342
|
|
1343
|
-
# Required. The list of OAuth grant
|
1343
|
+
# Required. The list of OAuth grant types is allowed for the OauthClient.
|
1344
1344
|
# Corresponds to the JSON property `allowedGrantTypes`
|
1345
1345
|
# @return [Array<String>]
|
1346
1346
|
attr_accessor :allowed_grant_types
|
@@ -1351,58 +1351,60 @@ module Google
|
|
1351
1351
|
# @return [Array<String>]
|
1352
1352
|
attr_accessor :allowed_redirect_uris
|
1353
1353
|
|
1354
|
-
# Required. The list of scopes that the
|
1355
|
-
#
|
1356
|
-
#
|
1357
|
-
#
|
1358
|
-
#
|
1359
|
-
#
|
1354
|
+
# Required. The list of scopes that the OauthClient is allowed to request during
|
1355
|
+
# OAuth flows. The following scopes are supported: * `https://www.googleapis.com/
|
1356
|
+
# auth/cloud-platform`: See, edit, configure, and delete your Google Cloud data
|
1357
|
+
# and see the email address for your Google Account. * `openid`: Associate you
|
1358
|
+
# with your personal info on Google Cloud. * `email`: See your Google Cloud
|
1359
|
+
# Account email address.
|
1360
1360
|
# Corresponds to the JSON property `allowedScopes`
|
1361
1361
|
# @return [Array<String>]
|
1362
1362
|
attr_accessor :allowed_scopes
|
1363
1363
|
|
1364
|
-
# Output only. The system-generated
|
1364
|
+
# Output only. The system-generated OauthClient id.
|
1365
1365
|
# Corresponds to the JSON property `clientId`
|
1366
1366
|
# @return [String]
|
1367
1367
|
attr_accessor :client_id
|
1368
1368
|
|
1369
|
-
# Immutable. The type of
|
1369
|
+
# Immutable. The type of OauthClient. Either public or private. For private
|
1370
|
+
# clients, the client secret can be managed using the dedicated
|
1371
|
+
# OauthClientCredential resource.
|
1370
1372
|
# Corresponds to the JSON property `clientType`
|
1371
1373
|
# @return [String]
|
1372
1374
|
attr_accessor :client_type
|
1373
1375
|
|
1374
|
-
# Optional. A user-specified description of the
|
1376
|
+
# Optional. A user-specified description of the OauthClient. Cannot exceed 256
|
1375
1377
|
# characters.
|
1376
1378
|
# Corresponds to the JSON property `description`
|
1377
1379
|
# @return [String]
|
1378
1380
|
attr_accessor :description
|
1379
1381
|
|
1380
|
-
# Optional. Whether the
|
1381
|
-
#
|
1382
|
+
# Optional. Whether the OauthClient is disabled. You cannot use a disabled OAuth
|
1383
|
+
# client.
|
1382
1384
|
# Corresponds to the JSON property `disabled`
|
1383
1385
|
# @return [Boolean]
|
1384
1386
|
attr_accessor :disabled
|
1385
1387
|
alias_method :disabled?, :disabled
|
1386
1388
|
|
1387
|
-
# Optional. A user-specified display name of the
|
1389
|
+
# Optional. A user-specified display name of the OauthClient. Cannot exceed 32
|
1388
1390
|
# characters.
|
1389
1391
|
# Corresponds to the JSON property `displayName`
|
1390
1392
|
# @return [String]
|
1391
1393
|
attr_accessor :display_name
|
1392
1394
|
|
1393
|
-
# Output only. Time after which the
|
1395
|
+
# Output only. Time after which the OauthClient will be permanently purged and
|
1394
1396
|
# cannot be recovered.
|
1395
1397
|
# Corresponds to the JSON property `expireTime`
|
1396
1398
|
# @return [String]
|
1397
1399
|
attr_accessor :expire_time
|
1398
1400
|
|
1399
|
-
# Immutable. The resource name of the
|
1401
|
+
# Immutable. The resource name of the OauthClient. Format:`projects/`project`/
|
1400
1402
|
# locations/`location`/oauthClients/`oauth_client``.
|
1401
1403
|
# Corresponds to the JSON property `name`
|
1402
1404
|
# @return [String]
|
1403
1405
|
attr_accessor :name
|
1404
1406
|
|
1405
|
-
# Output only. The state of the
|
1407
|
+
# Output only. The state of the OauthClient.
|
1406
1408
|
# Corresponds to the JSON property `state`
|
1407
1409
|
# @return [String]
|
1408
1410
|
attr_accessor :state
|
@@ -1427,32 +1429,36 @@ module Google
|
|
1427
1429
|
end
|
1428
1430
|
end
|
1429
1431
|
|
1430
|
-
# Represents an
|
1431
|
-
#
|
1432
|
+
# Represents an OauthClientCredential. Used to authenticate an OauthClient while
|
1433
|
+
# accessing Google Cloud resources on behalf of a user by using OAuth 2.0
|
1432
1434
|
# Protocol.
|
1433
1435
|
class OauthClientCredential
|
1434
1436
|
include Google::Apis::Core::Hashable
|
1435
1437
|
|
1436
|
-
# Output only. The system-generated
|
1438
|
+
# Output only. The system-generated OAuth client secret. The client secret must
|
1439
|
+
# be stored securely. If the client secret is leaked, you must delete and re-
|
1440
|
+
# create the client credential. To learn more, see [OAuth client and credential
|
1441
|
+
# security risks and mitigations](https://cloud.google.com/iam/docs/workforce-
|
1442
|
+
# oauth-app#security)
|
1437
1443
|
# Corresponds to the JSON property `clientSecret`
|
1438
1444
|
# @return [String]
|
1439
1445
|
attr_accessor :client_secret
|
1440
1446
|
|
1441
|
-
# Optional. Whether the
|
1442
|
-
# disabled
|
1447
|
+
# Optional. Whether the OauthClientCredential is disabled. You cannot use a
|
1448
|
+
# disabled OauthClientCredential.
|
1443
1449
|
# Corresponds to the JSON property `disabled`
|
1444
1450
|
# @return [Boolean]
|
1445
1451
|
attr_accessor :disabled
|
1446
1452
|
alias_method :disabled?, :disabled
|
1447
1453
|
|
1448
|
-
# Optional. A user-specified display name of the
|
1454
|
+
# Optional. A user-specified display name of the OauthClientCredential. Cannot
|
1449
1455
|
# exceed 32 characters.
|
1450
1456
|
# Corresponds to the JSON property `displayName`
|
1451
1457
|
# @return [String]
|
1452
1458
|
attr_accessor :display_name
|
1453
1459
|
|
1454
|
-
# Immutable. The resource name of the
|
1455
|
-
#
|
1460
|
+
# Immutable. The resource name of the OauthClientCredential. Format: `projects/`
|
1461
|
+
# project`/locations/`location`/oauthClients/`oauth_client`/credentials/`
|
1456
1462
|
# credential``
|
1457
1463
|
# Corresponds to the JSON property `name`
|
1458
1464
|
# @return [String]
|
@@ -2334,8 +2340,8 @@ module Google
|
|
2334
2340
|
# @return [String]
|
2335
2341
|
attr_accessor :description
|
2336
2342
|
|
2337
|
-
# optional. If the key is disabled, it may have a DisableReason
|
2338
|
-
# it was disabled.
|
2343
|
+
# Output only. optional. If the key is disabled, it may have a DisableReason
|
2344
|
+
# describing why it was disabled.
|
2339
2345
|
# Corresponds to the JSON property `disableReason`
|
2340
2346
|
# @return [String]
|
2341
2347
|
attr_accessor :disable_reason
|
@@ -2346,9 +2352,10 @@ module Google
|
|
2346
2352
|
attr_accessor :disabled
|
2347
2353
|
alias_method :disabled?, :disabled
|
2348
2354
|
|
2349
|
-
# Extended Status provides permanent information about a service
|
2350
|
-
# For example, if this key was detected as exposed or compromised,
|
2351
|
-
# information will remain for the lifetime of the key in the
|
2355
|
+
# Output only. Extended Status provides permanent information about a service
|
2356
|
+
# account key. For example, if this key was detected as exposed or compromised,
|
2357
|
+
# that information will remain for the lifetime of the key in the
|
2358
|
+
# extended_status.
|
2352
2359
|
# Corresponds to the JSON property `extendedStatus`
|
2353
2360
|
# @return [Array<Google::Apis::IamV1::ExtendedStatus>]
|
2354
2361
|
attr_accessor :extended_status
|
@@ -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.58.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240521"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1064,20 +1064,20 @@ module Google
|
|
1064
1064
|
# Creates a new custom Role.
|
1065
1065
|
# @param [String] parent
|
1066
1066
|
# The `parent` parameter's value depends on the target resource for the request,
|
1067
|
-
# namely [
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
#
|
1071
|
-
#
|
1072
|
-
#
|
1073
|
-
#
|
1074
|
-
#
|
1075
|
-
#
|
1076
|
-
#
|
1077
|
-
#
|
1078
|
-
#
|
1079
|
-
#
|
1080
|
-
#
|
1067
|
+
# namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.
|
1068
|
+
# roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1069
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
1070
|
+
# below: * [projects.roles.create](https://cloud.google.com/iam/docs/reference/
|
1071
|
+
# rest/v1/projects.roles/create): `projects/`PROJECT_ID``. This method creates
|
1072
|
+
# project-level [custom roles](https://cloud.google.com/iam/docs/understanding-
|
1073
|
+
# custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
|
1074
|
+
# PROJECT_ID`/roles` * [organizations.roles.create](https://cloud.google.com/iam/
|
1075
|
+
# docs/reference/rest/v1/organizations.roles/create): `organizations/`
|
1076
|
+
# ORGANIZATION_ID``. This method creates organization-level [custom roles](https:
|
1077
|
+
# //cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `
|
1078
|
+
# https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles` Note:
|
1079
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1080
|
+
# organization ID.
|
1081
1081
|
# @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object
|
1082
1082
|
# @param [String] fields
|
1083
1083
|
# Selector specifying which fields to include in a partial response.
|
@@ -1118,22 +1118,22 @@ module Google
|
|
1118
1118
|
# binding is permanently removed.
|
1119
1119
|
# @param [String] name
|
1120
1120
|
# The `name` parameter's value depends on the target resource for the request,
|
1121
|
-
# namely [
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
#
|
1136
|
-
#
|
1121
|
+
# namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.
|
1122
|
+
# roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1123
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1124
|
+
# below: * [projects.roles.delete](https://cloud.google.com/iam/docs/reference/
|
1125
|
+
# rest/v1/projects.roles/delete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
1126
|
+
# This method deletes only [custom roles](https://cloud.google.com/iam/docs/
|
1127
|
+
# understanding-custom-roles) that have been created at the project level.
|
1128
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1129
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.delete](https://cloud.google.
|
1130
|
+
# com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/`
|
1131
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only [custom
|
1132
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1133
|
+
# been created at the organization level. Example request URL: `https://iam.
|
1134
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1135
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1136
|
+
# organization ID.
|
1137
1137
|
# @param [String] etag
|
1138
1138
|
# Used to perform a consistent read-modify-write.
|
1139
1139
|
# @param [String] fields
|
@@ -1167,27 +1167,27 @@ module Google
|
|
1167
1167
|
# Gets the definition of a Role.
|
1168
1168
|
# @param [String] name
|
1169
1169
|
# The `name` parameter's value depends on the target resource for the request,
|
1170
|
-
# namely [
|
1171
|
-
# projects
|
1172
|
-
# or [
|
1170
|
+
# namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [
|
1171
|
+
# projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles),
|
1172
|
+
# or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1173
1173
|
# organizations.roles). Each resource type's `name` value format is described
|
1174
|
-
# below: * [
|
1175
|
-
#
|
1176
|
-
#
|
1177
|
-
#
|
1178
|
-
#
|
1179
|
-
#
|
1180
|
-
#
|
1181
|
-
#
|
1182
|
-
#
|
1183
|
-
#
|
1184
|
-
#
|
1185
|
-
#
|
1186
|
-
#
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
#
|
1174
|
+
# below: * [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/
|
1175
|
+
# get): `roles/`ROLE_NAME``. This method returns results from all [predefined
|
1176
|
+
# roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
|
1177
|
+
# in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
|
1178
|
+
# * [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1179
|
+
# projects.roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This
|
1180
|
+
# method returns only [custom roles](https://cloud.google.com/iam/docs/
|
1181
|
+
# understanding-custom-roles) that have been created at the project level.
|
1182
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1183
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.get](https://cloud.google.com/
|
1184
|
+
# iam/docs/reference/rest/v1/organizations.roles/get): `organizations/`
|
1185
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method returns only [custom
|
1186
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1187
|
+
# been created at the organization level. Example request URL: `https://iam.
|
1188
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1189
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1190
|
+
# organization ID.
|
1191
1191
|
# @param [String] fields
|
1192
1192
|
# Selector specifying which fields to include in a partial response.
|
1193
1193
|
# @param [String] quota_user
|
@@ -1219,21 +1219,21 @@ module Google
|
|
1219
1219
|
# defined for an organization or project.
|
1220
1220
|
# @param [String] parent
|
1221
1221
|
# The `parent` parameter's value depends on the target resource for the request,
|
1222
|
-
# namely [
|
1223
|
-
# projects
|
1224
|
-
# or [
|
1222
|
+
# namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [
|
1223
|
+
# projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles),
|
1224
|
+
# or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1225
1225
|
# organizations.roles). Each resource type's `parent` value format is described
|
1226
|
-
# below: * [
|
1226
|
+
# below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1227
1227
|
# roles/list): An empty string. This method doesn't require a resource; it
|
1228
1228
|
# simply returns all [predefined roles](https://cloud.google.com/iam/docs/
|
1229
1229
|
# understanding-roles#predefined_roles) in IAM. Example request URL: `https://
|
1230
|
-
# iam.googleapis.com/v1/roles` * [
|
1231
|
-
#
|
1232
|
-
#
|
1233
|
-
#
|
1234
|
-
#
|
1235
|
-
#
|
1236
|
-
#
|
1230
|
+
# iam.googleapis.com/v1/roles` * [projects.roles.list](https://cloud.google.com/
|
1231
|
+
# iam/docs/reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
|
1232
|
+
# method lists all project-level [custom roles](https://cloud.google.com/iam/
|
1233
|
+
# docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.
|
1234
|
+
# com/v1/projects/`PROJECT_ID`/roles` * [organizations.roles.list](https://cloud.
|
1235
|
+
# google.com/iam/docs/reference/rest/v1/organizations.roles/list): `
|
1236
|
+
# organizations/`ORGANIZATION_ID``. This method lists all organization-level [
|
1237
1237
|
# custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
|
1238
1238
|
# Example request URL: `https://iam.googleapis.com/v1/organizations/`
|
1239
1239
|
# ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
|
@@ -1284,22 +1284,22 @@ module Google
|
|
1284
1284
|
# Updates the definition of a custom Role.
|
1285
1285
|
# @param [String] name
|
1286
1286
|
# The `name` parameter's value depends on the target resource for the request,
|
1287
|
-
# namely [
|
1288
|
-
#
|
1289
|
-
#
|
1290
|
-
#
|
1291
|
-
#
|
1292
|
-
#
|
1293
|
-
#
|
1294
|
-
#
|
1295
|
-
#
|
1296
|
-
#
|
1297
|
-
#
|
1298
|
-
#
|
1299
|
-
#
|
1300
|
-
#
|
1301
|
-
#
|
1302
|
-
#
|
1287
|
+
# namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.
|
1288
|
+
# roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1289
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1290
|
+
# below: * [projects.roles.patch](https://cloud.google.com/iam/docs/reference/
|
1291
|
+
# rest/v1/projects.roles/patch): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
1292
|
+
# This method updates only [custom roles](https://cloud.google.com/iam/docs/
|
1293
|
+
# understanding-custom-roles) that have been created at the project level.
|
1294
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1295
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.patch](https://cloud.google.com/
|
1296
|
+
# iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/`
|
1297
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only [custom
|
1298
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1299
|
+
# been created at the organization level. Example request URL: `https://iam.
|
1300
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1301
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1302
|
+
# organization ID.
|
1303
1303
|
# @param [Google::Apis::IamV1::Role] role_object
|
1304
1304
|
# @param [String] update_mask
|
1305
1305
|
# A mask describing which fields in the Role have changed.
|
@@ -1336,22 +1336,22 @@ module Google
|
|
1336
1336
|
# Undeletes a custom Role.
|
1337
1337
|
# @param [String] name
|
1338
1338
|
# The `name` parameter's value depends on the target resource for the request,
|
1339
|
-
# namely [
|
1340
|
-
#
|
1341
|
-
#
|
1342
|
-
#
|
1343
|
-
#
|
1344
|
-
#
|
1345
|
-
#
|
1346
|
-
#
|
1347
|
-
#
|
1348
|
-
#
|
1349
|
-
#
|
1350
|
-
#
|
1351
|
-
#
|
1352
|
-
#
|
1353
|
-
#
|
1354
|
-
#
|
1339
|
+
# namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.
|
1340
|
+
# roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1341
|
+
# organizations.roles). Each resource type's `name` value format is described
|
1342
|
+
# below: * [projects.roles.undelete](https://cloud.google.com/iam/docs/reference/
|
1343
|
+
# rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`
|
1344
|
+
# `. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/
|
1345
|
+
# understanding-custom-roles) that have been created at the project level.
|
1346
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1347
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.undelete](https://cloud.google.
|
1348
|
+
# com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/`
|
1349
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method undeletes only [custom
|
1350
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1351
|
+
# been created at the organization level. Example request URL: `https://iam.
|
1352
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1353
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
1354
|
+
# organization ID.
|
1355
1355
|
# @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_request_object
|
1356
1356
|
# @param [String] fields
|
1357
1357
|
# Selector specifying which fields to include in a partial response.
|
@@ -1414,18 +1414,18 @@ module Google
|
|
1414
1414
|
execute_or_queue_command(command, &block)
|
1415
1415
|
end
|
1416
1416
|
|
1417
|
-
# Creates a new OauthClient. You cannot reuse the name of a deleted
|
1417
|
+
# Creates a new OauthClient. You cannot reuse the name of a deleted OauthClient
|
1418
1418
|
# until 30 days after deletion.
|
1419
1419
|
# @param [String] parent
|
1420
|
-
# Required. The parent resource to create the
|
1421
|
-
#
|
1420
|
+
# Required. The parent resource to create the OauthClient in. The only supported
|
1421
|
+
# location is `global`.
|
1422
1422
|
# @param [Google::Apis::IamV1::OauthClient] oauth_client_object
|
1423
1423
|
# @param [String] oauth_client_id
|
1424
|
-
# Required. The ID to use for the
|
1425
|
-
#
|
1426
|
-
#
|
1427
|
-
#
|
1428
|
-
#
|
1424
|
+
# Required. The ID to use for the OauthClient, which becomes the final component
|
1425
|
+
# of the resource name. This value should be a string of 6 to 63 lowercase
|
1426
|
+
# letters, digits, or hyphens. It must start with a letter, and cannot have a
|
1427
|
+
# trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not
|
1428
|
+
# be specified.
|
1429
1429
|
# @param [String] fields
|
1430
1430
|
# Selector specifying which fields to include in a partial response.
|
1431
1431
|
# @param [String] quota_user
|
@@ -1456,16 +1456,16 @@ module Google
|
|
1456
1456
|
execute_or_queue_command(command, &block)
|
1457
1457
|
end
|
1458
1458
|
|
1459
|
-
# Deletes
|
1460
|
-
# deletion does not revoke access tokens that have already been issued
|
1459
|
+
# Deletes an OauthClient. You cannot use a deleted OauthClient. However,
|
1460
|
+
# deletion does not revoke access tokens that have already been issued. They
|
1461
1461
|
# continue to grant access. Deletion does revoke refresh tokens that have
|
1462
|
-
# already been issued
|
1463
|
-
#
|
1464
|
-
# valid for token exchange again. You can undelete an
|
1465
|
-
# After 30 days, deletion is permanent. You cannot update deleted
|
1462
|
+
# already been issued. They cannot be used to renew an access token. If the
|
1463
|
+
# OauthClient is undeleted, and the refresh tokens are not expired, they are
|
1464
|
+
# valid for token exchange again. You can undelete an OauthClient for 30 days.
|
1465
|
+
# After 30 days, deletion is permanent. You cannot update deleted OauthClients.
|
1466
1466
|
# However, you can view and list them.
|
1467
1467
|
# @param [String] name
|
1468
|
-
# Required. The name of the
|
1468
|
+
# Required. The name of the OauthClient to delete. Format: `projects/`project`/
|
1469
1469
|
# locations/`location`/oauthClients/`oauth_client``.
|
1470
1470
|
# @param [String] fields
|
1471
1471
|
# Selector specifying which fields to include in a partial response.
|
@@ -1496,8 +1496,8 @@ module Google
|
|
1496
1496
|
|
1497
1497
|
# Gets an individual OauthClient.
|
1498
1498
|
# @param [String] name
|
1499
|
-
# Required. The name of the
|
1500
|
-
#
|
1499
|
+
# Required. The name of the OauthClient to retrieve. Format: `projects/`project`/
|
1500
|
+
# locations/`location`/oauthClients/`oauth_client``.
|
1501
1501
|
# @param [String] fields
|
1502
1502
|
# Selector specifying which fields to include in a partial response.
|
1503
1503
|
# @param [String] quota_user
|
@@ -1525,19 +1525,19 @@ module Google
|
|
1525
1525
|
execute_or_queue_command(command, &block)
|
1526
1526
|
end
|
1527
1527
|
|
1528
|
-
# Lists all non-deleted
|
1529
|
-
# true`, then deleted
|
1528
|
+
# Lists all non-deleted OauthClients in a project. If `show_deleted` is set to `
|
1529
|
+
# true`, then deleted OauthClients are also listed.
|
1530
1530
|
# @param [String] parent
|
1531
|
-
# Required. The parent to list
|
1531
|
+
# Required. The parent to list OauthClients for.
|
1532
1532
|
# @param [Fixnum] page_size
|
1533
|
-
# Optional. The maximum number of
|
1534
|
-
# most 50
|
1533
|
+
# Optional. The maximum number of OauthClients to return. If unspecified, at
|
1534
|
+
# most 50 OauthClients will be returned. The maximum value is 100; values above
|
1535
1535
|
# 100 are truncated to 100.
|
1536
1536
|
# @param [String] page_token
|
1537
1537
|
# Optional. A page token, received from a previous `ListOauthClients` call.
|
1538
1538
|
# Provide this to retrieve the subsequent page.
|
1539
1539
|
# @param [Boolean] show_deleted
|
1540
|
-
# Optional. Whether to return soft-deleted
|
1540
|
+
# Optional. Whether to return soft-deleted OauthClients.
|
1541
1541
|
# @param [String] fields
|
1542
1542
|
# Selector specifying which fields to include in a partial response.
|
1543
1543
|
# @param [String] quota_user
|
@@ -1570,7 +1570,7 @@ module Google
|
|
1570
1570
|
|
1571
1571
|
# Updates an existing OauthClient.
|
1572
1572
|
# @param [String] name
|
1573
|
-
# Immutable. The resource name of the
|
1573
|
+
# Immutable. The resource name of the OauthClient. Format:`projects/`project`/
|
1574
1574
|
# locations/`location`/oauthClients/`oauth_client``.
|
1575
1575
|
# @param [Google::Apis::IamV1::OauthClient] oauth_client_object
|
1576
1576
|
# @param [String] update_mask
|
@@ -1605,10 +1605,10 @@ module Google
|
|
1605
1605
|
execute_or_queue_command(command, &block)
|
1606
1606
|
end
|
1607
1607
|
|
1608
|
-
# Undeletes
|
1608
|
+
# Undeletes an OauthClient, as long as it was deleted fewer than 30 days ago.
|
1609
1609
|
# @param [String] name
|
1610
|
-
# Required. The name of the
|
1611
|
-
#
|
1610
|
+
# Required. The name of the OauthClient to undelete. Format: `projects/`project`/
|
1611
|
+
# locations/`location`/oauthClients/`oauth_client``.
|
1612
1612
|
# @param [Google::Apis::IamV1::UndeleteOauthClientRequest] undelete_oauth_client_request_object
|
1613
1613
|
# @param [String] fields
|
1614
1614
|
# Selector specifying which fields to include in a partial response.
|
@@ -1641,13 +1641,13 @@ module Google
|
|
1641
1641
|
|
1642
1642
|
# Creates a new OauthClientCredential.
|
1643
1643
|
# @param [String] parent
|
1644
|
-
# Required. The parent resource to create the
|
1644
|
+
# Required. The parent resource to create the OauthClientCredential in.
|
1645
1645
|
# @param [Google::Apis::IamV1::OauthClientCredential] oauth_client_credential_object
|
1646
1646
|
# @param [String] oauth_client_credential_id
|
1647
|
-
# Required. The ID to use for the
|
1648
|
-
#
|
1649
|
-
#
|
1650
|
-
#
|
1647
|
+
# Required. The ID to use for the OauthClientCredential, which becomes the final
|
1648
|
+
# component of the resource name. This value should be 4-32 characters, and may
|
1649
|
+
# contain the characters [a-z0-9-]. The prefix `gcp-` is reserved for use by
|
1650
|
+
# Google, and may not be specified.
|
1651
1651
|
# @param [String] fields
|
1652
1652
|
# Selector specifying which fields to include in a partial response.
|
1653
1653
|
# @param [String] quota_user
|
@@ -1678,11 +1678,11 @@ module Google
|
|
1678
1678
|
execute_or_queue_command(command, &block)
|
1679
1679
|
end
|
1680
1680
|
|
1681
|
-
# Deletes
|
1682
|
-
#
|
1681
|
+
# Deletes an OauthClientCredential. Before deleting an OauthClientCredential, it
|
1682
|
+
# should first be disabled.
|
1683
1683
|
# @param [String] name
|
1684
|
-
# Required. The name of the
|
1685
|
-
#
|
1684
|
+
# Required. The name of the OauthClientCredential to delete. Format: `projects/`
|
1685
|
+
# project`/locations/`location`/oauthClients/`oauth_client`/credentials/`
|
1686
1686
|
# credential``.
|
1687
1687
|
# @param [String] fields
|
1688
1688
|
# Selector specifying which fields to include in a partial response.
|
@@ -1713,9 +1713,9 @@ module Google
|
|
1713
1713
|
|
1714
1714
|
# Gets an individual OauthClientCredential.
|
1715
1715
|
# @param [String] name
|
1716
|
-
# Required. The name of the
|
1717
|
-
#
|
1718
|
-
#
|
1716
|
+
# Required. The name of the OauthClientCredential to retrieve. Format: `projects/
|
1717
|
+
# `project`/locations/`location`/oauthClients/`oauth_client`/credentials/`
|
1718
|
+
# credential``.
|
1719
1719
|
# @param [String] fields
|
1720
1720
|
# Selector specifying which fields to include in a partial response.
|
1721
1721
|
# @param [String] quota_user
|
@@ -1743,9 +1743,9 @@ module Google
|
|
1743
1743
|
execute_or_queue_command(command, &block)
|
1744
1744
|
end
|
1745
1745
|
|
1746
|
-
# Lists all
|
1746
|
+
# Lists all OauthClientCredentials in an OauthClient.
|
1747
1747
|
# @param [String] parent
|
1748
|
-
# Required. The parent to list
|
1748
|
+
# Required. The parent to list OauthClientCredentials for.
|
1749
1749
|
# @param [String] fields
|
1750
1750
|
# Selector specifying which fields to include in a partial response.
|
1751
1751
|
# @param [String] quota_user
|
@@ -1775,8 +1775,8 @@ module Google
|
|
1775
1775
|
|
1776
1776
|
# Updates an existing OauthClientCredential.
|
1777
1777
|
# @param [String] name
|
1778
|
-
# Immutable. The resource name of the
|
1779
|
-
#
|
1778
|
+
# Immutable. The resource name of the OauthClientCredential. Format: `projects/`
|
1779
|
+
# project`/locations/`location`/oauthClients/`oauth_client`/credentials/`
|
1780
1780
|
# credential``
|
1781
1781
|
# @param [Google::Apis::IamV1::OauthClientCredential] oauth_client_credential_object
|
1782
1782
|
# @param [String] update_mask
|
@@ -2610,20 +2610,20 @@ module Google
|
|
2610
2610
|
# Creates a new custom Role.
|
2611
2611
|
# @param [String] parent
|
2612
2612
|
# The `parent` parameter's value depends on the target resource for the request,
|
2613
|
-
# namely [
|
2614
|
-
#
|
2615
|
-
#
|
2616
|
-
#
|
2617
|
-
#
|
2618
|
-
#
|
2619
|
-
#
|
2620
|
-
#
|
2621
|
-
#
|
2622
|
-
#
|
2623
|
-
#
|
2624
|
-
#
|
2625
|
-
#
|
2626
|
-
#
|
2613
|
+
# namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.
|
2614
|
+
# roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2615
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
2616
|
+
# below: * [projects.roles.create](https://cloud.google.com/iam/docs/reference/
|
2617
|
+
# rest/v1/projects.roles/create): `projects/`PROJECT_ID``. This method creates
|
2618
|
+
# project-level [custom roles](https://cloud.google.com/iam/docs/understanding-
|
2619
|
+
# custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
|
2620
|
+
# PROJECT_ID`/roles` * [organizations.roles.create](https://cloud.google.com/iam/
|
2621
|
+
# docs/reference/rest/v1/organizations.roles/create): `organizations/`
|
2622
|
+
# ORGANIZATION_ID``. This method creates organization-level [custom roles](https:
|
2623
|
+
# //cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `
|
2624
|
+
# https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles` Note:
|
2625
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
2626
|
+
# organization ID.
|
2627
2627
|
# @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object
|
2628
2628
|
# @param [String] fields
|
2629
2629
|
# Selector specifying which fields to include in a partial response.
|
@@ -2664,22 +2664,22 @@ module Google
|
|
2664
2664
|
# binding is permanently removed.
|
2665
2665
|
# @param [String] name
|
2666
2666
|
# The `name` parameter's value depends on the target resource for the request,
|
2667
|
-
# namely [
|
2668
|
-
#
|
2669
|
-
#
|
2670
|
-
#
|
2671
|
-
#
|
2672
|
-
#
|
2673
|
-
#
|
2674
|
-
#
|
2675
|
-
#
|
2676
|
-
#
|
2677
|
-
#
|
2678
|
-
#
|
2679
|
-
#
|
2680
|
-
#
|
2681
|
-
#
|
2682
|
-
#
|
2667
|
+
# namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.
|
2668
|
+
# roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2669
|
+
# organizations.roles). Each resource type's `name` value format is described
|
2670
|
+
# below: * [projects.roles.delete](https://cloud.google.com/iam/docs/reference/
|
2671
|
+
# rest/v1/projects.roles/delete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
2672
|
+
# This method deletes only [custom roles](https://cloud.google.com/iam/docs/
|
2673
|
+
# understanding-custom-roles) that have been created at the project level.
|
2674
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
2675
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.delete](https://cloud.google.
|
2676
|
+
# com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/`
|
2677
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only [custom
|
2678
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
2679
|
+
# been created at the organization level. Example request URL: `https://iam.
|
2680
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
2681
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
2682
|
+
# organization ID.
|
2683
2683
|
# @param [String] etag
|
2684
2684
|
# Used to perform a consistent read-modify-write.
|
2685
2685
|
# @param [String] fields
|
@@ -2713,27 +2713,27 @@ module Google
|
|
2713
2713
|
# Gets the definition of a Role.
|
2714
2714
|
# @param [String] name
|
2715
2715
|
# The `name` parameter's value depends on the target resource for the request,
|
2716
|
-
# namely [
|
2717
|
-
# projects
|
2718
|
-
# or [
|
2716
|
+
# namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [
|
2717
|
+
# projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles),
|
2718
|
+
# or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2719
2719
|
# organizations.roles). Each resource type's `name` value format is described
|
2720
|
-
# below: * [
|
2721
|
-
#
|
2722
|
-
#
|
2723
|
-
#
|
2724
|
-
#
|
2725
|
-
#
|
2726
|
-
#
|
2727
|
-
#
|
2728
|
-
#
|
2729
|
-
#
|
2730
|
-
#
|
2731
|
-
#
|
2732
|
-
#
|
2733
|
-
#
|
2734
|
-
#
|
2735
|
-
#
|
2736
|
-
#
|
2720
|
+
# below: * [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/
|
2721
|
+
# get): `roles/`ROLE_NAME``. This method returns results from all [predefined
|
2722
|
+
# roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
|
2723
|
+
# in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
|
2724
|
+
# * [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2725
|
+
# projects.roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This
|
2726
|
+
# method returns only [custom roles](https://cloud.google.com/iam/docs/
|
2727
|
+
# understanding-custom-roles) that have been created at the project level.
|
2728
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
2729
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.get](https://cloud.google.com/
|
2730
|
+
# iam/docs/reference/rest/v1/organizations.roles/get): `organizations/`
|
2731
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method returns only [custom
|
2732
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
2733
|
+
# been created at the organization level. Example request URL: `https://iam.
|
2734
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
2735
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
2736
|
+
# organization ID.
|
2737
2737
|
# @param [String] fields
|
2738
2738
|
# Selector specifying which fields to include in a partial response.
|
2739
2739
|
# @param [String] quota_user
|
@@ -2765,21 +2765,21 @@ module Google
|
|
2765
2765
|
# defined for an organization or project.
|
2766
2766
|
# @param [String] parent
|
2767
2767
|
# The `parent` parameter's value depends on the target resource for the request,
|
2768
|
-
# namely [
|
2769
|
-
# projects
|
2770
|
-
# or [
|
2768
|
+
# namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [
|
2769
|
+
# projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles),
|
2770
|
+
# or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2771
2771
|
# organizations.roles). Each resource type's `parent` value format is described
|
2772
|
-
# below: * [
|
2772
|
+
# below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2773
2773
|
# roles/list): An empty string. This method doesn't require a resource; it
|
2774
2774
|
# simply returns all [predefined roles](https://cloud.google.com/iam/docs/
|
2775
2775
|
# understanding-roles#predefined_roles) in IAM. Example request URL: `https://
|
2776
|
-
# iam.googleapis.com/v1/roles` * [
|
2777
|
-
#
|
2778
|
-
#
|
2779
|
-
#
|
2780
|
-
#
|
2781
|
-
#
|
2782
|
-
#
|
2776
|
+
# iam.googleapis.com/v1/roles` * [projects.roles.list](https://cloud.google.com/
|
2777
|
+
# iam/docs/reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
|
2778
|
+
# method lists all project-level [custom roles](https://cloud.google.com/iam/
|
2779
|
+
# docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.
|
2780
|
+
# com/v1/projects/`PROJECT_ID`/roles` * [organizations.roles.list](https://cloud.
|
2781
|
+
# google.com/iam/docs/reference/rest/v1/organizations.roles/list): `
|
2782
|
+
# organizations/`ORGANIZATION_ID``. This method lists all organization-level [
|
2783
2783
|
# custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
|
2784
2784
|
# Example request URL: `https://iam.googleapis.com/v1/organizations/`
|
2785
2785
|
# ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
|
@@ -2830,22 +2830,22 @@ module Google
|
|
2830
2830
|
# Updates the definition of a custom Role.
|
2831
2831
|
# @param [String] name
|
2832
2832
|
# The `name` parameter's value depends on the target resource for the request,
|
2833
|
-
# namely [
|
2834
|
-
#
|
2835
|
-
#
|
2836
|
-
#
|
2837
|
-
#
|
2838
|
-
#
|
2839
|
-
#
|
2840
|
-
#
|
2841
|
-
#
|
2842
|
-
#
|
2843
|
-
#
|
2844
|
-
#
|
2845
|
-
#
|
2846
|
-
#
|
2847
|
-
#
|
2848
|
-
#
|
2833
|
+
# namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.
|
2834
|
+
# roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2835
|
+
# organizations.roles). Each resource type's `name` value format is described
|
2836
|
+
# below: * [projects.roles.patch](https://cloud.google.com/iam/docs/reference/
|
2837
|
+
# rest/v1/projects.roles/patch): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
2838
|
+
# This method updates only [custom roles](https://cloud.google.com/iam/docs/
|
2839
|
+
# understanding-custom-roles) that have been created at the project level.
|
2840
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
2841
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.patch](https://cloud.google.com/
|
2842
|
+
# iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/`
|
2843
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only [custom
|
2844
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
2845
|
+
# been created at the organization level. Example request URL: `https://iam.
|
2846
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
2847
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
2848
|
+
# organization ID.
|
2849
2849
|
# @param [Google::Apis::IamV1::Role] role_object
|
2850
2850
|
# @param [String] update_mask
|
2851
2851
|
# A mask describing which fields in the Role have changed.
|
@@ -2882,22 +2882,22 @@ module Google
|
|
2882
2882
|
# Undeletes a custom Role.
|
2883
2883
|
# @param [String] name
|
2884
2884
|
# The `name` parameter's value depends on the target resource for the request,
|
2885
|
-
# namely [
|
2886
|
-
#
|
2887
|
-
#
|
2888
|
-
#
|
2889
|
-
#
|
2890
|
-
#
|
2891
|
-
#
|
2892
|
-
#
|
2893
|
-
#
|
2894
|
-
#
|
2895
|
-
#
|
2896
|
-
#
|
2897
|
-
#
|
2898
|
-
#
|
2899
|
-
#
|
2900
|
-
#
|
2885
|
+
# namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.
|
2886
|
+
# roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2887
|
+
# organizations.roles). Each resource type's `name` value format is described
|
2888
|
+
# below: * [projects.roles.undelete](https://cloud.google.com/iam/docs/reference/
|
2889
|
+
# rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`
|
2890
|
+
# `. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/
|
2891
|
+
# understanding-custom-roles) that have been created at the project level.
|
2892
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
2893
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.undelete](https://cloud.google.
|
2894
|
+
# com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/`
|
2895
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method undeletes only [custom
|
2896
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
2897
|
+
# been created at the organization level. Example request URL: `https://iam.
|
2898
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
2899
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
2900
|
+
# organization ID.
|
2901
2901
|
# @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_request_object
|
2902
2902
|
# @param [String] fields
|
2903
2903
|
# Selector specifying which fields to include in a partial response.
|
@@ -3152,8 +3152,8 @@ module Google
|
|
3152
3152
|
# does not tell you whether the service account has been granted any roles on
|
3153
3153
|
# other resources. To check whether a service account has role grants on a
|
3154
3154
|
# resource, use the `getIamPolicy` method for that resource. For example, to
|
3155
|
-
# view the role grants for a project, call the Resource Manager API's [
|
3156
|
-
# getIamPolicy
|
3155
|
+
# view the role grants for a project, call the Resource Manager API's [projects.
|
3156
|
+
# getIamPolicy](https://cloud.google.com/resource-manager/reference/rest/v1/
|
3157
3157
|
# projects/getIamPolicy) method.
|
3158
3158
|
# @param [String] resource
|
3159
3159
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
@@ -3327,7 +3327,7 @@ module Google
|
|
3327
3327
|
execute_or_queue_command(command, &block)
|
3328
3328
|
end
|
3329
3329
|
|
3330
|
-
# **Note:** This method is deprecated. Use the [
|
3330
|
+
# **Note:** This method is deprecated. Use the [signBlob](https://cloud.google.
|
3331
3331
|
# com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob) method in
|
3332
3332
|
# the IAM Service Account Credentials API instead. If you currently use this
|
3333
3333
|
# method, see the [migration guide](https://cloud.google.com/iam/help/
|
@@ -3375,7 +3375,7 @@ module Google
|
|
3375
3375
|
execute_or_queue_command(command, &block)
|
3376
3376
|
end
|
3377
3377
|
|
3378
|
-
# **Note:** This method is deprecated. Use the [
|
3378
|
+
# **Note:** This method is deprecated. Use the [signJwt](https://cloud.google.
|
3379
3379
|
# com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt) method in
|
3380
3380
|
# the IAM Service Account Credentials API instead. If you currently use this
|
3381
3381
|
# method, see the [migration guide](https://cloud.google.com/iam/help/
|
@@ -3887,27 +3887,27 @@ module Google
|
|
3887
3887
|
# Gets the definition of a Role.
|
3888
3888
|
# @param [String] name
|
3889
3889
|
# The `name` parameter's value depends on the target resource for the request,
|
3890
|
-
# namely [
|
3891
|
-
# projects
|
3892
|
-
# or [
|
3890
|
+
# namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [
|
3891
|
+
# projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles),
|
3892
|
+
# or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
3893
3893
|
# organizations.roles). Each resource type's `name` value format is described
|
3894
|
-
# below: * [
|
3895
|
-
#
|
3896
|
-
#
|
3897
|
-
#
|
3898
|
-
#
|
3899
|
-
#
|
3900
|
-
#
|
3901
|
-
#
|
3902
|
-
#
|
3903
|
-
#
|
3904
|
-
#
|
3905
|
-
#
|
3906
|
-
#
|
3907
|
-
#
|
3908
|
-
#
|
3909
|
-
#
|
3910
|
-
#
|
3894
|
+
# below: * [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/
|
3895
|
+
# get): `roles/`ROLE_NAME``. This method returns results from all [predefined
|
3896
|
+
# roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles)
|
3897
|
+
# in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
|
3898
|
+
# * [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/
|
3899
|
+
# projects.roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This
|
3900
|
+
# method returns only [custom roles](https://cloud.google.com/iam/docs/
|
3901
|
+
# understanding-custom-roles) that have been created at the project level.
|
3902
|
+
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
3903
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.get](https://cloud.google.com/
|
3904
|
+
# iam/docs/reference/rest/v1/organizations.roles/get): `organizations/`
|
3905
|
+
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method returns only [custom
|
3906
|
+
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
3907
|
+
# been created at the organization level. Example request URL: `https://iam.
|
3908
|
+
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
3909
|
+
# Wildcard (*) values are invalid; you must specify a complete project ID or
|
3910
|
+
# organization ID.
|
3911
3911
|
# @param [String] fields
|
3912
3912
|
# Selector specifying which fields to include in a partial response.
|
3913
3913
|
# @param [String] quota_user
|
@@ -3944,21 +3944,21 @@ module Google
|
|
3944
3944
|
# Optional pagination token returned in an earlier ListRolesResponse.
|
3945
3945
|
# @param [String] parent
|
3946
3946
|
# The `parent` parameter's value depends on the target resource for the request,
|
3947
|
-
# namely [
|
3948
|
-
# projects
|
3949
|
-
# or [
|
3947
|
+
# namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [
|
3948
|
+
# projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles),
|
3949
|
+
# or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/
|
3950
3950
|
# organizations.roles). Each resource type's `parent` value format is described
|
3951
|
-
# below: * [
|
3951
|
+
# below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/
|
3952
3952
|
# roles/list): An empty string. This method doesn't require a resource; it
|
3953
3953
|
# simply returns all [predefined roles](https://cloud.google.com/iam/docs/
|
3954
3954
|
# understanding-roles#predefined_roles) in IAM. Example request URL: `https://
|
3955
|
-
# iam.googleapis.com/v1/roles` * [
|
3956
|
-
#
|
3957
|
-
#
|
3958
|
-
#
|
3959
|
-
#
|
3960
|
-
#
|
3961
|
-
#
|
3955
|
+
# iam.googleapis.com/v1/roles` * [projects.roles.list](https://cloud.google.com/
|
3956
|
+
# iam/docs/reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
|
3957
|
+
# method lists all project-level [custom roles](https://cloud.google.com/iam/
|
3958
|
+
# docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.
|
3959
|
+
# com/v1/projects/`PROJECT_ID`/roles` * [organizations.roles.list](https://cloud.
|
3960
|
+
# google.com/iam/docs/reference/rest/v1/organizations.roles/list): `
|
3961
|
+
# organizations/`ORGANIZATION_ID``. This method lists all organization-level [
|
3962
3962
|
# custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
|
3963
3963
|
# Example request URL: `https://iam.googleapis.com/v1/organizations/`
|
3964
3964
|
# ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
|
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.58.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: 2024-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.58.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: []
|