Skip to content

Commit fc2d912

Browse files
yoshi-automationfeywind
authored andcommitted
feat(cloudkms)!: update the API
BREAKING CHANGE: This release has breaking changes. #### cloudkms:v1 The following keys were deleted: - resources.projects.methods.getAutokeyConfig.description - resources.projects.methods.getAutokeyConfig.flatPath - resources.projects.methods.getAutokeyConfig.httpMethod - resources.projects.methods.getAutokeyConfig.id - resources.projects.methods.getAutokeyConfig.parameterOrder - resources.projects.methods.getAutokeyConfig.parameters.name.description - resources.projects.methods.getAutokeyConfig.parameters.name.location - resources.projects.methods.getAutokeyConfig.parameters.name.pattern - resources.projects.methods.getAutokeyConfig.parameters.name.required - resources.projects.methods.getAutokeyConfig.parameters.name.type - resources.projects.methods.getAutokeyConfig.path - resources.projects.methods.getAutokeyConfig.response.$ref - resources.projects.methods.getAutokeyConfig.scopes - resources.projects.methods.updateAutokeyConfig.description - resources.projects.methods.updateAutokeyConfig.flatPath - resources.projects.methods.updateAutokeyConfig.httpMethod - resources.projects.methods.updateAutokeyConfig.id - resources.projects.methods.updateAutokeyConfig.parameterOrder - resources.projects.methods.updateAutokeyConfig.parameters.name.description - resources.projects.methods.updateAutokeyConfig.parameters.name.location - resources.projects.methods.updateAutokeyConfig.parameters.name.pattern - resources.projects.methods.updateAutokeyConfig.parameters.name.required - resources.projects.methods.updateAutokeyConfig.parameters.name.type - resources.projects.methods.updateAutokeyConfig.parameters.updateMask.description - resources.projects.methods.updateAutokeyConfig.parameters.updateMask.format - resources.projects.methods.updateAutokeyConfig.parameters.updateMask.location - resources.projects.methods.updateAutokeyConfig.parameters.updateMask.type - resources.projects.methods.updateAutokeyConfig.path - resources.projects.methods.updateAutokeyConfig.request.$ref - resources.projects.methods.updateAutokeyConfig.response.$ref - resources.projects.methods.updateAutokeyConfig.scopes The following keys were changed: - resources.folders.methods.getAutokeyConfig.description - resources.folders.methods.getAutokeyConfig.parameters.name.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description
1 parent 9584f7f commit fc2d912

File tree

2 files changed

+9
-390
lines changed

2 files changed

+9
-390
lines changed

discovery/cloudkms-v1.json

Lines changed: 4 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"folders": {
204204
"methods": {
205205
"getAutokeyConfig": {
206-
"description": "Returns the AutokeyConfig for a folder or project.",
206+
"description": "Returns the AutokeyConfig for a folder.",
207207
"flatPath": "v1/folders/{foldersId}/autokeyConfig",
208208
"httpMethod": "GET",
209209
"id": "cloudkms.folders.getAutokeyConfig",
@@ -212,7 +212,7 @@
212212
],
213213
"parameters": {
214214
"name": {
215-
"description": "Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`.",
215+
"description": "Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`.",
216216
"location": "path",
217217
"pattern": "^folders/[^/]+/autokeyConfig$",
218218
"required": true,
@@ -393,32 +393,6 @@
393393
},
394394
"projects": {
395395
"methods": {
396-
"getAutokeyConfig": {
397-
"description": "Returns the AutokeyConfig for a folder or project.",
398-
"flatPath": "v1/projects/{projectsId}/autokeyConfig",
399-
"httpMethod": "GET",
400-
"id": "cloudkms.projects.getAutokeyConfig",
401-
"parameterOrder": [
402-
"name"
403-
],
404-
"parameters": {
405-
"name": {
406-
"description": "Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`.",
407-
"location": "path",
408-
"pattern": "^projects/[^/]+/autokeyConfig$",
409-
"required": true,
410-
"type": "string"
411-
}
412-
},
413-
"path": "v1/{+name}",
414-
"response": {
415-
"$ref": "AutokeyConfig"
416-
},
417-
"scopes": [
418-
"https://www.googleapis.com/auth/cloud-platform",
419-
"https://www.googleapis.com/auth/cloudkms"
420-
]
421-
},
422396
"getKajPolicyConfig": {
423397
"description": "Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.",
424398
"flatPath": "v1/projects/{projectsId}/kajPolicyConfig",
@@ -523,41 +497,6 @@
523497
"https://www.googleapis.com/auth/cloudkms"
524498
]
525499
},
526-
"updateAutokeyConfig": {
527-
"description": "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.",
528-
"flatPath": "v1/projects/{projectsId}/autokeyConfig",
529-
"httpMethod": "PATCH",
530-
"id": "cloudkms.projects.updateAutokeyConfig",
531-
"parameterOrder": [
532-
"name"
533-
],
534-
"parameters": {
535-
"name": {
536-
"description": "Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` `projects/{PROJECT_NUMBER}/autokeyConfig`.",
537-
"location": "path",
538-
"pattern": "^projects/[^/]+/autokeyConfig$",
539-
"required": true,
540-
"type": "string"
541-
},
542-
"updateMask": {
543-
"description": "Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`.",
544-
"format": "google-fieldmask",
545-
"location": "query",
546-
"type": "string"
547-
}
548-
},
549-
"path": "v1/{+name}",
550-
"request": {
551-
"$ref": "AutokeyConfig"
552-
},
553-
"response": {
554-
"$ref": "AutokeyConfig"
555-
},
556-
"scopes": [
557-
"https://www.googleapis.com/auth/cloud-platform",
558-
"https://www.googleapis.com/auth/cloudkms"
559-
]
560-
},
561500
"updateKajPolicyConfig": {
562501
"description": "Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project.",
563502
"flatPath": "v1/projects/{projectsId}/kajPolicyConfig",
@@ -688,7 +627,7 @@
688627
],
689628
"parameters": {
690629
"extraLocationTypes": {
691-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
630+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
692631
"location": "query",
693632
"repeated": true,
694633
"type": "string"
@@ -2496,7 +2435,7 @@
24962435
}
24972436
}
24982437
},
2499-
"revision": "20251016",
2438+
"revision": "20251023",
25002439
"rootUrl": "https://cloudkms.googleapis.com/",
25012440
"schemas": {
25022441
"AsymmetricDecryptRequest": {

0 commit comments

Comments
 (0)