@maxim_mazurok/gapi.client.iam-v1 0.0.20250116 → 0.0.20250206
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 +51 -51
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
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: 20250206
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Identity and Access Management (IAM) API v1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://iam.googleapis.com/$discovery/rest?version=v1'
|
|
19
|
+
urlOrObject: 'https://iam.googleapis.com/$discovery/rest?version=v1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'iam', version: 'v1'): Promise<void>;
|
|
@@ -723,7 +723,7 @@ declare namespace gapi.client {
|
|
|
723
723
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
724
724
|
uploadType?: string;
|
|
725
725
|
},
|
|
726
|
-
body: LintPolicyRequest
|
|
726
|
+
body: LintPolicyRequest,
|
|
727
727
|
): Request<LintPolicyResponse>;
|
|
728
728
|
/** Returns a list of services that allow you to opt into audit logs that are not generated by default. To learn more about audit logs, see the [Logging documentation](https://cloud.google.com/logging/docs/audit). */
|
|
729
729
|
queryAuditableServices(request: {
|
|
@@ -777,7 +777,7 @@ declare namespace gapi.client {
|
|
|
777
777
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
778
778
|
uploadType?: string;
|
|
779
779
|
},
|
|
780
|
-
body: QueryAuditableServicesRequest
|
|
780
|
+
body: QueryAuditableServicesRequest,
|
|
781
781
|
): Request<QueryAuditableServicesResponse>;
|
|
782
782
|
}
|
|
783
783
|
interface OperationsResource {
|
|
@@ -899,7 +899,7 @@ declare namespace gapi.client {
|
|
|
899
899
|
/** Required. The ID to use for the key, which becomes the final component of the resource name. This value must be 4-32 characters, and may contain the characters [a-z0-9-]. */
|
|
900
900
|
workforcePoolProviderKeyId?: string;
|
|
901
901
|
},
|
|
902
|
-
body: WorkforcePoolProviderKey
|
|
902
|
+
body: WorkforcePoolProviderKey,
|
|
903
903
|
): Request<Operation>;
|
|
904
904
|
/** Deletes a WorkforcePoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent. */
|
|
905
905
|
delete(request?: {
|
|
@@ -1044,7 +1044,7 @@ declare namespace gapi.client {
|
|
|
1044
1044
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1045
1045
|
uploadType?: string;
|
|
1046
1046
|
},
|
|
1047
|
-
body: UndeleteWorkforcePoolProviderKeyRequest
|
|
1047
|
+
body: UndeleteWorkforcePoolProviderKeyRequest,
|
|
1048
1048
|
): Request<Operation>;
|
|
1049
1049
|
operations: OperationsResource;
|
|
1050
1050
|
}
|
|
@@ -1138,7 +1138,7 @@ declare namespace gapi.client {
|
|
|
1138
1138
|
/** Required. The ID for the provider, which becomes the final component of the resource name. This value must 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. */
|
|
1139
1139
|
workforcePoolProviderId?: string;
|
|
1140
1140
|
},
|
|
1141
|
-
body: WorkforcePoolProvider
|
|
1141
|
+
body: WorkforcePoolProvider,
|
|
1142
1142
|
): Request<Operation>;
|
|
1143
1143
|
/** 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. */
|
|
1144
1144
|
delete(request?: {
|
|
@@ -1287,7 +1287,7 @@ declare namespace gapi.client {
|
|
|
1287
1287
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1288
1288
|
uploadType?: string;
|
|
1289
1289
|
},
|
|
1290
|
-
body: WorkforcePoolProvider
|
|
1290
|
+
body: WorkforcePoolProvider,
|
|
1291
1291
|
): Request<Operation>;
|
|
1292
1292
|
/** Undeletes a WorkforcePoolProvider, as long as it was deleted fewer than 30 days ago. */
|
|
1293
1293
|
undelete(request: {
|
|
@@ -1345,7 +1345,7 @@ declare namespace gapi.client {
|
|
|
1345
1345
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1346
1346
|
uploadType?: string;
|
|
1347
1347
|
},
|
|
1348
|
-
body: UndeleteWorkforcePoolProviderRequest
|
|
1348
|
+
body: UndeleteWorkforcePoolProviderRequest,
|
|
1349
1349
|
): Request<Operation>;
|
|
1350
1350
|
keys: KeysResource;
|
|
1351
1351
|
operations: OperationsResource;
|
|
@@ -1463,7 +1463,7 @@ declare namespace gapi.client {
|
|
|
1463
1463
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1464
1464
|
uploadType?: string;
|
|
1465
1465
|
},
|
|
1466
|
-
body: UndeleteWorkforcePoolSubjectRequest
|
|
1466
|
+
body: UndeleteWorkforcePoolSubjectRequest,
|
|
1467
1467
|
): Request<Operation>;
|
|
1468
1468
|
operations: OperationsResource;
|
|
1469
1469
|
}
|
|
@@ -1528,7 +1528,7 @@ declare namespace gapi.client {
|
|
|
1528
1528
|
/** Optional. The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique 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. */
|
|
1529
1529
|
workforcePoolId?: string;
|
|
1530
1530
|
},
|
|
1531
|
-
body: WorkforcePool
|
|
1531
|
+
body: WorkforcePool,
|
|
1532
1532
|
): Request<Operation>;
|
|
1533
1533
|
/** Deletes a WorkforcePool. You cannot use a deleted WorkforcePool to exchange external credentials for Google Cloud credentials. However, deletion does not revoke credentials that have already been issued. Credentials issued for a deleted pool do not grant access to resources. If the pool is undeleted, and the credentials are not expired, they grant access again. You can undelete a pool for 30 days. After 30 days, deletion is permanent. You cannot update deleted pools. However, you can view and list them. */
|
|
1534
1534
|
delete(request?: {
|
|
@@ -1612,7 +1612,7 @@ declare namespace gapi.client {
|
|
|
1612
1612
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1613
1613
|
uploadType?: string;
|
|
1614
1614
|
},
|
|
1615
|
-
body: GetIamPolicyRequest
|
|
1615
|
+
body: GetIamPolicyRequest,
|
|
1616
1616
|
): Request<Policy>;
|
|
1617
1617
|
/** Lists all non-deleted WorkforcePools under the specified parent. If `show_deleted` is set to `true`, then deleted pools are also listed. */
|
|
1618
1618
|
list(request?: {
|
|
@@ -1709,7 +1709,7 @@ declare namespace gapi.client {
|
|
|
1709
1709
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1710
1710
|
uploadType?: string;
|
|
1711
1711
|
},
|
|
1712
|
-
body: WorkforcePool
|
|
1712
|
+
body: WorkforcePool,
|
|
1713
1713
|
): Request<Operation>;
|
|
1714
1714
|
/** Sets IAM policies on a WorkforcePool. */
|
|
1715
1715
|
setIamPolicy(
|
|
@@ -1739,7 +1739,7 @@ declare namespace gapi.client {
|
|
|
1739
1739
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1740
1740
|
uploadType?: string;
|
|
1741
1741
|
},
|
|
1742
|
-
body: SetIamPolicyRequest
|
|
1742
|
+
body: SetIamPolicyRequest,
|
|
1743
1743
|
): Request<Policy>;
|
|
1744
1744
|
/** 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. */
|
|
1745
1745
|
testIamPermissions(
|
|
@@ -1769,7 +1769,7 @@ declare namespace gapi.client {
|
|
|
1769
1769
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1770
1770
|
uploadType?: string;
|
|
1771
1771
|
},
|
|
1772
|
-
body: TestIamPermissionsRequest
|
|
1772
|
+
body: TestIamPermissionsRequest,
|
|
1773
1773
|
): Request<TestIamPermissionsResponse>;
|
|
1774
1774
|
/** Undeletes a WorkforcePool, as long as it was deleted fewer than 30 days ago. */
|
|
1775
1775
|
undelete(request: {
|
|
@@ -1827,7 +1827,7 @@ declare namespace gapi.client {
|
|
|
1827
1827
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1828
1828
|
uploadType?: string;
|
|
1829
1829
|
},
|
|
1830
|
-
body: UndeleteWorkforcePoolRequest
|
|
1830
|
+
body: UndeleteWorkforcePoolRequest,
|
|
1831
1831
|
): Request<Operation>;
|
|
1832
1832
|
operations: OperationsResource;
|
|
1833
1833
|
providers: ProvidersResource;
|
|
@@ -1893,7 +1893,7 @@ declare namespace gapi.client {
|
|
|
1893
1893
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1894
1894
|
uploadType?: string;
|
|
1895
1895
|
},
|
|
1896
|
-
body: CreateRoleRequest
|
|
1896
|
+
body: CreateRoleRequest,
|
|
1897
1897
|
): Request<Role>;
|
|
1898
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](https://cloud.google.com/iam/help/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. */
|
|
1899
1899
|
delete(request?: {
|
|
@@ -2046,7 +2046,7 @@ declare namespace gapi.client {
|
|
|
2046
2046
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2047
2047
|
uploadType?: string;
|
|
2048
2048
|
},
|
|
2049
|
-
body: Role
|
|
2049
|
+
body: Role,
|
|
2050
2050
|
): Request<Role>;
|
|
2051
2051
|
/** Undeletes a custom Role. */
|
|
2052
2052
|
undelete(request: {
|
|
@@ -2104,7 +2104,7 @@ declare namespace gapi.client {
|
|
|
2104
2104
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2105
2105
|
uploadType?: string;
|
|
2106
2106
|
},
|
|
2107
|
-
body: UndeleteRoleRequest
|
|
2107
|
+
body: UndeleteRoleRequest,
|
|
2108
2108
|
): Request<Role>;
|
|
2109
2109
|
}
|
|
2110
2110
|
interface OrganizationsResource {
|
|
@@ -2163,7 +2163,7 @@ declare namespace gapi.client {
|
|
|
2163
2163
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2164
2164
|
uploadType?: string;
|
|
2165
2165
|
},
|
|
2166
|
-
body: QueryTestablePermissionsRequest
|
|
2166
|
+
body: QueryTestablePermissionsRequest,
|
|
2167
2167
|
): Request<QueryTestablePermissionsResponse>;
|
|
2168
2168
|
}
|
|
2169
2169
|
interface CredentialsResource {
|
|
@@ -2227,7 +2227,7 @@ declare namespace gapi.client {
|
|
|
2227
2227
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2228
2228
|
uploadType?: string;
|
|
2229
2229
|
},
|
|
2230
|
-
body: OauthClientCredential
|
|
2230
|
+
body: OauthClientCredential,
|
|
2231
2231
|
): Request<OauthClientCredential>;
|
|
2232
2232
|
/** Deletes an OauthClientCredential. Before deleting an OauthClientCredential, it should first be disabled. */
|
|
2233
2233
|
delete(request?: {
|
|
@@ -2370,7 +2370,7 @@ declare namespace gapi.client {
|
|
|
2370
2370
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2371
2371
|
uploadType?: string;
|
|
2372
2372
|
},
|
|
2373
|
-
body: OauthClientCredential
|
|
2373
|
+
body: OauthClientCredential,
|
|
2374
2374
|
): Request<OauthClientCredential>;
|
|
2375
2375
|
}
|
|
2376
2376
|
interface OauthClientsResource {
|
|
@@ -2434,7 +2434,7 @@ declare namespace gapi.client {
|
|
|
2434
2434
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2435
2435
|
uploadType?: string;
|
|
2436
2436
|
},
|
|
2437
|
-
body: OauthClient
|
|
2437
|
+
body: OauthClient,
|
|
2438
2438
|
): Request<OauthClient>;
|
|
2439
2439
|
/** Deletes an OauthClient. You cannot use a deleted OauthClient. 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 OauthClient is undeleted, and the refresh tokens are not expired, they are valid for token exchange again. You can undelete an OauthClient for 30 days. After 30 days, deletion is permanent. You cannot update deleted OauthClients. However, you can view and list them. */
|
|
2440
2440
|
delete(request?: {
|
|
@@ -2583,7 +2583,7 @@ declare namespace gapi.client {
|
|
|
2583
2583
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2584
2584
|
uploadType?: string;
|
|
2585
2585
|
},
|
|
2586
|
-
body: OauthClient
|
|
2586
|
+
body: OauthClient,
|
|
2587
2587
|
): Request<OauthClient>;
|
|
2588
2588
|
/** Undeletes an OauthClient, as long as it was deleted fewer than 30 days ago. */
|
|
2589
2589
|
undelete(request: {
|
|
@@ -2641,7 +2641,7 @@ declare namespace gapi.client {
|
|
|
2641
2641
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2642
2642
|
uploadType?: string;
|
|
2643
2643
|
},
|
|
2644
|
-
body: UndeleteOauthClientRequest
|
|
2644
|
+
body: UndeleteOauthClientRequest,
|
|
2645
2645
|
): Request<OauthClient>;
|
|
2646
2646
|
credentials: CredentialsResource;
|
|
2647
2647
|
}
|
|
@@ -2862,7 +2862,7 @@ declare namespace gapi.client {
|
|
|
2862
2862
|
/** Required. The ID to use for the key, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. */
|
|
2863
2863
|
workloadIdentityPoolProviderKeyId?: string;
|
|
2864
2864
|
},
|
|
2865
|
-
body: WorkloadIdentityPoolProviderKey
|
|
2865
|
+
body: WorkloadIdentityPoolProviderKey,
|
|
2866
2866
|
): Request<Operation>;
|
|
2867
2867
|
/** Deletes an WorkloadIdentityPoolProviderKey. You can undelete a key for 30 days. After 30 days, deletion is permanent. */
|
|
2868
2868
|
delete(request?: {
|
|
@@ -3007,7 +3007,7 @@ declare namespace gapi.client {
|
|
|
3007
3007
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3008
3008
|
uploadType?: string;
|
|
3009
3009
|
},
|
|
3010
|
-
body: UndeleteWorkloadIdentityPoolProviderKeyRequest
|
|
3010
|
+
body: UndeleteWorkloadIdentityPoolProviderKeyRequest,
|
|
3011
3011
|
): Request<Operation>;
|
|
3012
3012
|
operations: OperationsResource;
|
|
3013
3013
|
}
|
|
@@ -3101,7 +3101,7 @@ declare namespace gapi.client {
|
|
|
3101
3101
|
/** Required. The ID for the provider, which becomes the final component of the resource name. This value must 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. */
|
|
3102
3102
|
workloadIdentityPoolProviderId?: string;
|
|
3103
3103
|
},
|
|
3104
|
-
body: WorkloadIdentityPoolProvider
|
|
3104
|
+
body: WorkloadIdentityPoolProvider,
|
|
3105
3105
|
): Request<Operation>;
|
|
3106
3106
|
/** Deletes a WorkloadIdentityPoolProvider. 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. */
|
|
3107
3107
|
delete(request?: {
|
|
@@ -3250,7 +3250,7 @@ declare namespace gapi.client {
|
|
|
3250
3250
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3251
3251
|
uploadType?: string;
|
|
3252
3252
|
},
|
|
3253
|
-
body: WorkloadIdentityPoolProvider
|
|
3253
|
+
body: WorkloadIdentityPoolProvider,
|
|
3254
3254
|
): Request<Operation>;
|
|
3255
3255
|
/** Undeletes a WorkloadIdentityPoolProvider, as long as it was deleted fewer than 30 days ago. */
|
|
3256
3256
|
undelete(request: {
|
|
@@ -3308,7 +3308,7 @@ declare namespace gapi.client {
|
|
|
3308
3308
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3309
3309
|
uploadType?: string;
|
|
3310
3310
|
},
|
|
3311
|
-
body: UndeleteWorkloadIdentityPoolProviderRequest
|
|
3311
|
+
body: UndeleteWorkloadIdentityPoolProviderRequest,
|
|
3312
3312
|
): Request<Operation>;
|
|
3313
3313
|
keys: KeysResource;
|
|
3314
3314
|
operations: OperationsResource;
|
|
@@ -3374,7 +3374,7 @@ declare namespace gapi.client {
|
|
|
3374
3374
|
/** Required. The ID to use for the pool, 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. */
|
|
3375
3375
|
workloadIdentityPoolId?: string;
|
|
3376
3376
|
},
|
|
3377
|
-
body: WorkloadIdentityPool
|
|
3377
|
+
body: WorkloadIdentityPool,
|
|
3378
3378
|
): Request<Operation>;
|
|
3379
3379
|
/** Deletes a WorkloadIdentityPool. You cannot use a deleted pool to exchange external credentials for Google Cloud credentials. However, deletion does not revoke credentials that have already been issued. Credentials issued for a deleted pool do not grant access to resources. If the pool is undeleted, and the credentials are not expired, they grant access again. You can undelete a pool for 30 days. After 30 days, deletion is permanent. You cannot update deleted pools. However, you can view and list them. */
|
|
3380
3380
|
delete(request?: {
|
|
@@ -3523,7 +3523,7 @@ declare namespace gapi.client {
|
|
|
3523
3523
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3524
3524
|
uploadType?: string;
|
|
3525
3525
|
},
|
|
3526
|
-
body: WorkloadIdentityPool
|
|
3526
|
+
body: WorkloadIdentityPool,
|
|
3527
3527
|
): Request<Operation>;
|
|
3528
3528
|
/** Undeletes a WorkloadIdentityPool, as long as it was deleted fewer than 30 days ago. */
|
|
3529
3529
|
undelete(request: {
|
|
@@ -3581,7 +3581,7 @@ declare namespace gapi.client {
|
|
|
3581
3581
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3582
3582
|
uploadType?: string;
|
|
3583
3583
|
},
|
|
3584
|
-
body: UndeleteWorkloadIdentityPoolRequest
|
|
3584
|
+
body: UndeleteWorkloadIdentityPoolRequest,
|
|
3585
3585
|
): Request<Operation>;
|
|
3586
3586
|
namespaces: NamespacesResource;
|
|
3587
3587
|
operations: OperationsResource;
|
|
@@ -3648,7 +3648,7 @@ declare namespace gapi.client {
|
|
|
3648
3648
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3649
3649
|
uploadType?: string;
|
|
3650
3650
|
},
|
|
3651
|
-
body: CreateRoleRequest
|
|
3651
|
+
body: CreateRoleRequest,
|
|
3652
3652
|
): Request<Role>;
|
|
3653
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](https://cloud.google.com/iam/help/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. */
|
|
3654
3654
|
delete(request?: {
|
|
@@ -3801,7 +3801,7 @@ declare namespace gapi.client {
|
|
|
3801
3801
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3802
3802
|
uploadType?: string;
|
|
3803
3803
|
},
|
|
3804
|
-
body: Role
|
|
3804
|
+
body: Role,
|
|
3805
3805
|
): Request<Role>;
|
|
3806
3806
|
/** Undeletes a custom Role. */
|
|
3807
3807
|
undelete(request: {
|
|
@@ -3859,7 +3859,7 @@ declare namespace gapi.client {
|
|
|
3859
3859
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3860
3860
|
uploadType?: string;
|
|
3861
3861
|
},
|
|
3862
|
-
body: UndeleteRoleRequest
|
|
3862
|
+
body: UndeleteRoleRequest,
|
|
3863
3863
|
): Request<Role>;
|
|
3864
3864
|
}
|
|
3865
3865
|
interface KeysResource {
|
|
@@ -3919,7 +3919,7 @@ declare namespace gapi.client {
|
|
|
3919
3919
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3920
3920
|
uploadType?: string;
|
|
3921
3921
|
},
|
|
3922
|
-
body: CreateServiceAccountKeyRequest
|
|
3922
|
+
body: CreateServiceAccountKeyRequest,
|
|
3923
3923
|
): Request<ServiceAccountKey>;
|
|
3924
3924
|
/** Deletes a ServiceAccountKey. Deleting a service account key does not revoke short-lived credentials that have been issued based on the service account key. */
|
|
3925
3925
|
delete(request?: {
|
|
@@ -4004,7 +4004,7 @@ declare namespace gapi.client {
|
|
|
4004
4004
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4005
4005
|
uploadType?: string;
|
|
4006
4006
|
},
|
|
4007
|
-
body: DisableServiceAccountKeyRequest
|
|
4007
|
+
body: DisableServiceAccountKeyRequest,
|
|
4008
4008
|
): Request<{}>;
|
|
4009
4009
|
/** Enable a ServiceAccountKey. */
|
|
4010
4010
|
enable(request: {
|
|
@@ -4062,7 +4062,7 @@ declare namespace gapi.client {
|
|
|
4062
4062
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4063
4063
|
uploadType?: string;
|
|
4064
4064
|
},
|
|
4065
|
-
body: EnableServiceAccountKeyRequest
|
|
4065
|
+
body: EnableServiceAccountKeyRequest,
|
|
4066
4066
|
): Request<{}>;
|
|
4067
4067
|
/** Gets a ServiceAccountKey. */
|
|
4068
4068
|
get(request?: {
|
|
@@ -4178,7 +4178,7 @@ declare namespace gapi.client {
|
|
|
4178
4178
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4179
4179
|
uploadType?: string;
|
|
4180
4180
|
},
|
|
4181
|
-
body: UploadServiceAccountKeyRequest
|
|
4181
|
+
body: UploadServiceAccountKeyRequest,
|
|
4182
4182
|
): Request<ServiceAccountKey>;
|
|
4183
4183
|
}
|
|
4184
4184
|
interface ServiceAccountsResource {
|
|
@@ -4238,7 +4238,7 @@ declare namespace gapi.client {
|
|
|
4238
4238
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4239
4239
|
uploadType?: string;
|
|
4240
4240
|
},
|
|
4241
|
-
body: CreateServiceAccountRequest
|
|
4241
|
+
body: CreateServiceAccountRequest,
|
|
4242
4242
|
): Request<ServiceAccount>;
|
|
4243
4243
|
/** Deletes a ServiceAccount. **Warning:** After you delete a service account, you might not be able to undelete it. If you know that you need to re-enable the service account in the future, use DisableServiceAccount instead. If you delete a service account, IAM permanently removes the service account 30 days later. Google Cloud cannot recover the service account after it is permanently removed, even if you file a support request. To help avoid unplanned outages, we recommend that you disable the service account before you delete it. Use DisableServiceAccount to disable the service account, then wait at least 24 hours and watch for unintended consequences. If there are no unintended consequences, you can delete the service account. */
|
|
4244
4244
|
delete(request?: {
|
|
@@ -4323,7 +4323,7 @@ declare namespace gapi.client {
|
|
|
4323
4323
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4324
4324
|
uploadType?: string;
|
|
4325
4325
|
},
|
|
4326
|
-
body: DisableServiceAccountRequest
|
|
4326
|
+
body: DisableServiceAccountRequest,
|
|
4327
4327
|
): Request<{}>;
|
|
4328
4328
|
/** Enables a ServiceAccount that was disabled by DisableServiceAccount. If the service account is already enabled, then this method has no effect. If the service account was disabled by other means—for example, if Google disabled the service account because it was compromised—you cannot use this method to enable the service account. */
|
|
4329
4329
|
enable(request: {
|
|
@@ -4381,7 +4381,7 @@ declare namespace gapi.client {
|
|
|
4381
4381
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4382
4382
|
uploadType?: string;
|
|
4383
4383
|
},
|
|
4384
|
-
body: EnableServiceAccountRequest
|
|
4384
|
+
body: EnableServiceAccountRequest,
|
|
4385
4385
|
): Request<{}>;
|
|
4386
4386
|
/** Gets a ServiceAccount. */
|
|
4387
4387
|
get(request?: {
|
|
@@ -4526,7 +4526,7 @@ declare namespace gapi.client {
|
|
|
4526
4526
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4527
4527
|
uploadType?: string;
|
|
4528
4528
|
},
|
|
4529
|
-
body: PatchServiceAccountRequest
|
|
4529
|
+
body: PatchServiceAccountRequest,
|
|
4530
4530
|
): Request<ServiceAccount>;
|
|
4531
4531
|
/** Sets the IAM policy that is attached to a ServiceAccount. Use this method to grant or revoke access to the service account. For example, you could grant a principal the ability to impersonate the service account. This method does not enable the service account to access other resources. To grant roles to a service account on a resource, follow these steps: 1. Call the resource's `getIamPolicy` method to get its current IAM policy. 2. Edit the policy so that it binds the service account to an IAM role for the resource. 3. Call the resource's `setIamPolicy` method to update its IAM policy. For detailed instructions, see [Manage access to project, folders, and organizations](https://cloud.google.com/iam/help/service-accounts/granting-access-to-service-accounts) or [Manage access to other resources](https://cloud.google.com/iam/help/access/manage-other-resources). */
|
|
4532
4532
|
setIamPolicy(
|
|
@@ -4556,7 +4556,7 @@ declare namespace gapi.client {
|
|
|
4556
4556
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4557
4557
|
uploadType?: string;
|
|
4558
4558
|
},
|
|
4559
|
-
body: SetIamPolicyRequest
|
|
4559
|
+
body: SetIamPolicyRequest,
|
|
4560
4560
|
): Request<Policy>;
|
|
4561
4561
|
/** **Note:** This method is deprecated. Use the [signBlob](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob) method in the IAM Service Account Credentials API instead. If you currently use this method, see the [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a blob using the system-managed private key for a ServiceAccount. */
|
|
4562
4562
|
signBlob(request: {
|
|
@@ -4614,7 +4614,7 @@ declare namespace gapi.client {
|
|
|
4614
4614
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4615
4615
|
uploadType?: string;
|
|
4616
4616
|
},
|
|
4617
|
-
body: SignBlobRequest
|
|
4617
|
+
body: SignBlobRequest,
|
|
4618
4618
|
): Request<SignBlobResponse>;
|
|
4619
4619
|
/** **Note:** This method is deprecated. Use the [signJwt](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt) method in the IAM Service Account Credentials API instead. If you currently use this method, see the [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a JSON Web Token (JWT) using the system-managed private key for a ServiceAccount. */
|
|
4620
4620
|
signJwt(request: {
|
|
@@ -4672,7 +4672,7 @@ declare namespace gapi.client {
|
|
|
4672
4672
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4673
4673
|
uploadType?: string;
|
|
4674
4674
|
},
|
|
4675
|
-
body: SignJwtRequest
|
|
4675
|
+
body: SignJwtRequest,
|
|
4676
4676
|
): Request<SignJwtResponse>;
|
|
4677
4677
|
/** Tests whether the caller has the specified permissions on a ServiceAccount. */
|
|
4678
4678
|
testIamPermissions(
|
|
@@ -4702,7 +4702,7 @@ declare namespace gapi.client {
|
|
|
4702
4702
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4703
4703
|
uploadType?: string;
|
|
4704
4704
|
},
|
|
4705
|
-
body: TestIamPermissionsRequest
|
|
4705
|
+
body: TestIamPermissionsRequest,
|
|
4706
4706
|
): Request<TestIamPermissionsResponse>;
|
|
4707
4707
|
/** Restores a deleted ServiceAccount. **Important:** It is not always possible to restore a deleted service account. Use this method only as a last resort. After you delete a service account, IAM permanently removes the service account 30 days later. There is no way to restore a deleted service account that has been permanently removed. */
|
|
4708
4708
|
undelete(request: {
|
|
@@ -4760,7 +4760,7 @@ declare namespace gapi.client {
|
|
|
4760
4760
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4761
4761
|
uploadType?: string;
|
|
4762
4762
|
},
|
|
4763
|
-
body: UndeleteServiceAccountRequest
|
|
4763
|
+
body: UndeleteServiceAccountRequest,
|
|
4764
4764
|
): Request<UndeleteServiceAccountResponse>;
|
|
4765
4765
|
/** **Note:** We are in the process of deprecating this method. Use PatchServiceAccount instead. Updates a ServiceAccount. You can update only the `display_name` field. */
|
|
4766
4766
|
update(request: {
|
|
@@ -4818,7 +4818,7 @@ declare namespace gapi.client {
|
|
|
4818
4818
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4819
4819
|
uploadType?: string;
|
|
4820
4820
|
},
|
|
4821
|
-
body: ServiceAccount
|
|
4821
|
+
body: ServiceAccount,
|
|
4822
4822
|
): Request<ServiceAccount>;
|
|
4823
4823
|
keys: KeysResource;
|
|
4824
4824
|
}
|
|
@@ -4942,7 +4942,7 @@ declare namespace gapi.client {
|
|
|
4942
4942
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4943
4943
|
uploadType?: string;
|
|
4944
4944
|
},
|
|
4945
|
-
body: QueryGrantableRolesRequest
|
|
4945
|
+
body: QueryGrantableRolesRequest,
|
|
4946
4946
|
): Request<QueryGrantableRolesResponse>;
|
|
4947
4947
|
}
|
|
4948
4948
|
|
package/package.json
CHANGED
package/readme.md
CHANGED