@maxim_mazurok/gapi.client.cloudkms-v1 0.1.20251231 → 0.1.20260108
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 +93 -4
- package/package.json +1 -1
- package/readme.md +12 -2
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: 20260108
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -807,7 +807,7 @@ declare namespace gapi.client {
|
|
|
807
807
|
pem?: string;
|
|
808
808
|
}
|
|
809
809
|
interface FoldersResource {
|
|
810
|
-
/** Returns the AutokeyConfig for a folder. */
|
|
810
|
+
/** Returns the AutokeyConfig for a folder or project. */
|
|
811
811
|
getAutokeyConfig(request?: {
|
|
812
812
|
/** V1 error format. */
|
|
813
813
|
'$.xgafv'?: string;
|
|
@@ -821,7 +821,7 @@ declare namespace gapi.client {
|
|
|
821
821
|
fields?: string;
|
|
822
822
|
/** 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. */
|
|
823
823
|
key?: string;
|
|
824
|
-
/** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`. */
|
|
824
|
+
/** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
|
|
825
825
|
name: string;
|
|
826
826
|
/** OAuth 2.0 token for the current user. */
|
|
827
827
|
oauth_token?: string;
|
|
@@ -861,7 +861,7 @@ declare namespace gapi.client {
|
|
|
861
861
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
862
862
|
uploadType?: string;
|
|
863
863
|
}): Request<KeyAccessJustificationsPolicyConfig>;
|
|
864
|
-
/** 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. */
|
|
864
|
+
/** Updates the AutokeyConfig for a folder or a project. 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. */
|
|
865
865
|
updateAutokeyConfig(request: {
|
|
866
866
|
/** V1 error format. */
|
|
867
867
|
'$.xgafv'?: string;
|
|
@@ -3928,6 +3928,33 @@ declare namespace gapi.client {
|
|
|
3928
3928
|
singleTenantHsmInstances: SingleTenantHsmInstancesResource;
|
|
3929
3929
|
}
|
|
3930
3930
|
interface ProjectsResource {
|
|
3931
|
+
/** Returns the AutokeyConfig for a folder or project. */
|
|
3932
|
+
getAutokeyConfig(request?: {
|
|
3933
|
+
/** V1 error format. */
|
|
3934
|
+
'$.xgafv'?: string;
|
|
3935
|
+
/** OAuth access token. */
|
|
3936
|
+
access_token?: string;
|
|
3937
|
+
/** Data format for response. */
|
|
3938
|
+
alt?: string;
|
|
3939
|
+
/** JSONP */
|
|
3940
|
+
callback?: string;
|
|
3941
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3942
|
+
fields?: string;
|
|
3943
|
+
/** 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. */
|
|
3944
|
+
key?: string;
|
|
3945
|
+
/** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
|
|
3946
|
+
name: string;
|
|
3947
|
+
/** OAuth 2.0 token for the current user. */
|
|
3948
|
+
oauth_token?: string;
|
|
3949
|
+
/** Returns response with indentations and line breaks. */
|
|
3950
|
+
prettyPrint?: boolean;
|
|
3951
|
+
/** 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. */
|
|
3952
|
+
quotaUser?: string;
|
|
3953
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3954
|
+
upload_protocol?: string;
|
|
3955
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3956
|
+
uploadType?: string;
|
|
3957
|
+
}): Request<AutokeyConfig>;
|
|
3931
3958
|
/** Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
|
|
3932
3959
|
getKajPolicyConfig(request?: {
|
|
3933
3960
|
/** V1 error format. */
|
|
@@ -4036,6 +4063,68 @@ declare namespace gapi.client {
|
|
|
4036
4063
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4037
4064
|
uploadType?: string;
|
|
4038
4065
|
}): Request<ShowEffectiveKeyAccessJustificationsPolicyConfigResponse>;
|
|
4066
|
+
/** Updates the AutokeyConfig for a folder or a project. 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. */
|
|
4067
|
+
updateAutokeyConfig(request: {
|
|
4068
|
+
/** V1 error format. */
|
|
4069
|
+
'$.xgafv'?: string;
|
|
4070
|
+
/** OAuth access token. */
|
|
4071
|
+
access_token?: string;
|
|
4072
|
+
/** Data format for response. */
|
|
4073
|
+
alt?: string;
|
|
4074
|
+
/** JSONP */
|
|
4075
|
+
callback?: string;
|
|
4076
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4077
|
+
fields?: string;
|
|
4078
|
+
/** 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. */
|
|
4079
|
+
key?: string;
|
|
4080
|
+
/** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` */
|
|
4081
|
+
name: string;
|
|
4082
|
+
/** OAuth 2.0 token for the current user. */
|
|
4083
|
+
oauth_token?: string;
|
|
4084
|
+
/** Returns response with indentations and line breaks. */
|
|
4085
|
+
prettyPrint?: boolean;
|
|
4086
|
+
/** 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. */
|
|
4087
|
+
quotaUser?: string;
|
|
4088
|
+
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`. */
|
|
4089
|
+
updateMask?: string;
|
|
4090
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4091
|
+
upload_protocol?: string;
|
|
4092
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4093
|
+
uploadType?: string;
|
|
4094
|
+
/** Request body */
|
|
4095
|
+
resource: AutokeyConfig;
|
|
4096
|
+
}): Request<AutokeyConfig>;
|
|
4097
|
+
updateAutokeyConfig(
|
|
4098
|
+
request: {
|
|
4099
|
+
/** V1 error format. */
|
|
4100
|
+
'$.xgafv'?: string;
|
|
4101
|
+
/** OAuth access token. */
|
|
4102
|
+
access_token?: string;
|
|
4103
|
+
/** Data format for response. */
|
|
4104
|
+
alt?: string;
|
|
4105
|
+
/** JSONP */
|
|
4106
|
+
callback?: string;
|
|
4107
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4108
|
+
fields?: string;
|
|
4109
|
+
/** 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. */
|
|
4110
|
+
key?: string;
|
|
4111
|
+
/** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` */
|
|
4112
|
+
name: string;
|
|
4113
|
+
/** OAuth 2.0 token for the current user. */
|
|
4114
|
+
oauth_token?: string;
|
|
4115
|
+
/** Returns response with indentations and line breaks. */
|
|
4116
|
+
prettyPrint?: boolean;
|
|
4117
|
+
/** 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. */
|
|
4118
|
+
quotaUser?: string;
|
|
4119
|
+
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`. */
|
|
4120
|
+
updateMask?: string;
|
|
4121
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4122
|
+
upload_protocol?: string;
|
|
4123
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4124
|
+
uploadType?: string;
|
|
4125
|
+
},
|
|
4126
|
+
body: AutokeyConfig,
|
|
4127
|
+
): Request<AutokeyConfig>;
|
|
4039
4128
|
/** Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
|
|
4040
4129
|
updateKajPolicyConfig(request: {
|
|
4041
4130
|
/** 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 or project.
|
|
77
77
|
*/
|
|
78
78
|
await gapi.client.cloudkms.folders.getAutokeyConfig({name: 'name'});
|
|
79
79
|
|
|
@@ -83,7 +83,7 @@ Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, o
|
|
|
83
83
|
await gapi.client.cloudkms.folders.getKajPolicyConfig({name: 'name'});
|
|
84
84
|
|
|
85
85
|
/*
|
|
86
|
-
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.
|
|
86
|
+
Updates the AutokeyConfig for a folder or a project. 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.
|
|
87
87
|
*/
|
|
88
88
|
await gapi.client.cloudkms.folders.updateAutokeyConfig({name: 'name'});
|
|
89
89
|
|
|
@@ -102,6 +102,11 @@ 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
|
+
|
|
105
110
|
/*
|
|
106
111
|
Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
|
|
107
112
|
*/
|
|
@@ -128,6 +133,11 @@ await gapi.client.cloudkms.projects.showEffectiveKeyAccessJustificationsPolicyCo
|
|
|
128
133
|
{project: 'project'},
|
|
129
134
|
);
|
|
130
135
|
|
|
136
|
+
/*
|
|
137
|
+
Updates the AutokeyConfig for a folder or a project. 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
|
+
|
|
131
141
|
/*
|
|
132
142
|
Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.
|
|
133
143
|
*/
|