@maxim_mazurok/gapi.client.iam-v1 0.0.20240322 → 0.0.20240418
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +659 -34
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://iam.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240418
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -35,7 +35,7 @@ declare namespace gapi.client {
|
|
|
35
35
|
permissionDelta?: PermissionDelta;
|
|
36
36
|
}
|
|
37
37
|
interface AuditableService {
|
|
38
|
-
/** Public name of the service. For example, the service name for
|
|
38
|
+
/** Public name of the service. For example, the service name for IAM is 'iam.googleapis.com'. */
|
|
39
39
|
name?: string;
|
|
40
40
|
}
|
|
41
41
|
interface AuditConfig {
|
|
@@ -94,7 +94,12 @@ declare namespace gapi.client {
|
|
|
94
94
|
/** The ServiceAccount resource to create. Currently, only the following values are user assignable: `display_name` and `description`. */
|
|
95
95
|
serviceAccount?: ServiceAccount;
|
|
96
96
|
}
|
|
97
|
-
interface DisableServiceAccountKeyRequest {
|
|
97
|
+
interface DisableServiceAccountKeyRequest {
|
|
98
|
+
/** Optional. Usable by internal google services only. An extended_status_message can be used to include additional information about the key, such as its private key data being exposed on a public repository like GitHub. */
|
|
99
|
+
extendedStatusMessage?: string;
|
|
100
|
+
/** Optional. Describes the reason this key is being disabled. If unspecified, the default value of SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED will be used. */
|
|
101
|
+
serviceAccountKeyDisableReason?: string;
|
|
102
|
+
}
|
|
98
103
|
interface DisableServiceAccountRequest {}
|
|
99
104
|
interface Empty {}
|
|
100
105
|
interface EnableServiceAccountKeyRequest {}
|
|
@@ -109,6 +114,12 @@ declare namespace gapi.client {
|
|
|
109
114
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
110
115
|
title?: string;
|
|
111
116
|
}
|
|
117
|
+
interface ExtendedStatus {
|
|
118
|
+
/** The key for this extended status. */
|
|
119
|
+
key?: string;
|
|
120
|
+
/** The value for the extended status. */
|
|
121
|
+
value?: string;
|
|
122
|
+
}
|
|
112
123
|
interface GetIamPolicyRequest {
|
|
113
124
|
/** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
|
|
114
125
|
options?: GetPolicyOptions;
|
|
@@ -117,12 +128,28 @@ declare namespace gapi.client {
|
|
|
117
128
|
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
118
129
|
requestedPolicyVersion?: number;
|
|
119
130
|
}
|
|
131
|
+
interface GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client {
|
|
132
|
+
/** Required. Represents the IdP and type of claims that should be fetched. */
|
|
133
|
+
attributesType?: string;
|
|
134
|
+
/** Required. The OAuth 2.0 client ID for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow. */
|
|
135
|
+
clientId?: string;
|
|
136
|
+
/** Required. The OAuth 2.0 client secret for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow. */
|
|
137
|
+
clientSecret?: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret;
|
|
138
|
+
/** Required. The OIDC identity provider's issuer URI. Must be a valid URI using the `https` scheme. Required to get the OIDC discovery document. */
|
|
139
|
+
issuerUri?: string;
|
|
140
|
+
/** Optional. Represents the parameters to control which claims are fetched from an IdP. */
|
|
141
|
+
queryParameters?: GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters;
|
|
142
|
+
}
|
|
143
|
+
interface GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2ClientQueryParameters {
|
|
144
|
+
/** Optional. The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details. */
|
|
145
|
+
filter?: string;
|
|
146
|
+
}
|
|
120
147
|
interface GoogleIamAdminV1WorkforcePoolProviderOidc {
|
|
121
148
|
/** Required. The client ID. Must match the audience claim of the JWT issued by the identity provider. */
|
|
122
149
|
clientId?: string;
|
|
123
150
|
/** The optional client secret. Required to enable Authorization Code flow for web sign-in. */
|
|
124
151
|
clientSecret?: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret;
|
|
125
|
-
/** Required. The OIDC issuer URI. Must be a valid URI using the
|
|
152
|
+
/** Required. The OIDC issuer URI. Must be a valid URI using the `https` scheme. */
|
|
126
153
|
issuerUri?: string;
|
|
127
154
|
/** OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the discovery document(fetched from the .well-known path of the `issuer_uri`) will be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use following format and include only the following fields: { "keys": [ { "kty": "RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": "", "crv": "" } ] } */
|
|
128
155
|
jwksJson?: string;
|
|
@@ -166,7 +193,7 @@ declare namespace gapi.client {
|
|
|
166
193
|
interface LintPolicyRequest {
|
|
167
194
|
/** google.iam.v1.Binding.condition object to be linted. */
|
|
168
195
|
condition?: Expr;
|
|
169
|
-
/** The full resource name of the policy this lint request is about. The name follows the Google Cloud format for full resource names. For example, a Cloud project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read a policy from IAM. Only the data in the request object is linted. */
|
|
196
|
+
/** The full resource name of the policy this lint request is about. The name follows the Google Cloud format for full resource names. For example, a Google Cloud project with ID `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read a policy from IAM. Only the data in the request object is linted. */
|
|
170
197
|
fullResourceName?: string;
|
|
171
198
|
}
|
|
172
199
|
interface LintPolicyResponse {
|
|
@@ -187,6 +214,16 @@ declare namespace gapi.client {
|
|
|
187
214
|
/** The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck". */
|
|
188
215
|
validationUnitName?: string;
|
|
189
216
|
}
|
|
217
|
+
interface ListOauthClientCredentialsResponse {
|
|
218
|
+
/** A list of oauth client credentials. */
|
|
219
|
+
oauthClientCredentials?: OauthClientCredential[];
|
|
220
|
+
}
|
|
221
|
+
interface ListOauthClientsResponse {
|
|
222
|
+
/** Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
223
|
+
nextPageToken?: string;
|
|
224
|
+
/** A list of oauth clients. */
|
|
225
|
+
oauthClients?: OauthClient[];
|
|
226
|
+
}
|
|
190
227
|
interface ListRolesResponse {
|
|
191
228
|
/** To retrieve the next page of results, set `ListRolesRequest.page_token` to this value. */
|
|
192
229
|
nextPageToken?: string;
|
|
@@ -239,6 +276,40 @@ declare namespace gapi.client {
|
|
|
239
276
|
/** A list of pools. */
|
|
240
277
|
workloadIdentityPools?: WorkloadIdentityPool[];
|
|
241
278
|
}
|
|
279
|
+
interface OauthClient {
|
|
280
|
+
/** Required. The list of OAuth grant type is allowed for the oauth client. */
|
|
281
|
+
allowedGrantTypes?: string[];
|
|
282
|
+
/** Required. The list of redirect uris that is allowed to redirect back when authorization process is completed. */
|
|
283
|
+
allowedRedirectUris?: string[];
|
|
284
|
+
/** Required. The list of scopes that the oauth client is allowed to request during OAuth flows. The following scopes are supported: * `https://www.googleapis.com/auth/cloud-platform`: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. * `openid`: Associate you with your personal info on Google Cloud. * `email`: See your Google Cloud Account email address. */
|
|
285
|
+
allowedScopes?: string[];
|
|
286
|
+
/** Output only. The system-generated oauth client id. */
|
|
287
|
+
clientId?: string;
|
|
288
|
+
/** Immutable. The type of oauth client. either public or private. */
|
|
289
|
+
clientType?: string;
|
|
290
|
+
/** Optional. A user-specified description of the oauth client. Cannot exceed 256 characters. */
|
|
291
|
+
description?: string;
|
|
292
|
+
/** Optional. Whether the oauth client is disabled. You cannot use a disabled oauth client for login. */
|
|
293
|
+
disabled?: boolean;
|
|
294
|
+
/** Optional. A user-specified display name of the oauth client. Cannot exceed 32 characters. */
|
|
295
|
+
displayName?: string;
|
|
296
|
+
/** Output only. Time after which the oauth client will be permanently purged and cannot be recovered. */
|
|
297
|
+
expireTime?: string;
|
|
298
|
+
/** Immutable. The resource name of the oauth client. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`. */
|
|
299
|
+
name?: string;
|
|
300
|
+
/** Output only. The state of the oauth client. */
|
|
301
|
+
state?: string;
|
|
302
|
+
}
|
|
303
|
+
interface OauthClientCredential {
|
|
304
|
+
/** Output only. The system-generated oauth client secret. */
|
|
305
|
+
clientSecret?: string;
|
|
306
|
+
/** Optional. Whether the oauth client credential is disabled. You cannot use a disabled oauth client credential for OAuth. */
|
|
307
|
+
disabled?: boolean;
|
|
308
|
+
/** Optional. A user-specified display name of the oauth client credential Cannot exceed 32 characters. */
|
|
309
|
+
displayName?: string;
|
|
310
|
+
/** Immutable. The resource name of the oauth client credential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}` */
|
|
311
|
+
name?: string;
|
|
312
|
+
}
|
|
242
313
|
interface Oidc {
|
|
243
314
|
/** Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ``` //iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ ``` */
|
|
244
315
|
allowedAudiences?: string[];
|
|
@@ -275,6 +346,12 @@ declare namespace gapi.client {
|
|
|
275
346
|
/** Output only. Name of the verb executed by the operation. */
|
|
276
347
|
verb?: string;
|
|
277
348
|
}
|
|
349
|
+
interface PatchServiceAccountKeyRequest {
|
|
350
|
+
/** Required. The service account key to update. */
|
|
351
|
+
serviceAccountKey?: ServiceAccountKey;
|
|
352
|
+
/** Required. The update mask to apply to the service account key. Only the following fields are eligible for patching: - contact - description */
|
|
353
|
+
updateMask?: string;
|
|
354
|
+
}
|
|
278
355
|
interface PatchServiceAccountRequest {
|
|
279
356
|
serviceAccount?: ServiceAccount;
|
|
280
357
|
updateMask?: string;
|
|
@@ -400,8 +477,18 @@ declare namespace gapi.client {
|
|
|
400
477
|
uniqueId?: string;
|
|
401
478
|
}
|
|
402
479
|
interface ServiceAccountKey {
|
|
480
|
+
/** Optional. A user provided email address as the point of contact for this service account key. Must be an email address. Limit 64 characters. */
|
|
481
|
+
contact?: string;
|
|
482
|
+
/** Output only. The cloud identity that created this service account key. Populated automatically when the key is created and not editable by the user. */
|
|
483
|
+
creator?: string;
|
|
484
|
+
/** Optional. A user provided description of this service account key. */
|
|
485
|
+
description?: string;
|
|
403
486
|
/** The key status. */
|
|
404
487
|
disabled?: boolean;
|
|
488
|
+
/** optional. If the key is disabled, it may have a DisableReason describing why it was disabled. */
|
|
489
|
+
disableReason?: string;
|
|
490
|
+
/** Extended Status provides permanent information about a service account key. For example, if this key was detected as exposed or compromised, that information will remain for the lifetime of the key in the extended_status. */
|
|
491
|
+
extendedStatus?: ExtendedStatus[];
|
|
405
492
|
/** Specifies the algorithm (and possibly key size) for the key. */
|
|
406
493
|
keyAlgorithm?: string;
|
|
407
494
|
/** The key origin. */
|
|
@@ -467,6 +554,7 @@ declare namespace gapi.client {
|
|
|
467
554
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
468
555
|
permissions?: string[];
|
|
469
556
|
}
|
|
557
|
+
interface UndeleteOauthClientRequest {}
|
|
470
558
|
interface UndeleteRoleRequest {
|
|
471
559
|
/** Used to perform a consistent read-modify-write. */
|
|
472
560
|
etag?: string;
|
|
@@ -520,6 +608,8 @@ declare namespace gapi.client {
|
|
|
520
608
|
displayName?: string;
|
|
521
609
|
/** Output only. Time after which the workload pool provider will be permanently purged and cannot be recovered. */
|
|
522
610
|
expireTime?: string;
|
|
611
|
+
/** Optional. The configuration for OAuth 2.0 client used to get the additional user attributes. This should be used when users can't get the desired claims in authentication credentials. Currently this configuration is only supported with OIDC protocol. */
|
|
612
|
+
extraAttributesOauth2Client?: GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client;
|
|
523
613
|
/** Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}` */
|
|
524
614
|
name?: string;
|
|
525
615
|
/** An OpenId Connect 1.0 identity provider configuration. */
|
|
@@ -579,8 +669,6 @@ declare namespace gapi.client {
|
|
|
579
669
|
saml?: Saml;
|
|
580
670
|
/** Output only. The state of the provider. */
|
|
581
671
|
state?: string;
|
|
582
|
-
/** An X.509-type identity provider. */
|
|
583
|
-
x509?: any;
|
|
584
672
|
}
|
|
585
673
|
interface WorkloadIdentityPoolProviderKey {
|
|
586
674
|
/** Output only. Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed. */
|
|
@@ -594,7 +682,6 @@ declare namespace gapi.client {
|
|
|
594
682
|
/** Required. The purpose of the key. */
|
|
595
683
|
use?: string;
|
|
596
684
|
}
|
|
597
|
-
interface X509 {}
|
|
598
685
|
interface IamPoliciesResource {
|
|
599
686
|
/** Lints, or validates, an IAM policy. Currently checks the google.iam.v1.Binding.condition field, which contains a condition expression for a role binding. Successful calls to this method always return an HTTP `200 OK` status code, even if the linter detects an issue in the IAM policy. */
|
|
600
687
|
lintPolicy(request: {
|
|
@@ -1065,7 +1152,7 @@ declare namespace gapi.client {
|
|
|
1065
1152
|
},
|
|
1066
1153
|
body: WorkforcePoolProvider
|
|
1067
1154
|
): Request<Operation>;
|
|
1068
|
-
/** Deletes a WorkforcePoolProvider. Deleting a provider does not revoke credentials that have already been
|
|
1155
|
+
/** Deletes a WorkforcePoolProvider. Deleting a provider does not revoke credentials that have already been issued; they continue to grant access. You can undelete a provider for 30 days. After 30 days, deletion is permanent. You cannot update deleted providers. However, you can view and list them. */
|
|
1069
1156
|
delete(request?: {
|
|
1070
1157
|
/** V1 error format. */
|
|
1071
1158
|
'$.xgafv'?: string;
|
|
@@ -1305,7 +1392,7 @@ declare namespace gapi.client {
|
|
|
1305
1392
|
}): Request<Operation>;
|
|
1306
1393
|
}
|
|
1307
1394
|
interface SubjectsResource {
|
|
1308
|
-
/** Deletes a WorkforcePoolSubject. Subject must not already be in a deleted state. A WorkforcePoolSubject is automatically created the first time an external credential is exchanged for a Google Cloud credential
|
|
1395
|
+
/** Deletes a WorkforcePoolSubject. Subject must not already be in a deleted state. A WorkforcePoolSubject is automatically created the first time an external credential is exchanged for a Google Cloud credential using a mapped `google.subject` attribute. There is no endpoint to manually create a WorkforcePoolSubject. For 30 days after a WorkforcePoolSubject is deleted, using the same `google.subject` attribute in token exchanges with Google Cloud STS fails. Call UndeleteWorkforcePoolSubject to undelete a WorkforcePoolSubject that has been deleted, within within 30 days of deleting it. After 30 days, the WorkforcePoolSubject is permanently deleted. At this point, a token exchange with Google Cloud STS that uses the same mapped `google.subject` attribute automatically creates a new WorkforcePoolSubject that is unrelated to the previously deleted WorkforcePoolSubject but has the same `google.subject` value. */
|
|
1309
1396
|
delete(request?: {
|
|
1310
1397
|
/** V1 error format. */
|
|
1311
1398
|
'$.xgafv'?: string;
|
|
@@ -1319,7 +1406,7 @@ declare namespace gapi.client {
|
|
|
1319
1406
|
fields?: string;
|
|
1320
1407
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1321
1408
|
key?: string;
|
|
1322
|
-
/** Required. The resource name of the WorkforcePoolSubject. Special characters, like
|
|
1409
|
+
/** Required. The resource name of the WorkforcePoolSubject. Special characters, like `/` and `:`, must be escaped, because all URLs need to conform to the "When to Escape and Unescape" section of [RFC3986](https://www.ietf.org/rfc/rfc2396.txt). Format: `locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}` */
|
|
1323
1410
|
name: string;
|
|
1324
1411
|
/** OAuth 2.0 token for the current user. */
|
|
1325
1412
|
oauth_token?: string;
|
|
@@ -1346,7 +1433,7 @@ declare namespace gapi.client {
|
|
|
1346
1433
|
fields?: string;
|
|
1347
1434
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1348
1435
|
key?: string;
|
|
1349
|
-
/** Required. The resource name of the WorkforcePoolSubject. Special characters, like
|
|
1436
|
+
/** Required. The resource name of the WorkforcePoolSubject. Special characters, like `/` and `:`, must be escaped, because all URLs need to conform to the "When to Escape and Unescape" section of [RFC3986](https://www.ietf.org/rfc/rfc2396.txt). Format: `locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}` */
|
|
1350
1437
|
name: string;
|
|
1351
1438
|
/** OAuth 2.0 token for the current user. */
|
|
1352
1439
|
oauth_token?: string;
|
|
@@ -1375,7 +1462,7 @@ declare namespace gapi.client {
|
|
|
1375
1462
|
fields?: string;
|
|
1376
1463
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1377
1464
|
key?: string;
|
|
1378
|
-
/** Required. The resource name of the WorkforcePoolSubject. Special characters, like
|
|
1465
|
+
/** Required. The resource name of the WorkforcePoolSubject. Special characters, like `/` and `:`, must be escaped, because all URLs need to conform to the "When to Escape and Unescape" section of [RFC3986](https://www.ietf.org/rfc/rfc2396.txt). Format: `locations/{location}/workforcePools/{workforce_pool_id}/subjects/{subject_id}` */
|
|
1379
1466
|
name: string;
|
|
1380
1467
|
/** OAuth 2.0 token for the current user. */
|
|
1381
1468
|
oauth_token?: string;
|
|
@@ -1666,7 +1753,7 @@ declare namespace gapi.client {
|
|
|
1666
1753
|
},
|
|
1667
1754
|
body: SetIamPolicyRequest
|
|
1668
1755
|
): Request<Policy>;
|
|
1669
|
-
/** Returns the caller's permissions on the WorkforcePool. If the pool
|
|
1756
|
+
/** Returns the caller's permissions on the WorkforcePool. If the pool doesn't exist, this call returns an empty set of permissions. It doesn't return a `NOT_FOUND` error. */
|
|
1670
1757
|
testIamPermissions(
|
|
1671
1758
|
request: {
|
|
1672
1759
|
/** V1 error format. */
|
|
@@ -1778,7 +1865,7 @@ declare namespace gapi.client {
|
|
|
1778
1865
|
key?: string;
|
|
1779
1866
|
/** OAuth 2.0 token for the current user. */
|
|
1780
1867
|
oauth_token?: string;
|
|
1781
|
-
/** The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1868
|
+
/** The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1782
1869
|
parent: string;
|
|
1783
1870
|
/** Returns response with indentations and line breaks. */
|
|
1784
1871
|
prettyPrint?: boolean;
|
|
@@ -1807,7 +1894,7 @@ declare namespace gapi.client {
|
|
|
1807
1894
|
key?: string;
|
|
1808
1895
|
/** OAuth 2.0 token for the current user. */
|
|
1809
1896
|
oauth_token?: string;
|
|
1810
|
-
/** The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1897
|
+
/** The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1811
1898
|
parent: string;
|
|
1812
1899
|
/** Returns response with indentations and line breaks. */
|
|
1813
1900
|
prettyPrint?: boolean;
|
|
@@ -1836,7 +1923,7 @@ declare namespace gapi.client {
|
|
|
1836
1923
|
fields?: string;
|
|
1837
1924
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1838
1925
|
key?: string;
|
|
1839
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.delete()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/delete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.delete()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/delete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1926
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.delete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.delete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1840
1927
|
name: string;
|
|
1841
1928
|
/** OAuth 2.0 token for the current user. */
|
|
1842
1929
|
oauth_token?: string;
|
|
@@ -1863,7 +1950,7 @@ declare namespace gapi.client {
|
|
|
1863
1950
|
fields?: string;
|
|
1864
1951
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1865
1952
|
key?: string;
|
|
1866
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in
|
|
1953
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [`projects.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1867
1954
|
name: string;
|
|
1868
1955
|
/** OAuth 2.0 token for the current user. */
|
|
1869
1956
|
oauth_token?: string;
|
|
@@ -1896,7 +1983,7 @@ declare namespace gapi.client {
|
|
|
1896
1983
|
pageSize?: number;
|
|
1897
1984
|
/** Optional pagination token returned in an earlier ListRolesResponse. */
|
|
1898
1985
|
pageToken?: string;
|
|
1899
|
-
/** The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in
|
|
1986
|
+
/** The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1900
1987
|
parent: string;
|
|
1901
1988
|
/** Returns response with indentations and line breaks. */
|
|
1902
1989
|
prettyPrint?: boolean;
|
|
@@ -1925,7 +2012,7 @@ declare namespace gapi.client {
|
|
|
1925
2012
|
fields?: string;
|
|
1926
2013
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1927
2014
|
key?: string;
|
|
1928
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
2015
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1929
2016
|
name: string;
|
|
1930
2017
|
/** OAuth 2.0 token for the current user. */
|
|
1931
2018
|
oauth_token?: string;
|
|
@@ -1956,7 +2043,7 @@ declare namespace gapi.client {
|
|
|
1956
2043
|
fields?: string;
|
|
1957
2044
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1958
2045
|
key?: string;
|
|
1959
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
2046
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1960
2047
|
name: string;
|
|
1961
2048
|
/** OAuth 2.0 token for the current user. */
|
|
1962
2049
|
oauth_token?: string;
|
|
@@ -1987,7 +2074,7 @@ declare namespace gapi.client {
|
|
|
1987
2074
|
fields?: string;
|
|
1988
2075
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1989
2076
|
key?: string;
|
|
1990
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
2077
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
1991
2078
|
name: string;
|
|
1992
2079
|
/** OAuth 2.0 token for the current user. */
|
|
1993
2080
|
oauth_token?: string;
|
|
@@ -2016,7 +2103,7 @@ declare namespace gapi.client {
|
|
|
2016
2103
|
fields?: string;
|
|
2017
2104
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2018
2105
|
key?: string;
|
|
2019
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
2106
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
2020
2107
|
name: string;
|
|
2021
2108
|
/** OAuth 2.0 token for the current user. */
|
|
2022
2109
|
oauth_token?: string;
|
|
@@ -2091,6 +2178,485 @@ declare namespace gapi.client {
|
|
|
2091
2178
|
body: QueryTestablePermissionsRequest
|
|
2092
2179
|
): Request<QueryTestablePermissionsResponse>;
|
|
2093
2180
|
}
|
|
2181
|
+
interface CredentialsResource {
|
|
2182
|
+
/** Creates a new OauthClientCredential. */
|
|
2183
|
+
create(request: {
|
|
2184
|
+
/** V1 error format. */
|
|
2185
|
+
'$.xgafv'?: string;
|
|
2186
|
+
/** OAuth access token. */
|
|
2187
|
+
access_token?: string;
|
|
2188
|
+
/** Data format for response. */
|
|
2189
|
+
alt?: string;
|
|
2190
|
+
/** JSONP */
|
|
2191
|
+
callback?: string;
|
|
2192
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2193
|
+
fields?: string;
|
|
2194
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2195
|
+
key?: string;
|
|
2196
|
+
/** OAuth 2.0 token for the current user. */
|
|
2197
|
+
oauth_token?: string;
|
|
2198
|
+
/** Required. The ID to use for the oauth client credential, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
|
|
2199
|
+
oauthClientCredentialId?: string;
|
|
2200
|
+
/** Required. The parent resource to create the oauth client Credential in. */
|
|
2201
|
+
parent: string;
|
|
2202
|
+
/** Returns response with indentations and line breaks. */
|
|
2203
|
+
prettyPrint?: boolean;
|
|
2204
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2205
|
+
quotaUser?: string;
|
|
2206
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2207
|
+
upload_protocol?: string;
|
|
2208
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2209
|
+
uploadType?: string;
|
|
2210
|
+
/** Request body */
|
|
2211
|
+
resource: OauthClientCredential;
|
|
2212
|
+
}): Request<OauthClientCredential>;
|
|
2213
|
+
create(
|
|
2214
|
+
request: {
|
|
2215
|
+
/** V1 error format. */
|
|
2216
|
+
'$.xgafv'?: string;
|
|
2217
|
+
/** OAuth access token. */
|
|
2218
|
+
access_token?: string;
|
|
2219
|
+
/** Data format for response. */
|
|
2220
|
+
alt?: string;
|
|
2221
|
+
/** JSONP */
|
|
2222
|
+
callback?: string;
|
|
2223
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2224
|
+
fields?: string;
|
|
2225
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2226
|
+
key?: string;
|
|
2227
|
+
/** OAuth 2.0 token for the current user. */
|
|
2228
|
+
oauth_token?: string;
|
|
2229
|
+
/** Required. The ID to use for the oauth client credential, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
|
|
2230
|
+
oauthClientCredentialId?: string;
|
|
2231
|
+
/** Required. The parent resource to create the oauth client Credential in. */
|
|
2232
|
+
parent: string;
|
|
2233
|
+
/** Returns response with indentations and line breaks. */
|
|
2234
|
+
prettyPrint?: boolean;
|
|
2235
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2236
|
+
quotaUser?: string;
|
|
2237
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2238
|
+
upload_protocol?: string;
|
|
2239
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2240
|
+
uploadType?: string;
|
|
2241
|
+
},
|
|
2242
|
+
body: OauthClientCredential
|
|
2243
|
+
): Request<OauthClientCredential>;
|
|
2244
|
+
/** Deletes a OauthClientCredential. Before deleting an oauth client credential, it should first be disabled. */
|
|
2245
|
+
delete(request?: {
|
|
2246
|
+
/** V1 error format. */
|
|
2247
|
+
'$.xgafv'?: string;
|
|
2248
|
+
/** OAuth access token. */
|
|
2249
|
+
access_token?: string;
|
|
2250
|
+
/** Data format for response. */
|
|
2251
|
+
alt?: string;
|
|
2252
|
+
/** JSONP */
|
|
2253
|
+
callback?: string;
|
|
2254
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2255
|
+
fields?: string;
|
|
2256
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2257
|
+
key?: string;
|
|
2258
|
+
/** Required. The name of the oauth client credential to delete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`. */
|
|
2259
|
+
name: string;
|
|
2260
|
+
/** OAuth 2.0 token for the current user. */
|
|
2261
|
+
oauth_token?: string;
|
|
2262
|
+
/** Returns response with indentations and line breaks. */
|
|
2263
|
+
prettyPrint?: boolean;
|
|
2264
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2265
|
+
quotaUser?: string;
|
|
2266
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2267
|
+
upload_protocol?: string;
|
|
2268
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2269
|
+
uploadType?: string;
|
|
2270
|
+
}): Request<{}>;
|
|
2271
|
+
/** Gets an individual OauthClientCredential. */
|
|
2272
|
+
get(request?: {
|
|
2273
|
+
/** V1 error format. */
|
|
2274
|
+
'$.xgafv'?: string;
|
|
2275
|
+
/** OAuth access token. */
|
|
2276
|
+
access_token?: string;
|
|
2277
|
+
/** Data format for response. */
|
|
2278
|
+
alt?: string;
|
|
2279
|
+
/** JSONP */
|
|
2280
|
+
callback?: string;
|
|
2281
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2282
|
+
fields?: string;
|
|
2283
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2284
|
+
key?: string;
|
|
2285
|
+
/** Required. The name of the oauth client credential to retrieve. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`. */
|
|
2286
|
+
name: string;
|
|
2287
|
+
/** OAuth 2.0 token for the current user. */
|
|
2288
|
+
oauth_token?: string;
|
|
2289
|
+
/** Returns response with indentations and line breaks. */
|
|
2290
|
+
prettyPrint?: boolean;
|
|
2291
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2292
|
+
quotaUser?: string;
|
|
2293
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2294
|
+
upload_protocol?: string;
|
|
2295
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2296
|
+
uploadType?: string;
|
|
2297
|
+
}): Request<OauthClientCredential>;
|
|
2298
|
+
/** Lists all OauthClientCredentialss in a OauthClient. */
|
|
2299
|
+
list(request?: {
|
|
2300
|
+
/** V1 error format. */
|
|
2301
|
+
'$.xgafv'?: string;
|
|
2302
|
+
/** OAuth access token. */
|
|
2303
|
+
access_token?: string;
|
|
2304
|
+
/** Data format for response. */
|
|
2305
|
+
alt?: string;
|
|
2306
|
+
/** JSONP */
|
|
2307
|
+
callback?: string;
|
|
2308
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2309
|
+
fields?: string;
|
|
2310
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2311
|
+
key?: string;
|
|
2312
|
+
/** OAuth 2.0 token for the current user. */
|
|
2313
|
+
oauth_token?: string;
|
|
2314
|
+
/** Required. The parent to list oauth client credentials for. */
|
|
2315
|
+
parent: string;
|
|
2316
|
+
/** Returns response with indentations and line breaks. */
|
|
2317
|
+
prettyPrint?: boolean;
|
|
2318
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2319
|
+
quotaUser?: string;
|
|
2320
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2321
|
+
upload_protocol?: string;
|
|
2322
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2323
|
+
uploadType?: string;
|
|
2324
|
+
}): Request<ListOauthClientCredentialsResponse>;
|
|
2325
|
+
/** Updates an existing OauthClientCredential. */
|
|
2326
|
+
patch(request: {
|
|
2327
|
+
/** V1 error format. */
|
|
2328
|
+
'$.xgafv'?: string;
|
|
2329
|
+
/** OAuth access token. */
|
|
2330
|
+
access_token?: string;
|
|
2331
|
+
/** Data format for response. */
|
|
2332
|
+
alt?: string;
|
|
2333
|
+
/** JSONP */
|
|
2334
|
+
callback?: string;
|
|
2335
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2336
|
+
fields?: string;
|
|
2337
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2338
|
+
key?: string;
|
|
2339
|
+
/** Immutable. The resource name of the oauth client credential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}` */
|
|
2340
|
+
name: string;
|
|
2341
|
+
/** OAuth 2.0 token for the current user. */
|
|
2342
|
+
oauth_token?: string;
|
|
2343
|
+
/** Returns response with indentations and line breaks. */
|
|
2344
|
+
prettyPrint?: boolean;
|
|
2345
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2346
|
+
quotaUser?: string;
|
|
2347
|
+
/** Required. The list of fields to update. */
|
|
2348
|
+
updateMask?: string;
|
|
2349
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2350
|
+
upload_protocol?: string;
|
|
2351
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2352
|
+
uploadType?: string;
|
|
2353
|
+
/** Request body */
|
|
2354
|
+
resource: OauthClientCredential;
|
|
2355
|
+
}): Request<OauthClientCredential>;
|
|
2356
|
+
patch(
|
|
2357
|
+
request: {
|
|
2358
|
+
/** V1 error format. */
|
|
2359
|
+
'$.xgafv'?: string;
|
|
2360
|
+
/** OAuth access token. */
|
|
2361
|
+
access_token?: string;
|
|
2362
|
+
/** Data format for response. */
|
|
2363
|
+
alt?: string;
|
|
2364
|
+
/** JSONP */
|
|
2365
|
+
callback?: string;
|
|
2366
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2367
|
+
fields?: string;
|
|
2368
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2369
|
+
key?: string;
|
|
2370
|
+
/** Immutable. The resource name of the oauth client credential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}` */
|
|
2371
|
+
name: string;
|
|
2372
|
+
/** OAuth 2.0 token for the current user. */
|
|
2373
|
+
oauth_token?: string;
|
|
2374
|
+
/** Returns response with indentations and line breaks. */
|
|
2375
|
+
prettyPrint?: boolean;
|
|
2376
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2377
|
+
quotaUser?: string;
|
|
2378
|
+
/** Required. The list of fields to update. */
|
|
2379
|
+
updateMask?: string;
|
|
2380
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2381
|
+
upload_protocol?: string;
|
|
2382
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2383
|
+
uploadType?: string;
|
|
2384
|
+
},
|
|
2385
|
+
body: OauthClientCredential
|
|
2386
|
+
): Request<OauthClientCredential>;
|
|
2387
|
+
}
|
|
2388
|
+
interface OauthClientsResource {
|
|
2389
|
+
/** Creates a new OauthClient. You cannot reuse the name of a deleted oauth client until 30 days after deletion. */
|
|
2390
|
+
create(request: {
|
|
2391
|
+
/** V1 error format. */
|
|
2392
|
+
'$.xgafv'?: string;
|
|
2393
|
+
/** OAuth access token. */
|
|
2394
|
+
access_token?: string;
|
|
2395
|
+
/** Data format for response. */
|
|
2396
|
+
alt?: string;
|
|
2397
|
+
/** JSONP */
|
|
2398
|
+
callback?: string;
|
|
2399
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2400
|
+
fields?: string;
|
|
2401
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2402
|
+
key?: string;
|
|
2403
|
+
/** OAuth 2.0 token for the current user. */
|
|
2404
|
+
oauth_token?: string;
|
|
2405
|
+
/** Required. The ID to use for the oauth client, which becomes the final component of the resource name. This value should be a string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
|
|
2406
|
+
oauthClientId?: string;
|
|
2407
|
+
/** Required. The parent resource to create the oauth client in. The only supported location is `global`. */
|
|
2408
|
+
parent: string;
|
|
2409
|
+
/** Returns response with indentations and line breaks. */
|
|
2410
|
+
prettyPrint?: boolean;
|
|
2411
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2412
|
+
quotaUser?: string;
|
|
2413
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2414
|
+
upload_protocol?: string;
|
|
2415
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2416
|
+
uploadType?: string;
|
|
2417
|
+
/** Request body */
|
|
2418
|
+
resource: OauthClient;
|
|
2419
|
+
}): Request<OauthClient>;
|
|
2420
|
+
create(
|
|
2421
|
+
request: {
|
|
2422
|
+
/** V1 error format. */
|
|
2423
|
+
'$.xgafv'?: string;
|
|
2424
|
+
/** OAuth access token. */
|
|
2425
|
+
access_token?: string;
|
|
2426
|
+
/** Data format for response. */
|
|
2427
|
+
alt?: string;
|
|
2428
|
+
/** JSONP */
|
|
2429
|
+
callback?: string;
|
|
2430
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2431
|
+
fields?: string;
|
|
2432
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2433
|
+
key?: string;
|
|
2434
|
+
/** OAuth 2.0 token for the current user. */
|
|
2435
|
+
oauth_token?: string;
|
|
2436
|
+
/** Required. The ID to use for the oauth client, which becomes the final component of the resource name. This value should be a string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified. */
|
|
2437
|
+
oauthClientId?: string;
|
|
2438
|
+
/** Required. The parent resource to create the oauth client in. The only supported location is `global`. */
|
|
2439
|
+
parent: string;
|
|
2440
|
+
/** Returns response with indentations and line breaks. */
|
|
2441
|
+
prettyPrint?: boolean;
|
|
2442
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2443
|
+
quotaUser?: string;
|
|
2444
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2445
|
+
upload_protocol?: string;
|
|
2446
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2447
|
+
uploadType?: string;
|
|
2448
|
+
},
|
|
2449
|
+
body: OauthClient
|
|
2450
|
+
): Request<OauthClient>;
|
|
2451
|
+
/** Deletes a OauthClient. You cannot use a deleted oauth client. However, deletion does not revoke access tokens that have already been issued; they continue to grant access. Deletion does revoke refresh tokens that have already been issued; They cannot be used to renew an access token. If the oauth client is undeleted, and the refresh tokens are not expired, they are valid for token exchange again. You can undelete an oauth client for 30 days. After 30 days, deletion is permanent. You cannot update deleted oauth clients. However, you can view and list them. */
|
|
2452
|
+
delete(request?: {
|
|
2453
|
+
/** V1 error format. */
|
|
2454
|
+
'$.xgafv'?: string;
|
|
2455
|
+
/** OAuth access token. */
|
|
2456
|
+
access_token?: string;
|
|
2457
|
+
/** Data format for response. */
|
|
2458
|
+
alt?: string;
|
|
2459
|
+
/** JSONP */
|
|
2460
|
+
callback?: string;
|
|
2461
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2462
|
+
fields?: string;
|
|
2463
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2464
|
+
key?: string;
|
|
2465
|
+
/** Required. The name of the oauth client to delete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`. */
|
|
2466
|
+
name: string;
|
|
2467
|
+
/** OAuth 2.0 token for the current user. */
|
|
2468
|
+
oauth_token?: string;
|
|
2469
|
+
/** Returns response with indentations and line breaks. */
|
|
2470
|
+
prettyPrint?: boolean;
|
|
2471
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2472
|
+
quotaUser?: string;
|
|
2473
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2474
|
+
upload_protocol?: string;
|
|
2475
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2476
|
+
uploadType?: string;
|
|
2477
|
+
}): Request<OauthClient>;
|
|
2478
|
+
/** Gets an individual OauthClient. */
|
|
2479
|
+
get(request?: {
|
|
2480
|
+
/** V1 error format. */
|
|
2481
|
+
'$.xgafv'?: string;
|
|
2482
|
+
/** OAuth access token. */
|
|
2483
|
+
access_token?: string;
|
|
2484
|
+
/** Data format for response. */
|
|
2485
|
+
alt?: string;
|
|
2486
|
+
/** JSONP */
|
|
2487
|
+
callback?: string;
|
|
2488
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2489
|
+
fields?: string;
|
|
2490
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2491
|
+
key?: string;
|
|
2492
|
+
/** Required. The name of the oauth client to retrieve. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`. */
|
|
2493
|
+
name: string;
|
|
2494
|
+
/** OAuth 2.0 token for the current user. */
|
|
2495
|
+
oauth_token?: string;
|
|
2496
|
+
/** Returns response with indentations and line breaks. */
|
|
2497
|
+
prettyPrint?: boolean;
|
|
2498
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2499
|
+
quotaUser?: string;
|
|
2500
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2501
|
+
upload_protocol?: string;
|
|
2502
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2503
|
+
uploadType?: string;
|
|
2504
|
+
}): Request<OauthClient>;
|
|
2505
|
+
/** Lists all non-deleted OauthClientss in a project. If `show_deleted` is set to `true`, then deleted oauth clients are also listed. */
|
|
2506
|
+
list(request?: {
|
|
2507
|
+
/** V1 error format. */
|
|
2508
|
+
'$.xgafv'?: string;
|
|
2509
|
+
/** OAuth access token. */
|
|
2510
|
+
access_token?: string;
|
|
2511
|
+
/** Data format for response. */
|
|
2512
|
+
alt?: string;
|
|
2513
|
+
/** JSONP */
|
|
2514
|
+
callback?: string;
|
|
2515
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2516
|
+
fields?: string;
|
|
2517
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2518
|
+
key?: string;
|
|
2519
|
+
/** OAuth 2.0 token for the current user. */
|
|
2520
|
+
oauth_token?: string;
|
|
2521
|
+
/** Optional. The maximum number of oauth clients to return. If unspecified, at most 50 oauth clients will be returned. The maximum value is 100; values above 100 are truncated to 100. */
|
|
2522
|
+
pageSize?: number;
|
|
2523
|
+
/** Optional. A page token, received from a previous `ListOauthClients` call. Provide this to retrieve the subsequent page. */
|
|
2524
|
+
pageToken?: string;
|
|
2525
|
+
/** Required. The parent to list oauth clients for. */
|
|
2526
|
+
parent: string;
|
|
2527
|
+
/** Returns response with indentations and line breaks. */
|
|
2528
|
+
prettyPrint?: boolean;
|
|
2529
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2530
|
+
quotaUser?: string;
|
|
2531
|
+
/** Optional. Whether to return soft-deleted oauth clients. */
|
|
2532
|
+
showDeleted?: boolean;
|
|
2533
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2534
|
+
upload_protocol?: string;
|
|
2535
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2536
|
+
uploadType?: string;
|
|
2537
|
+
}): Request<ListOauthClientsResponse>;
|
|
2538
|
+
/** Updates an existing OauthClient. */
|
|
2539
|
+
patch(request: {
|
|
2540
|
+
/** V1 error format. */
|
|
2541
|
+
'$.xgafv'?: string;
|
|
2542
|
+
/** OAuth access token. */
|
|
2543
|
+
access_token?: string;
|
|
2544
|
+
/** Data format for response. */
|
|
2545
|
+
alt?: string;
|
|
2546
|
+
/** JSONP */
|
|
2547
|
+
callback?: string;
|
|
2548
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2549
|
+
fields?: string;
|
|
2550
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2551
|
+
key?: string;
|
|
2552
|
+
/** Immutable. The resource name of the oauth client. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`. */
|
|
2553
|
+
name: string;
|
|
2554
|
+
/** OAuth 2.0 token for the current user. */
|
|
2555
|
+
oauth_token?: string;
|
|
2556
|
+
/** Returns response with indentations and line breaks. */
|
|
2557
|
+
prettyPrint?: boolean;
|
|
2558
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2559
|
+
quotaUser?: string;
|
|
2560
|
+
/** Required. The list of fields to update. */
|
|
2561
|
+
updateMask?: string;
|
|
2562
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2563
|
+
upload_protocol?: string;
|
|
2564
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2565
|
+
uploadType?: string;
|
|
2566
|
+
/** Request body */
|
|
2567
|
+
resource: OauthClient;
|
|
2568
|
+
}): Request<OauthClient>;
|
|
2569
|
+
patch(
|
|
2570
|
+
request: {
|
|
2571
|
+
/** V1 error format. */
|
|
2572
|
+
'$.xgafv'?: string;
|
|
2573
|
+
/** OAuth access token. */
|
|
2574
|
+
access_token?: string;
|
|
2575
|
+
/** Data format for response. */
|
|
2576
|
+
alt?: string;
|
|
2577
|
+
/** JSONP */
|
|
2578
|
+
callback?: string;
|
|
2579
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2580
|
+
fields?: string;
|
|
2581
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2582
|
+
key?: string;
|
|
2583
|
+
/** Immutable. The resource name of the oauth client. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`. */
|
|
2584
|
+
name: string;
|
|
2585
|
+
/** OAuth 2.0 token for the current user. */
|
|
2586
|
+
oauth_token?: string;
|
|
2587
|
+
/** Returns response with indentations and line breaks. */
|
|
2588
|
+
prettyPrint?: boolean;
|
|
2589
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2590
|
+
quotaUser?: string;
|
|
2591
|
+
/** Required. The list of fields to update. */
|
|
2592
|
+
updateMask?: string;
|
|
2593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2594
|
+
upload_protocol?: string;
|
|
2595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2596
|
+
uploadType?: string;
|
|
2597
|
+
},
|
|
2598
|
+
body: OauthClient
|
|
2599
|
+
): Request<OauthClient>;
|
|
2600
|
+
/** Undeletes a OauthClient, as long as it was deleted fewer than 30 days ago. */
|
|
2601
|
+
undelete(request: {
|
|
2602
|
+
/** V1 error format. */
|
|
2603
|
+
'$.xgafv'?: string;
|
|
2604
|
+
/** OAuth access token. */
|
|
2605
|
+
access_token?: string;
|
|
2606
|
+
/** Data format for response. */
|
|
2607
|
+
alt?: string;
|
|
2608
|
+
/** JSONP */
|
|
2609
|
+
callback?: string;
|
|
2610
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2611
|
+
fields?: string;
|
|
2612
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2613
|
+
key?: string;
|
|
2614
|
+
/** Required. The name of the oauth client to undelete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`. */
|
|
2615
|
+
name: string;
|
|
2616
|
+
/** OAuth 2.0 token for the current user. */
|
|
2617
|
+
oauth_token?: string;
|
|
2618
|
+
/** Returns response with indentations and line breaks. */
|
|
2619
|
+
prettyPrint?: boolean;
|
|
2620
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2621
|
+
quotaUser?: string;
|
|
2622
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2623
|
+
upload_protocol?: string;
|
|
2624
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2625
|
+
uploadType?: string;
|
|
2626
|
+
/** Request body */
|
|
2627
|
+
resource: UndeleteOauthClientRequest;
|
|
2628
|
+
}): Request<OauthClient>;
|
|
2629
|
+
undelete(
|
|
2630
|
+
request: {
|
|
2631
|
+
/** V1 error format. */
|
|
2632
|
+
'$.xgafv'?: string;
|
|
2633
|
+
/** OAuth access token. */
|
|
2634
|
+
access_token?: string;
|
|
2635
|
+
/** Data format for response. */
|
|
2636
|
+
alt?: string;
|
|
2637
|
+
/** JSONP */
|
|
2638
|
+
callback?: string;
|
|
2639
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2640
|
+
fields?: string;
|
|
2641
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2642
|
+
key?: string;
|
|
2643
|
+
/** Required. The name of the oauth client to undelete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`. */
|
|
2644
|
+
name: string;
|
|
2645
|
+
/** OAuth 2.0 token for the current user. */
|
|
2646
|
+
oauth_token?: string;
|
|
2647
|
+
/** Returns response with indentations and line breaks. */
|
|
2648
|
+
prettyPrint?: boolean;
|
|
2649
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2650
|
+
quotaUser?: string;
|
|
2651
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2652
|
+
upload_protocol?: string;
|
|
2653
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2654
|
+
uploadType?: string;
|
|
2655
|
+
},
|
|
2656
|
+
body: UndeleteOauthClientRequest
|
|
2657
|
+
): Request<OauthClient>;
|
|
2658
|
+
credentials: CredentialsResource;
|
|
2659
|
+
}
|
|
2094
2660
|
interface OperationsResource {
|
|
2095
2661
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2096
2662
|
get(request?: {
|
|
@@ -3034,6 +3600,7 @@ declare namespace gapi.client {
|
|
|
3034
3600
|
providers: ProvidersResource;
|
|
3035
3601
|
}
|
|
3036
3602
|
interface LocationsResource {
|
|
3603
|
+
oauthClients: OauthClientsResource;
|
|
3037
3604
|
workloadIdentityPools: WorkloadIdentityPoolsResource;
|
|
3038
3605
|
}
|
|
3039
3606
|
interface RolesResource {
|
|
@@ -3053,7 +3620,7 @@ declare namespace gapi.client {
|
|
|
3053
3620
|
key?: string;
|
|
3054
3621
|
/** OAuth 2.0 token for the current user. */
|
|
3055
3622
|
oauth_token?: string;
|
|
3056
|
-
/** The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3623
|
+
/** The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3057
3624
|
parent: string;
|
|
3058
3625
|
/** Returns response with indentations and line breaks. */
|
|
3059
3626
|
prettyPrint?: boolean;
|
|
@@ -3082,7 +3649,7 @@ declare namespace gapi.client {
|
|
|
3082
3649
|
key?: string;
|
|
3083
3650
|
/** OAuth 2.0 token for the current user. */
|
|
3084
3651
|
oauth_token?: string;
|
|
3085
|
-
/** The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3652
|
+
/** The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3086
3653
|
parent: string;
|
|
3087
3654
|
/** Returns response with indentations and line breaks. */
|
|
3088
3655
|
prettyPrint?: boolean;
|
|
@@ -3111,7 +3678,7 @@ declare namespace gapi.client {
|
|
|
3111
3678
|
fields?: string;
|
|
3112
3679
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3113
3680
|
key?: string;
|
|
3114
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.delete()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/delete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.delete()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/delete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3681
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.delete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.delete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3115
3682
|
name: string;
|
|
3116
3683
|
/** OAuth 2.0 token for the current user. */
|
|
3117
3684
|
oauth_token?: string;
|
|
@@ -3138,7 +3705,7 @@ declare namespace gapi.client {
|
|
|
3138
3705
|
fields?: string;
|
|
3139
3706
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3140
3707
|
key?: string;
|
|
3141
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in
|
|
3708
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [`projects.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3142
3709
|
name: string;
|
|
3143
3710
|
/** OAuth 2.0 token for the current user. */
|
|
3144
3711
|
oauth_token?: string;
|
|
@@ -3171,7 +3738,7 @@ declare namespace gapi.client {
|
|
|
3171
3738
|
pageSize?: number;
|
|
3172
3739
|
/** Optional pagination token returned in an earlier ListRolesResponse. */
|
|
3173
3740
|
pageToken?: string;
|
|
3174
|
-
/** The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in
|
|
3741
|
+
/** The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3175
3742
|
parent: string;
|
|
3176
3743
|
/** Returns response with indentations and line breaks. */
|
|
3177
3744
|
prettyPrint?: boolean;
|
|
@@ -3200,7 +3767,7 @@ declare namespace gapi.client {
|
|
|
3200
3767
|
fields?: string;
|
|
3201
3768
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3202
3769
|
key?: string;
|
|
3203
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3770
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3204
3771
|
name: string;
|
|
3205
3772
|
/** OAuth 2.0 token for the current user. */
|
|
3206
3773
|
oauth_token?: string;
|
|
@@ -3231,7 +3798,7 @@ declare namespace gapi.client {
|
|
|
3231
3798
|
fields?: string;
|
|
3232
3799
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3233
3800
|
key?: string;
|
|
3234
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3801
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3235
3802
|
name: string;
|
|
3236
3803
|
/** OAuth 2.0 token for the current user. */
|
|
3237
3804
|
oauth_token?: string;
|
|
@@ -3262,7 +3829,7 @@ declare namespace gapi.client {
|
|
|
3262
3829
|
fields?: string;
|
|
3263
3830
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3264
3831
|
key?: string;
|
|
3265
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3832
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3266
3833
|
name: string;
|
|
3267
3834
|
/** OAuth 2.0 token for the current user. */
|
|
3268
3835
|
oauth_token?: string;
|
|
@@ -3291,7 +3858,7 @@ declare namespace gapi.client {
|
|
|
3291
3858
|
fields?: string;
|
|
3292
3859
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3293
3860
|
key?: string;
|
|
3294
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3861
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
3295
3862
|
name: string;
|
|
3296
3863
|
/** OAuth 2.0 token for the current user. */
|
|
3297
3864
|
oauth_token?: string;
|
|
@@ -3567,6 +4134,64 @@ declare namespace gapi.client {
|
|
|
3567
4134
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3568
4135
|
uploadType?: string;
|
|
3569
4136
|
}): Request<ListServiceAccountKeysResponse>;
|
|
4137
|
+
/** Patches a ServiceAccountKey. */
|
|
4138
|
+
patch(request: {
|
|
4139
|
+
/** V1 error format. */
|
|
4140
|
+
'$.xgafv'?: string;
|
|
4141
|
+
/** OAuth access token. */
|
|
4142
|
+
access_token?: string;
|
|
4143
|
+
/** Data format for response. */
|
|
4144
|
+
alt?: string;
|
|
4145
|
+
/** JSONP */
|
|
4146
|
+
callback?: string;
|
|
4147
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4148
|
+
fields?: string;
|
|
4149
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4150
|
+
key?: string;
|
|
4151
|
+
/** The resource name of the service account key in the following format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. */
|
|
4152
|
+
name: string;
|
|
4153
|
+
/** OAuth 2.0 token for the current user. */
|
|
4154
|
+
oauth_token?: string;
|
|
4155
|
+
/** Returns response with indentations and line breaks. */
|
|
4156
|
+
prettyPrint?: boolean;
|
|
4157
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4158
|
+
quotaUser?: string;
|
|
4159
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4160
|
+
upload_protocol?: string;
|
|
4161
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4162
|
+
uploadType?: string;
|
|
4163
|
+
/** Request body */
|
|
4164
|
+
resource: PatchServiceAccountKeyRequest;
|
|
4165
|
+
}): Request<ServiceAccountKey>;
|
|
4166
|
+
patch(
|
|
4167
|
+
request: {
|
|
4168
|
+
/** V1 error format. */
|
|
4169
|
+
'$.xgafv'?: string;
|
|
4170
|
+
/** OAuth access token. */
|
|
4171
|
+
access_token?: string;
|
|
4172
|
+
/** Data format for response. */
|
|
4173
|
+
alt?: string;
|
|
4174
|
+
/** JSONP */
|
|
4175
|
+
callback?: string;
|
|
4176
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4177
|
+
fields?: string;
|
|
4178
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4179
|
+
key?: string;
|
|
4180
|
+
/** The resource name of the service account key in the following format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. */
|
|
4181
|
+
name: string;
|
|
4182
|
+
/** OAuth 2.0 token for the current user. */
|
|
4183
|
+
oauth_token?: string;
|
|
4184
|
+
/** Returns response with indentations and line breaks. */
|
|
4185
|
+
prettyPrint?: boolean;
|
|
4186
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4187
|
+
quotaUser?: string;
|
|
4188
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4189
|
+
upload_protocol?: string;
|
|
4190
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4191
|
+
uploadType?: string;
|
|
4192
|
+
},
|
|
4193
|
+
body: PatchServiceAccountKeyRequest
|
|
4194
|
+
): Request<ServiceAccountKey>;
|
|
3570
4195
|
/** Uploads the public key portion of a key pair that you manage, and associates the public key with a ServiceAccount. After you upload the public key, you can use the private key from the key pair as a service account key. */
|
|
3571
4196
|
upload(request: {
|
|
3572
4197
|
/** V1 error format. */
|
|
@@ -4287,7 +4912,7 @@ declare namespace gapi.client {
|
|
|
4287
4912
|
fields?: string;
|
|
4288
4913
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4289
4914
|
key?: string;
|
|
4290
|
-
/** The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in
|
|
4915
|
+
/** The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [`projects.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
4291
4916
|
name: string;
|
|
4292
4917
|
/** OAuth 2.0 token for the current user. */
|
|
4293
4918
|
oauth_token?: string;
|
|
@@ -4320,7 +4945,7 @@ declare namespace gapi.client {
|
|
|
4320
4945
|
pageSize?: number;
|
|
4321
4946
|
/** Optional pagination token returned in an earlier ListRolesResponse. */
|
|
4322
4947
|
pageToken?: string;
|
|
4323
|
-
/** The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in
|
|
4948
|
+
/** The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID. */
|
|
4324
4949
|
parent?: string;
|
|
4325
4950
|
/** Returns response with indentations and line breaks. */
|
|
4326
4951
|
prettyPrint?: boolean;
|