@maxim_mazurok/gapi.client.iam-v1 0.0.20240703 → 0.0.20240722
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 +3 -73
- 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: 20240722
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -346,12 +346,6 @@ declare namespace gapi.client {
|
|
|
346
346
|
/** Output only. Name of the verb executed by the operation. */
|
|
347
347
|
verb?: string;
|
|
348
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
|
-
}
|
|
355
349
|
interface PatchServiceAccountRequest {
|
|
356
350
|
serviceAccount?: ServiceAccount;
|
|
357
351
|
updateMask?: string;
|
|
@@ -477,12 +471,6 @@ declare namespace gapi.client {
|
|
|
477
471
|
uniqueId?: string;
|
|
478
472
|
}
|
|
479
473
|
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;
|
|
486
474
|
/** The key status. */
|
|
487
475
|
disabled?: boolean;
|
|
488
476
|
/** Output only. optional. If the key is disabled, it may have a DisableReason describing why it was disabled. */
|
|
@@ -1907,7 +1895,7 @@ declare namespace gapi.client {
|
|
|
1907
1895
|
},
|
|
1908
1896
|
body: CreateRoleRequest
|
|
1909
1897
|
): Request<Role>;
|
|
1910
|
-
/** Deletes a custom Role. When you delete a custom role, the following changes occur immediately: * You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the custom role are not changed, but they have no effect. * By default, the response from ListRoles does not include the custom role. You have 7 days to undelete the custom role. After 7 days, the following changes occur: * The custom role is permanently deleted and cannot be recovered. * If an IAM policy contains a binding to the custom role, the binding is permanently removed. */
|
|
1898
|
+
/** Deletes a custom Role. When you delete a custom role, the following changes occur immediately: * You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the custom role are not changed, but they have no effect. * By default, the response from ListRoles does not include the custom role. A deleted custom role still counts toward the [custom role limit](/iam/quotas#limits) until it is permanently deleted. You have 7 days to undelete the custom role. After 7 days, the following changes occur: * The custom role is permanently deleted and cannot be recovered. * If an IAM policy contains a binding to the custom role, the binding is permanently removed. * The custom role no longer counts toward your custom role limit. */
|
|
1911
1899
|
delete(request?: {
|
|
1912
1900
|
/** V1 error format. */
|
|
1913
1901
|
'$.xgafv'?: string;
|
|
@@ -3662,7 +3650,7 @@ declare namespace gapi.client {
|
|
|
3662
3650
|
},
|
|
3663
3651
|
body: CreateRoleRequest
|
|
3664
3652
|
): Request<Role>;
|
|
3665
|
-
/** Deletes a custom Role. When you delete a custom role, the following changes occur immediately: * You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the custom role are not changed, but they have no effect. * By default, the response from ListRoles does not include the custom role. You have 7 days to undelete the custom role. After 7 days, the following changes occur: * The custom role is permanently deleted and cannot be recovered. * If an IAM policy contains a binding to the custom role, the binding is permanently removed. */
|
|
3653
|
+
/** Deletes a custom Role. When you delete a custom role, the following changes occur immediately: * You cannot bind a principal to the custom role in an IAM Policy. * Existing bindings to the custom role are not changed, but they have no effect. * By default, the response from ListRoles does not include the custom role. A deleted custom role still counts toward the [custom role limit](/iam/quotas#limits) until it is permanently deleted. You have 7 days to undelete the custom role. After 7 days, the following changes occur: * The custom role is permanently deleted and cannot be recovered. * If an IAM policy contains a binding to the custom role, the binding is permanently removed. * The custom role no longer counts toward your custom role limit. */
|
|
3666
3654
|
delete(request?: {
|
|
3667
3655
|
/** V1 error format. */
|
|
3668
3656
|
'$.xgafv'?: string;
|
|
@@ -4134,64 +4122,6 @@ declare namespace gapi.client {
|
|
|
4134
4122
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4135
4123
|
uploadType?: string;
|
|
4136
4124
|
}): 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>;
|
|
4195
4125
|
/** 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. */
|
|
4196
4126
|
upload(request: {
|
|
4197
4127
|
/** V1 error format. */
|