@maxim_mazurok/gapi.client.cloudkms-v1 0.1.20251016 → 0.1.20251023
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 +4 -93
- package/package.json +1 -1
- package/readme.md +1 -11
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://cloudkms.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251023
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -660,7 +660,7 @@ declare namespace gapi.client {
|
|
|
660
660
|
pem?: string;
|
|
661
661
|
}
|
|
662
662
|
interface FoldersResource {
|
|
663
|
-
/** Returns the AutokeyConfig for a folder
|
|
663
|
+
/** Returns the AutokeyConfig for a folder. */
|
|
664
664
|
getAutokeyConfig(request?: {
|
|
665
665
|
/** V1 error format. */
|
|
666
666
|
'$.xgafv'?: string;
|
|
@@ -674,7 +674,7 @@ declare namespace gapi.client {
|
|
|
674
674
|
fields?: string;
|
|
675
675
|
/** 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. */
|
|
676
676
|
key?: string;
|
|
677
|
-
/** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig
|
|
677
|
+
/** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`. */
|
|
678
678
|
name: string;
|
|
679
679
|
/** OAuth 2.0 token for the current user. */
|
|
680
680
|
oauth_token?: string;
|
|
@@ -3286,7 +3286,7 @@ declare namespace gapi.client {
|
|
|
3286
3286
|
alt?: string;
|
|
3287
3287
|
/** JSONP */
|
|
3288
3288
|
callback?: string;
|
|
3289
|
-
/** Optional.
|
|
3289
|
+
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
3290
3290
|
extraLocationTypes?: string | string[];
|
|
3291
3291
|
/** Selector specifying which fields to include in a partial response. */
|
|
3292
3292
|
fields?: string;
|
|
@@ -3380,33 +3380,6 @@ declare namespace gapi.client {
|
|
|
3380
3380
|
operations: OperationsResource;
|
|
3381
3381
|
}
|
|
3382
3382
|
interface ProjectsResource {
|
|
3383
|
-
/** Returns the AutokeyConfig for a folder or project. */
|
|
3384
|
-
getAutokeyConfig(request?: {
|
|
3385
|
-
/** V1 error format. */
|
|
3386
|
-
'$.xgafv'?: string;
|
|
3387
|
-
/** OAuth access token. */
|
|
3388
|
-
access_token?: string;
|
|
3389
|
-
/** Data format for response. */
|
|
3390
|
-
alt?: string;
|
|
3391
|
-
/** JSONP */
|
|
3392
|
-
callback?: string;
|
|
3393
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3394
|
-
fields?: string;
|
|
3395
|
-
/** 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. */
|
|
3396
|
-
key?: string;
|
|
3397
|
-
/** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
|
|
3398
|
-
name: string;
|
|
3399
|
-
/** OAuth 2.0 token for the current user. */
|
|
3400
|
-
oauth_token?: string;
|
|
3401
|
-
/** Returns response with indentations and line breaks. */
|
|
3402
|
-
prettyPrint?: boolean;
|
|
3403
|
-
/** 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. */
|
|
3404
|
-
quotaUser?: string;
|
|
3405
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3406
|
-
upload_protocol?: string;
|
|
3407
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3408
|
-
uploadType?: string;
|
|
3409
|
-
}): Request<AutokeyConfig>;
|
|
3410
3383
|
/** Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
|
|
3411
3384
|
getKajPolicyConfig(request?: {
|
|
3412
3385
|
/** V1 error format. */
|
|
@@ -3515,68 +3488,6 @@ declare namespace gapi.client {
|
|
|
3515
3488
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3516
3489
|
uploadType?: string;
|
|
3517
3490
|
}): Request<ShowEffectiveKeyAccessJustificationsPolicyConfigResponse>;
|
|
3518
|
-
/** Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A KeyHandle creation in the folder's descendant projects will use this configuration to determine where to create the resulting CryptoKey. */
|
|
3519
|
-
updateAutokeyConfig(request: {
|
|
3520
|
-
/** V1 error format. */
|
|
3521
|
-
'$.xgafv'?: string;
|
|
3522
|
-
/** OAuth access token. */
|
|
3523
|
-
access_token?: string;
|
|
3524
|
-
/** Data format for response. */
|
|
3525
|
-
alt?: string;
|
|
3526
|
-
/** JSONP */
|
|
3527
|
-
callback?: string;
|
|
3528
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3529
|
-
fields?: string;
|
|
3530
|
-
/** 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. */
|
|
3531
|
-
key?: string;
|
|
3532
|
-
/** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` `projects/{PROJECT_NUMBER}/autokeyConfig`. */
|
|
3533
|
-
name: string;
|
|
3534
|
-
/** OAuth 2.0 token for the current user. */
|
|
3535
|
-
oauth_token?: string;
|
|
3536
|
-
/** Returns response with indentations and line breaks. */
|
|
3537
|
-
prettyPrint?: boolean;
|
|
3538
|
-
/** 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. */
|
|
3539
|
-
quotaUser?: string;
|
|
3540
|
-
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`. */
|
|
3541
|
-
updateMask?: string;
|
|
3542
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3543
|
-
upload_protocol?: string;
|
|
3544
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3545
|
-
uploadType?: string;
|
|
3546
|
-
/** Request body */
|
|
3547
|
-
resource: AutokeyConfig;
|
|
3548
|
-
}): Request<AutokeyConfig>;
|
|
3549
|
-
updateAutokeyConfig(
|
|
3550
|
-
request: {
|
|
3551
|
-
/** V1 error format. */
|
|
3552
|
-
'$.xgafv'?: string;
|
|
3553
|
-
/** OAuth access token. */
|
|
3554
|
-
access_token?: string;
|
|
3555
|
-
/** Data format for response. */
|
|
3556
|
-
alt?: string;
|
|
3557
|
-
/** JSONP */
|
|
3558
|
-
callback?: string;
|
|
3559
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3560
|
-
fields?: string;
|
|
3561
|
-
/** 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. */
|
|
3562
|
-
key?: string;
|
|
3563
|
-
/** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` `projects/{PROJECT_NUMBER}/autokeyConfig`. */
|
|
3564
|
-
name: string;
|
|
3565
|
-
/** OAuth 2.0 token for the current user. */
|
|
3566
|
-
oauth_token?: string;
|
|
3567
|
-
/** Returns response with indentations and line breaks. */
|
|
3568
|
-
prettyPrint?: boolean;
|
|
3569
|
-
/** 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. */
|
|
3570
|
-
quotaUser?: string;
|
|
3571
|
-
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`. */
|
|
3572
|
-
updateMask?: string;
|
|
3573
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3574
|
-
upload_protocol?: string;
|
|
3575
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3576
|
-
uploadType?: string;
|
|
3577
|
-
},
|
|
3578
|
-
body: AutokeyConfig,
|
|
3579
|
-
): Request<AutokeyConfig>;
|
|
3580
3491
|
/** Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
|
|
3581
3492
|
updateKajPolicyConfig(request: {
|
|
3582
3493
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -73,7 +73,7 @@ After that you can use Cloud Key Management Service (KMS) API resources: <!-- TO
|
|
|
73
73
|
|
|
74
74
|
```typescript
|
|
75
75
|
/*
|
|
76
|
-
Returns the AutokeyConfig for a folder
|
|
76
|
+
Returns the AutokeyConfig for a folder.
|
|
77
77
|
*/
|
|
78
78
|
await gapi.client.cloudkms.folders.getAutokeyConfig({name: 'name'});
|
|
79
79
|
|
|
@@ -102,11 +102,6 @@ Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder
|
|
|
102
102
|
*/
|
|
103
103
|
await gapi.client.cloudkms.organizations.updateKajPolicyConfig({name: 'name'});
|
|
104
104
|
|
|
105
|
-
/*
|
|
106
|
-
Returns the AutokeyConfig for a folder or project.
|
|
107
|
-
*/
|
|
108
|
-
await gapi.client.cloudkms.projects.getAutokeyConfig({name: 'name'});
|
|
109
|
-
|
|
110
105
|
/*
|
|
111
106
|
Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
|
|
112
107
|
*/
|
|
@@ -133,11 +128,6 @@ await gapi.client.cloudkms.projects.showEffectiveKeyAccessJustificationsPolicyCo
|
|
|
133
128
|
{project: 'project'},
|
|
134
129
|
);
|
|
135
130
|
|
|
136
|
-
/*
|
|
137
|
-
Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A KeyHandle creation in the folder's descendant projects will use this configuration to determine where to create the resulting CryptoKey.
|
|
138
|
-
*/
|
|
139
|
-
await gapi.client.cloudkms.projects.updateAutokeyConfig({name: 'name'});
|
|
140
|
-
|
|
141
131
|
/*
|
|
142
132
|
Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
|
|
143
133
|
*/
|