google-apis-iam_v1 0.56.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 +9 -0
- data/lib/google/apis/iam_v1/classes.rb +51 -44
- data/lib/google/apis/iam_v1/gem_version.rb +3 -3
- data/lib/google/apis/iam_v1/service.rb +209 -206
- 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,14 @@
|
|
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
|
+
|
8
|
+
### v0.57.0 (2024-04-28)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240418
|
11
|
+
|
3
12
|
### v0.56.0 (2024-04-21)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240415
|
@@ -168,8 +168,8 @@ module Google
|
|
168
168
|
class AuditableService
|
169
169
|
include Google::Apis::Core::Hashable
|
170
170
|
|
171
|
-
# Public name of the service. For example, the service name for
|
172
|
-
#
|
171
|
+
# Public name of the service. For example, the service name for IAM is 'iam.
|
172
|
+
# googleapis.com'.
|
173
173
|
# Corresponds to the JSON property `name`
|
174
174
|
# @return [String]
|
175
175
|
attr_accessor :name
|
@@ -714,10 +714,10 @@ module Google
|
|
714
714
|
|
715
715
|
# Optional. The filter used to request specific records from IdP. In case of
|
716
716
|
# attributes type as AZURE_AD_GROUPS_MAIL, it represents the filter used to
|
717
|
-
# request specific groups for users from IdP. By default all the groups
|
718
|
-
# associated with the user are fetched. The groups
|
719
|
-
#
|
720
|
-
#
|
717
|
+
# request specific groups for users from IdP. By default, all of the groups
|
718
|
+
# associated with the user are fetched. The groups should be mail enabled and
|
719
|
+
# security enabled. See https://learn.microsoft.com/en-us/graph/search-query-
|
720
|
+
# parameter for more details.
|
721
721
|
# Corresponds to the JSON property `filter`
|
722
722
|
# @return [String]
|
723
723
|
attr_accessor :filter
|
@@ -943,7 +943,7 @@ module Google
|
|
943
943
|
end
|
944
944
|
end
|
945
945
|
|
946
|
-
# The request to lint
|
946
|
+
# The request to lint an IAM policy object.
|
947
947
|
class LintPolicyRequest
|
948
948
|
include Google::Apis::Core::Hashable
|
949
949
|
|
@@ -967,10 +967,10 @@ module Google
|
|
967
967
|
attr_accessor :condition
|
968
968
|
|
969
969
|
# The full resource name of the policy this lint request is about. The name
|
970
|
-
# follows the Google Cloud format for full resource names. For example, a
|
971
|
-
# project with ID `my-project` will be named `//cloudresourcemanager.
|
972
|
-
# com/projects/my-project`. The resource name is not used to read a
|
973
|
-
# IAM. Only the data in the request object is linted.
|
970
|
+
# follows the Google Cloud format for full resource names. For example, a Google
|
971
|
+
# Cloud project with ID `my-project` will be named `//cloudresourcemanager.
|
972
|
+
# googleapis.com/projects/my-project`. The resource name is not used to read a
|
973
|
+
# policy from IAM. Only the data in the request object is linted.
|
974
974
|
# Corresponds to the JSON property `fullResourceName`
|
975
975
|
# @return [String]
|
976
976
|
attr_accessor :full_resource_name
|
@@ -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,15 +1064,15 @@ 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
|
-
# roles) or [
|
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
1069
|
# organizations.roles). Each resource type's `parent` value format is described
|
1070
|
-
# below: * [
|
1070
|
+
# below: * [projects.roles.create](https://cloud.google.com/iam/docs/reference/
|
1071
1071
|
# rest/v1/projects.roles/create): `projects/`PROJECT_ID``. This method creates
|
1072
1072
|
# project-level [custom roles](https://cloud.google.com/iam/docs/understanding-
|
1073
1073
|
# custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
|
1074
|
-
# PROJECT_ID`/roles` * [
|
1075
|
-
#
|
1074
|
+
# PROJECT_ID`/roles` * [organizations.roles.create](https://cloud.google.com/iam/
|
1075
|
+
# docs/reference/rest/v1/organizations.roles/create): `organizations/`
|
1076
1076
|
# ORGANIZATION_ID``. This method creates organization-level [custom roles](https:
|
1077
1077
|
# //cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `
|
1078
1078
|
# https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles` Note:
|
@@ -1118,16 +1118,16 @@ 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
|
-
# roles) or [
|
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
1123
|
# organizations.roles). Each resource type's `name` value format is described
|
1124
|
-
# below: * [
|
1124
|
+
# below: * [projects.roles.delete](https://cloud.google.com/iam/docs/reference/
|
1125
1125
|
# rest/v1/projects.roles/delete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
1126
1126
|
# This method deletes only [custom roles](https://cloud.google.com/iam/docs/
|
1127
1127
|
# understanding-custom-roles) that have been created at the project level.
|
1128
1128
|
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1129
|
-
# roles/`CUSTOM_ROLE_ID`` * [
|
1130
|
-
#
|
1129
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.delete](https://cloud.google.
|
1130
|
+
# com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/`
|
1131
1131
|
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only [custom
|
1132
1132
|
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1133
1133
|
# been created at the organization level. Example request URL: `https://iam.
|
@@ -1167,26 +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
|
-
#
|
1173
|
-
# roles). Each resource type's `name` value format is described
|
1174
|
-
# get
|
1175
|
-
# ROLE_NAME``. This method returns results from all [predefined
|
1176
|
-
# cloud.google.com/iam/docs/understanding-roles#predefined_roles)
|
1177
|
-
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
|
1178
|
-
# projects.roles.get
|
1179
|
-
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This
|
1180
|
-
# returns only [custom roles](https://cloud.google.com/iam/docs/
|
1181
|
-
# custom-roles) that have been created at the project level.
|
1182
|
-
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1183
|
-
# [
|
1184
|
-
# organizations.roles/get): `organizations/`
|
1185
|
-
# CUSTOM_ROLE_ID``. This method returns only [custom
|
1186
|
-
# com/iam/docs/understanding-custom-roles) that have
|
1187
|
-
# organization level. Example request URL: `https://iam.
|
1188
|
-
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
1189
|
-
# values are invalid; you must specify a complete project ID 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
|
+
# organizations.roles). Each resource type's `name` value format is described
|
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.
|
1190
1191
|
# @param [String] fields
|
1191
1192
|
# Selector specifying which fields to include in a partial response.
|
1192
1193
|
# @param [String] quota_user
|
@@ -1218,25 +1219,25 @@ module Google
|
|
1218
1219
|
# defined for an organization or project.
|
1219
1220
|
# @param [String] parent
|
1220
1221
|
# The `parent` parameter's value depends on the target resource for the request,
|
1221
|
-
# namely [
|
1222
|
-
# projects
|
1223
|
-
#
|
1224
|
-
# roles). Each resource type's `parent` value format is described
|
1225
|
-
# roles.list
|
1226
|
-
# empty string. This method doesn't require a resource; it
|
1227
|
-
# predefined roles](https://cloud.google.com/iam/docs/
|
1228
|
-
# predefined_roles) in
|
1229
|
-
# com/v1/roles` * [
|
1230
|
-
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
|
1231
|
-
# lists all project-level [custom roles](https://cloud.google.com/iam/
|
1232
|
-
# understanding-custom-roles). Example request URL: `https://iam.googleapis.
|
1233
|
-
# v1/projects/`PROJECT_ID`/roles` * [
|
1234
|
-
# google.com/iam/reference/rest/v1/organizations.roles/list): `
|
1235
|
-
# ORGANIZATION_ID``. This method lists all organization-level [
|
1236
|
-
# https://cloud.google.com/iam/docs/understanding-custom-roles).
|
1237
|
-
# URL: `https://iam.googleapis.com/v1/organizations/`
|
1238
|
-
# Note: Wildcard (*) values are invalid; you must
|
1239
|
-
# or organization ID.
|
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
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
1226
|
+
# below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/
|
1227
|
+
# roles/list): An empty string. This method doesn't require a resource; it
|
1228
|
+
# simply returns all [predefined roles](https://cloud.google.com/iam/docs/
|
1229
|
+
# understanding-roles#predefined_roles) in IAM. Example request URL: `https://
|
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
|
+
# custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
|
1238
|
+
# Example request URL: `https://iam.googleapis.com/v1/organizations/`
|
1239
|
+
# ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
|
1240
|
+
# specify a complete project ID or organization ID.
|
1240
1241
|
# @param [Fixnum] page_size
|
1241
1242
|
# Optional limit on the number of roles to include in the response. The default
|
1242
1243
|
# is 300, and the maximum is 1,000.
|
@@ -1283,16 +1284,16 @@ module Google
|
|
1283
1284
|
# Updates the definition of a custom Role.
|
1284
1285
|
# @param [String] name
|
1285
1286
|
# The `name` parameter's value depends on the target resource for the request,
|
1286
|
-
# namely [
|
1287
|
-
# roles) or [
|
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/
|
1288
1289
|
# organizations.roles). Each resource type's `name` value format is described
|
1289
|
-
# below: * [
|
1290
|
+
# below: * [projects.roles.patch](https://cloud.google.com/iam/docs/reference/
|
1290
1291
|
# rest/v1/projects.roles/patch): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
1291
1292
|
# This method updates only [custom roles](https://cloud.google.com/iam/docs/
|
1292
1293
|
# understanding-custom-roles) that have been created at the project level.
|
1293
1294
|
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1294
|
-
# roles/`CUSTOM_ROLE_ID`` * [
|
1295
|
-
#
|
1295
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.patch](https://cloud.google.com/
|
1296
|
+
# iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/`
|
1296
1297
|
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only [custom
|
1297
1298
|
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1298
1299
|
# been created at the organization level. Example request URL: `https://iam.
|
@@ -1335,17 +1336,17 @@ module Google
|
|
1335
1336
|
# Undeletes a custom Role.
|
1336
1337
|
# @param [String] name
|
1337
1338
|
# The `name` parameter's value depends on the target resource for the request,
|
1338
|
-
# namely [
|
1339
|
-
# roles) or [
|
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/
|
1340
1341
|
# organizations.roles). Each resource type's `name` value format is described
|
1341
|
-
# below: * [
|
1342
|
+
# below: * [projects.roles.undelete](https://cloud.google.com/iam/docs/reference/
|
1342
1343
|
# rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`
|
1343
1344
|
# `. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/
|
1344
1345
|
# understanding-custom-roles) that have been created at the project level.
|
1345
1346
|
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
1346
|
-
# roles/`CUSTOM_ROLE_ID`` * [
|
1347
|
-
#
|
1348
|
-
#
|
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
|
1349
1350
|
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
1350
1351
|
# been created at the organization level. Example request URL: `https://iam.
|
1351
1352
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
@@ -1413,18 +1414,18 @@ module Google
|
|
1413
1414
|
execute_or_queue_command(command, &block)
|
1414
1415
|
end
|
1415
1416
|
|
1416
|
-
# 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
|
1417
1418
|
# until 30 days after deletion.
|
1418
1419
|
# @param [String] parent
|
1419
|
-
# Required. The parent resource to create the
|
1420
|
-
#
|
1420
|
+
# Required. The parent resource to create the OauthClient in. The only supported
|
1421
|
+
# location is `global`.
|
1421
1422
|
# @param [Google::Apis::IamV1::OauthClient] oauth_client_object
|
1422
1423
|
# @param [String] oauth_client_id
|
1423
|
-
# Required. The ID to use for the
|
1424
|
-
#
|
1425
|
-
#
|
1426
|
-
#
|
1427
|
-
#
|
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.
|
1428
1429
|
# @param [String] fields
|
1429
1430
|
# Selector specifying which fields to include in a partial response.
|
1430
1431
|
# @param [String] quota_user
|
@@ -1455,16 +1456,16 @@ module Google
|
|
1455
1456
|
execute_or_queue_command(command, &block)
|
1456
1457
|
end
|
1457
1458
|
|
1458
|
-
# Deletes
|
1459
|
-
# 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
|
1460
1461
|
# continue to grant access. Deletion does revoke refresh tokens that have
|
1461
|
-
# already been issued
|
1462
|
-
#
|
1463
|
-
# valid for token exchange again. You can undelete an
|
1464
|
-
# 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.
|
1465
1466
|
# However, you can view and list them.
|
1466
1467
|
# @param [String] name
|
1467
|
-
# Required. The name of the
|
1468
|
+
# Required. The name of the OauthClient to delete. Format: `projects/`project`/
|
1468
1469
|
# locations/`location`/oauthClients/`oauth_client``.
|
1469
1470
|
# @param [String] fields
|
1470
1471
|
# Selector specifying which fields to include in a partial response.
|
@@ -1495,8 +1496,8 @@ module Google
|
|
1495
1496
|
|
1496
1497
|
# Gets an individual OauthClient.
|
1497
1498
|
# @param [String] name
|
1498
|
-
# Required. The name of the
|
1499
|
-
#
|
1499
|
+
# Required. The name of the OauthClient to retrieve. Format: `projects/`project`/
|
1500
|
+
# locations/`location`/oauthClients/`oauth_client``.
|
1500
1501
|
# @param [String] fields
|
1501
1502
|
# Selector specifying which fields to include in a partial response.
|
1502
1503
|
# @param [String] quota_user
|
@@ -1524,19 +1525,19 @@ module Google
|
|
1524
1525
|
execute_or_queue_command(command, &block)
|
1525
1526
|
end
|
1526
1527
|
|
1527
|
-
# Lists all non-deleted
|
1528
|
-
# 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.
|
1529
1530
|
# @param [String] parent
|
1530
|
-
# Required. The parent to list
|
1531
|
+
# Required. The parent to list OauthClients for.
|
1531
1532
|
# @param [Fixnum] page_size
|
1532
|
-
# Optional. The maximum number of
|
1533
|
-
# 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
|
1534
1535
|
# 100 are truncated to 100.
|
1535
1536
|
# @param [String] page_token
|
1536
1537
|
# Optional. A page token, received from a previous `ListOauthClients` call.
|
1537
1538
|
# Provide this to retrieve the subsequent page.
|
1538
1539
|
# @param [Boolean] show_deleted
|
1539
|
-
# Optional. Whether to return soft-deleted
|
1540
|
+
# Optional. Whether to return soft-deleted OauthClients.
|
1540
1541
|
# @param [String] fields
|
1541
1542
|
# Selector specifying which fields to include in a partial response.
|
1542
1543
|
# @param [String] quota_user
|
@@ -1569,7 +1570,7 @@ module Google
|
|
1569
1570
|
|
1570
1571
|
# Updates an existing OauthClient.
|
1571
1572
|
# @param [String] name
|
1572
|
-
# Immutable. The resource name of the
|
1573
|
+
# Immutable. The resource name of the OauthClient. Format:`projects/`project`/
|
1573
1574
|
# locations/`location`/oauthClients/`oauth_client``.
|
1574
1575
|
# @param [Google::Apis::IamV1::OauthClient] oauth_client_object
|
1575
1576
|
# @param [String] update_mask
|
@@ -1604,10 +1605,10 @@ module Google
|
|
1604
1605
|
execute_or_queue_command(command, &block)
|
1605
1606
|
end
|
1606
1607
|
|
1607
|
-
# Undeletes
|
1608
|
+
# Undeletes an OauthClient, as long as it was deleted fewer than 30 days ago.
|
1608
1609
|
# @param [String] name
|
1609
|
-
# Required. The name of the
|
1610
|
-
#
|
1610
|
+
# Required. The name of the OauthClient to undelete. Format: `projects/`project`/
|
1611
|
+
# locations/`location`/oauthClients/`oauth_client``.
|
1611
1612
|
# @param [Google::Apis::IamV1::UndeleteOauthClientRequest] undelete_oauth_client_request_object
|
1612
1613
|
# @param [String] fields
|
1613
1614
|
# Selector specifying which fields to include in a partial response.
|
@@ -1640,13 +1641,13 @@ module Google
|
|
1640
1641
|
|
1641
1642
|
# Creates a new OauthClientCredential.
|
1642
1643
|
# @param [String] parent
|
1643
|
-
# Required. The parent resource to create the
|
1644
|
+
# Required. The parent resource to create the OauthClientCredential in.
|
1644
1645
|
# @param [Google::Apis::IamV1::OauthClientCredential] oauth_client_credential_object
|
1645
1646
|
# @param [String] oauth_client_credential_id
|
1646
|
-
# Required. The ID to use for the
|
1647
|
-
#
|
1648
|
-
#
|
1649
|
-
#
|
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.
|
1650
1651
|
# @param [String] fields
|
1651
1652
|
# Selector specifying which fields to include in a partial response.
|
1652
1653
|
# @param [String] quota_user
|
@@ -1677,11 +1678,11 @@ module Google
|
|
1677
1678
|
execute_or_queue_command(command, &block)
|
1678
1679
|
end
|
1679
1680
|
|
1680
|
-
# Deletes
|
1681
|
-
#
|
1681
|
+
# Deletes an OauthClientCredential. Before deleting an OauthClientCredential, it
|
1682
|
+
# should first be disabled.
|
1682
1683
|
# @param [String] name
|
1683
|
-
# Required. The name of the
|
1684
|
-
#
|
1684
|
+
# Required. The name of the OauthClientCredential to delete. Format: `projects/`
|
1685
|
+
# project`/locations/`location`/oauthClients/`oauth_client`/credentials/`
|
1685
1686
|
# credential``.
|
1686
1687
|
# @param [String] fields
|
1687
1688
|
# Selector specifying which fields to include in a partial response.
|
@@ -1712,9 +1713,9 @@ module Google
|
|
1712
1713
|
|
1713
1714
|
# Gets an individual OauthClientCredential.
|
1714
1715
|
# @param [String] name
|
1715
|
-
# Required. The name of the
|
1716
|
-
#
|
1717
|
-
#
|
1716
|
+
# Required. The name of the OauthClientCredential to retrieve. Format: `projects/
|
1717
|
+
# `project`/locations/`location`/oauthClients/`oauth_client`/credentials/`
|
1718
|
+
# credential``.
|
1718
1719
|
# @param [String] fields
|
1719
1720
|
# Selector specifying which fields to include in a partial response.
|
1720
1721
|
# @param [String] quota_user
|
@@ -1742,9 +1743,9 @@ module Google
|
|
1742
1743
|
execute_or_queue_command(command, &block)
|
1743
1744
|
end
|
1744
1745
|
|
1745
|
-
# Lists all
|
1746
|
+
# Lists all OauthClientCredentials in an OauthClient.
|
1746
1747
|
# @param [String] parent
|
1747
|
-
# Required. The parent to list
|
1748
|
+
# Required. The parent to list OauthClientCredentials for.
|
1748
1749
|
# @param [String] fields
|
1749
1750
|
# Selector specifying which fields to include in a partial response.
|
1750
1751
|
# @param [String] quota_user
|
@@ -1774,8 +1775,8 @@ module Google
|
|
1774
1775
|
|
1775
1776
|
# Updates an existing OauthClientCredential.
|
1776
1777
|
# @param [String] name
|
1777
|
-
# Immutable. The resource name of the
|
1778
|
-
#
|
1778
|
+
# Immutable. The resource name of the OauthClientCredential. Format: `projects/`
|
1779
|
+
# project`/locations/`location`/oauthClients/`oauth_client`/credentials/`
|
1779
1780
|
# credential``
|
1780
1781
|
# @param [Google::Apis::IamV1::OauthClientCredential] oauth_client_credential_object
|
1781
1782
|
# @param [String] update_mask
|
@@ -2609,15 +2610,15 @@ module Google
|
|
2609
2610
|
# Creates a new custom Role.
|
2610
2611
|
# @param [String] parent
|
2611
2612
|
# The `parent` parameter's value depends on the target resource for the request,
|
2612
|
-
# namely [
|
2613
|
-
# roles) or [
|
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/
|
2614
2615
|
# organizations.roles). Each resource type's `parent` value format is described
|
2615
|
-
# below: * [
|
2616
|
+
# below: * [projects.roles.create](https://cloud.google.com/iam/docs/reference/
|
2616
2617
|
# rest/v1/projects.roles/create): `projects/`PROJECT_ID``. This method creates
|
2617
2618
|
# project-level [custom roles](https://cloud.google.com/iam/docs/understanding-
|
2618
2619
|
# custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
|
2619
|
-
# PROJECT_ID`/roles` * [
|
2620
|
-
#
|
2620
|
+
# PROJECT_ID`/roles` * [organizations.roles.create](https://cloud.google.com/iam/
|
2621
|
+
# docs/reference/rest/v1/organizations.roles/create): `organizations/`
|
2621
2622
|
# ORGANIZATION_ID``. This method creates organization-level [custom roles](https:
|
2622
2623
|
# //cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `
|
2623
2624
|
# https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles` Note:
|
@@ -2663,16 +2664,16 @@ module Google
|
|
2663
2664
|
# binding is permanently removed.
|
2664
2665
|
# @param [String] name
|
2665
2666
|
# The `name` parameter's value depends on the target resource for the request,
|
2666
|
-
# namely [
|
2667
|
-
# roles) or [
|
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/
|
2668
2669
|
# organizations.roles). Each resource type's `name` value format is described
|
2669
|
-
# below: * [
|
2670
|
+
# below: * [projects.roles.delete](https://cloud.google.com/iam/docs/reference/
|
2670
2671
|
# rest/v1/projects.roles/delete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
2671
2672
|
# This method deletes only [custom roles](https://cloud.google.com/iam/docs/
|
2672
2673
|
# understanding-custom-roles) that have been created at the project level.
|
2673
2674
|
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
2674
|
-
# roles/`CUSTOM_ROLE_ID`` * [
|
2675
|
-
#
|
2675
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.delete](https://cloud.google.
|
2676
|
+
# com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/`
|
2676
2677
|
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only [custom
|
2677
2678
|
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
2678
2679
|
# been created at the organization level. Example request URL: `https://iam.
|
@@ -2712,26 +2713,27 @@ module Google
|
|
2712
2713
|
# Gets the definition of a Role.
|
2713
2714
|
# @param [String] name
|
2714
2715
|
# The `name` parameter's value depends on the target resource for the request,
|
2715
|
-
# namely [
|
2716
|
-
# projects
|
2717
|
-
#
|
2718
|
-
# roles). Each resource type's `name` value format is described
|
2719
|
-
# get
|
2720
|
-
# ROLE_NAME``. This method returns results from all [predefined
|
2721
|
-
# cloud.google.com/iam/docs/understanding-roles#predefined_roles)
|
2722
|
-
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
|
2723
|
-
# projects.roles.get
|
2724
|
-
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This
|
2725
|
-
# returns only [custom roles](https://cloud.google.com/iam/docs/
|
2726
|
-
# custom-roles) that have been created at the project level.
|
2727
|
-
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
2728
|
-
# [
|
2729
|
-
# organizations.roles/get): `organizations/`
|
2730
|
-
# CUSTOM_ROLE_ID``. This method returns only [custom
|
2731
|
-
# com/iam/docs/understanding-custom-roles) that have
|
2732
|
-
# organization level. Example request URL: `https://iam.
|
2733
|
-
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
2734
|
-
# values are invalid; you must specify a complete project ID 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
|
+
# organizations.roles). Each resource type's `name` value format is described
|
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.
|
2735
2737
|
# @param [String] fields
|
2736
2738
|
# Selector specifying which fields to include in a partial response.
|
2737
2739
|
# @param [String] quota_user
|
@@ -2763,25 +2765,25 @@ module Google
|
|
2763
2765
|
# defined for an organization or project.
|
2764
2766
|
# @param [String] parent
|
2765
2767
|
# The `parent` parameter's value depends on the target resource for the request,
|
2766
|
-
# namely [
|
2767
|
-
# projects
|
2768
|
-
#
|
2769
|
-
# roles). Each resource type's `parent` value format is described
|
2770
|
-
# roles.list
|
2771
|
-
# empty string. This method doesn't require a resource; it
|
2772
|
-
# predefined roles](https://cloud.google.com/iam/docs/
|
2773
|
-
# predefined_roles) in
|
2774
|
-
# com/v1/roles` * [
|
2775
|
-
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
|
2776
|
-
# lists all project-level [custom roles](https://cloud.google.com/iam/
|
2777
|
-
# understanding-custom-roles). Example request URL: `https://iam.googleapis.
|
2778
|
-
# v1/projects/`PROJECT_ID`/roles` * [
|
2779
|
-
# google.com/iam/reference/rest/v1/organizations.roles/list): `
|
2780
|
-
# ORGANIZATION_ID``. This method lists all organization-level [
|
2781
|
-
# https://cloud.google.com/iam/docs/understanding-custom-roles).
|
2782
|
-
# URL: `https://iam.googleapis.com/v1/organizations/`
|
2783
|
-
# Note: Wildcard (*) values are invalid; you must
|
2784
|
-
# or organization ID.
|
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
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
2772
|
+
# below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/
|
2773
|
+
# roles/list): An empty string. This method doesn't require a resource; it
|
2774
|
+
# simply returns all [predefined roles](https://cloud.google.com/iam/docs/
|
2775
|
+
# understanding-roles#predefined_roles) in IAM. Example request URL: `https://
|
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
|
+
# custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
|
2784
|
+
# Example request URL: `https://iam.googleapis.com/v1/organizations/`
|
2785
|
+
# ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
|
2786
|
+
# specify a complete project ID or organization ID.
|
2785
2787
|
# @param [Fixnum] page_size
|
2786
2788
|
# Optional limit on the number of roles to include in the response. The default
|
2787
2789
|
# is 300, and the maximum is 1,000.
|
@@ -2828,16 +2830,16 @@ module Google
|
|
2828
2830
|
# Updates the definition of a custom Role.
|
2829
2831
|
# @param [String] name
|
2830
2832
|
# The `name` parameter's value depends on the target resource for the request,
|
2831
|
-
# namely [
|
2832
|
-
# roles) or [
|
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/
|
2833
2835
|
# organizations.roles). Each resource type's `name` value format is described
|
2834
|
-
# below: * [
|
2836
|
+
# below: * [projects.roles.patch](https://cloud.google.com/iam/docs/reference/
|
2835
2837
|
# rest/v1/projects.roles/patch): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
|
2836
2838
|
# This method updates only [custom roles](https://cloud.google.com/iam/docs/
|
2837
2839
|
# understanding-custom-roles) that have been created at the project level.
|
2838
2840
|
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
2839
|
-
# roles/`CUSTOM_ROLE_ID`` * [
|
2840
|
-
#
|
2841
|
+
# roles/`CUSTOM_ROLE_ID`` * [organizations.roles.patch](https://cloud.google.com/
|
2842
|
+
# iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/`
|
2841
2843
|
# ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only [custom
|
2842
2844
|
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
2843
2845
|
# been created at the organization level. Example request URL: `https://iam.
|
@@ -2880,17 +2882,17 @@ module Google
|
|
2880
2882
|
# Undeletes a custom Role.
|
2881
2883
|
# @param [String] name
|
2882
2884
|
# The `name` parameter's value depends on the target resource for the request,
|
2883
|
-
# namely [
|
2884
|
-
# roles) or [
|
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/
|
2885
2887
|
# organizations.roles). Each resource type's `name` value format is described
|
2886
|
-
# below: * [
|
2888
|
+
# below: * [projects.roles.undelete](https://cloud.google.com/iam/docs/reference/
|
2887
2889
|
# rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`
|
2888
2890
|
# `. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/
|
2889
2891
|
# understanding-custom-roles) that have been created at the project level.
|
2890
2892
|
# Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
2891
|
-
# roles/`CUSTOM_ROLE_ID`` * [
|
2892
|
-
#
|
2893
|
-
#
|
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
|
2894
2896
|
# roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have
|
2895
2897
|
# been created at the organization level. Example request URL: `https://iam.
|
2896
2898
|
# googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
@@ -3150,8 +3152,8 @@ module Google
|
|
3150
3152
|
# does not tell you whether the service account has been granted any roles on
|
3151
3153
|
# other resources. To check whether a service account has role grants on a
|
3152
3154
|
# resource, use the `getIamPolicy` method for that resource. For example, to
|
3153
|
-
# view the role grants for a project, call the Resource Manager API's [
|
3154
|
-
# 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/
|
3155
3157
|
# projects/getIamPolicy) method.
|
3156
3158
|
# @param [String] resource
|
3157
3159
|
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
@@ -3325,7 +3327,7 @@ module Google
|
|
3325
3327
|
execute_or_queue_command(command, &block)
|
3326
3328
|
end
|
3327
3329
|
|
3328
|
-
# **Note:** This method is deprecated. Use the [
|
3330
|
+
# **Note:** This method is deprecated. Use the [signBlob](https://cloud.google.
|
3329
3331
|
# com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob) method in
|
3330
3332
|
# the IAM Service Account Credentials API instead. If you currently use this
|
3331
3333
|
# method, see the [migration guide](https://cloud.google.com/iam/help/
|
@@ -3373,7 +3375,7 @@ module Google
|
|
3373
3375
|
execute_or_queue_command(command, &block)
|
3374
3376
|
end
|
3375
3377
|
|
3376
|
-
# **Note:** This method is deprecated. Use the [
|
3378
|
+
# **Note:** This method is deprecated. Use the [signJwt](https://cloud.google.
|
3377
3379
|
# com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt) method in
|
3378
3380
|
# the IAM Service Account Credentials API instead. If you currently use this
|
3379
3381
|
# method, see the [migration guide](https://cloud.google.com/iam/help/
|
@@ -3885,26 +3887,27 @@ module Google
|
|
3885
3887
|
# Gets the definition of a Role.
|
3886
3888
|
# @param [String] name
|
3887
3889
|
# The `name` parameter's value depends on the target resource for the request,
|
3888
|
-
# namely [
|
3889
|
-
# projects
|
3890
|
-
#
|
3891
|
-
# roles). Each resource type's `name` value format is described
|
3892
|
-
# get
|
3893
|
-
# ROLE_NAME``. This method returns results from all [predefined
|
3894
|
-
# cloud.google.com/iam/docs/understanding-roles#predefined_roles)
|
3895
|
-
# Example request URL: `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
|
3896
|
-
# projects.roles.get
|
3897
|
-
# roles/get): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This
|
3898
|
-
# returns only [custom roles](https://cloud.google.com/iam/docs/
|
3899
|
-
# custom-roles) that have been created at the project level.
|
3900
|
-
# `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
|
3901
|
-
# [
|
3902
|
-
# organizations.roles/get): `organizations/`
|
3903
|
-
# CUSTOM_ROLE_ID``. This method returns only [custom
|
3904
|
-
# com/iam/docs/understanding-custom-roles) that have
|
3905
|
-
# organization level. Example request URL: `https://iam.
|
3906
|
-
# organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
|
3907
|
-
# values are invalid; you must specify a complete project ID 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
|
+
# organizations.roles). Each resource type's `name` value format is described
|
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.
|
3908
3911
|
# @param [String] fields
|
3909
3912
|
# Selector specifying which fields to include in a partial response.
|
3910
3913
|
# @param [String] quota_user
|
@@ -3941,25 +3944,25 @@ module Google
|
|
3941
3944
|
# Optional pagination token returned in an earlier ListRolesResponse.
|
3942
3945
|
# @param [String] parent
|
3943
3946
|
# The `parent` parameter's value depends on the target resource for the request,
|
3944
|
-
# namely [
|
3945
|
-
# projects
|
3946
|
-
#
|
3947
|
-
# roles). Each resource type's `parent` value format is described
|
3948
|
-
# roles.list
|
3949
|
-
# empty string. This method doesn't require a resource; it
|
3950
|
-
# predefined roles](https://cloud.google.com/iam/docs/
|
3951
|
-
# predefined_roles) in
|
3952
|
-
# com/v1/roles` * [
|
3953
|
-
# reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
|
3954
|
-
# lists all project-level [custom roles](https://cloud.google.com/iam/
|
3955
|
-
# understanding-custom-roles). Example request URL: `https://iam.googleapis.
|
3956
|
-
# v1/projects/`PROJECT_ID`/roles` * [
|
3957
|
-
# google.com/iam/reference/rest/v1/organizations.roles/list): `
|
3958
|
-
# ORGANIZATION_ID``. This method lists all organization-level [
|
3959
|
-
# https://cloud.google.com/iam/docs/understanding-custom-roles).
|
3960
|
-
# URL: `https://iam.googleapis.com/v1/organizations/`
|
3961
|
-
# Note: Wildcard (*) values are invalid; you must
|
3962
|
-
# or organization ID.
|
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
|
+
# organizations.roles). Each resource type's `parent` value format is described
|
3951
|
+
# below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/
|
3952
|
+
# roles/list): An empty string. This method doesn't require a resource; it
|
3953
|
+
# simply returns all [predefined roles](https://cloud.google.com/iam/docs/
|
3954
|
+
# understanding-roles#predefined_roles) in IAM. Example request URL: `https://
|
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
|
+
# custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles).
|
3963
|
+
# Example request URL: `https://iam.googleapis.com/v1/organizations/`
|
3964
|
+
# ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
|
3965
|
+
# specify a complete project ID or organization ID.
|
3963
3966
|
# @param [Boolean] show_deleted
|
3964
3967
|
# Include Roles that have been deleted.
|
3965
3968
|
# @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.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: []
|