{ "uuid": "a07ba5b5-2aa6-4b06-8b7e-79233e525b3e", "lastMigration": 29, "name": "Backup for GKE API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "46e81691-cc91-4905-9366-3552badb0b3c", "documentation": "Deletes an existing Restore.", "method": "delete", "endpoint": "v1/:name", "responses": [ { "uuid": "230ca6b4-24b0-4b55-990b-b132dbf5bad1", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "76a97b75-58d9-419e-b576-b1a92437c9dc", "documentation": "Retrieve the details of a single VolumeRestore.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "33624e69-21d1-4917-917d-f21907e468e4", "body": "{\n \"completeTime\": \"\",\n \"createTime\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'RESTORING' 'SUCCEEDED' 'FAILED' 'DELETING')}}\",\n \"stateMessage\": \"\",\n \"targetPvc\": {\n \"name\": \"\",\n \"namespace\": \"\"\n },\n \"uid\": \"\",\n \"updateTime\": \"\",\n \"volumeBackup\": \"\",\n \"volumeHandle\": \"\",\n \"volumeType\": \"{{oneOf (array 'VOLUME_TYPE_UNSPECIFIED' 'GCE_PERSISTENT_DISK')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "72c636e2-bf5d-48a9-a2f1-0dab449e50f2", "documentation": "Update a Restore.", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "d340f213-abeb-45b0-b5a9-fdc8f4878df8", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "35f2d64d-4471-4c98-867a-b304681b7907", "documentation": "Lists information about the supported locations for this service.", "method": "get", "endpoint": "v1/:name/locations", "responses": [ { "uuid": "7fdfa50b-de47-4ca0-87f4-6688b2cd18ba", "body": "{\n \"locations\": [\n {\n \"displayName\": \"\",\n \"labels\": {},\n \"locationId\": \"\",\n \"metadata\": {},\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b55d614f-76fa-4c8c-a0e8-215ae02168ef", "documentation": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", "method": "delete", "endpoint": "v1/:name/operations", "responses": [ { "uuid": "fe8fd1bd-b3ab-408b-90c4-af4497e79e16", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6f7b7e36-c5d5-4c16-9c09-7fa74c9defec", "documentation": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", "method": "get", "endpoint": "v1/:name/operations", "responses": [ { "uuid": "ef492954-6e5f-4b9b-bbce-aa50777797cf", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2589c2c6-043e-468f-807a-c9241f722258", "documentation": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", "method": "post", "endpoint": "v1/:name:cancel", "responses": [ { "uuid": "24be1ebe-30c8-4a04-8d33-b4653ca879cd", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e9524b16-f0da-4544-b12e-099f258bbaca", "documentation": "Lists BackupPlans in a given location.", "method": "get", "endpoint": "v1/:parent/backupPlans", "responses": [ { "uuid": "2c223096-413e-4366-b2f2-d80ca1a620ae", "body": "{\n \"backupPlans\": [\n {\n \"backupConfig\": {\n \"allNamespaces\": {{faker 'datatype.boolean'}},\n \"encryptionKey\": {\n \"gcpKmsEncryptionKey\": \"\"\n },\n \"includeSecrets\": {{faker 'datatype.boolean'}},\n \"includeVolumeData\": {{faker 'datatype.boolean'}},\n \"selectedApplications\": {\n \"namespacedNames\": [\n {\n \"name\": \"\",\n \"namespace\": \"\"\n }\n ]\n },\n \"selectedNamespaces\": {\n \"namespaces\": [\n \"\"\n ]\n }\n },\n \"backupSchedule\": {\n \"cronSchedule\": \"\",\n \"paused\": {{faker 'datatype.boolean'}}\n },\n \"cluster\": \"\",\n \"createTime\": \"\",\n \"deactivated\": {{faker 'datatype.boolean'}},\n \"description\": \"\",\n \"etag\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"protectedPodCount\": {{faker 'number.int' max=99999}},\n \"retentionPolicy\": {\n \"backupDeleteLockDays\": {{faker 'number.int' max=99999}},\n \"backupRetainDays\": {{faker 'number.int' max=99999}},\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"uid\": \"\",\n \"updateTime\": \"\"\n }\n ],\n \"nextPageToken\": \"\",\n \"unreachable\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "956cb58a-006b-43ef-8883-ed5f35063a4f", "documentation": "Creates a new BackupPlan in a given location.", "method": "post", "endpoint": "v1/:parent/backupPlans", "responses": [ { "uuid": "7607fb51-e931-49ca-b8e4-59824741e9ac", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "183e19ca-ef1b-4df0-a3a1-22a0dad66f90", "documentation": "Lists the Backups for a given BackupPlan.", "method": "get", "endpoint": "v1/:parent/backups", "responses": [ { "uuid": "ca0ab695-11da-46d8-a028-0cadfedaa417", "body": "{\n \"backups\": [\n {\n \"allNamespaces\": {{faker 'datatype.boolean'}},\n \"clusterMetadata\": {\n \"anthosVersion\": \"\",\n \"backupCrdVersions\": {},\n \"cluster\": \"\",\n \"gkeVersion\": \"\",\n \"k8sVersion\": \"\"\n },\n \"completeTime\": \"\",\n \"configBackupSizeBytes\": \"\",\n \"containsSecrets\": {{faker 'datatype.boolean'}},\n \"containsVolumeData\": {{faker 'datatype.boolean'}},\n \"createTime\": \"\",\n \"deleteLockDays\": {{faker 'number.int' max=99999}},\n \"deleteLockExpireTime\": \"\",\n \"description\": \"\",\n \"encryptionKey\": {\n \"gcpKmsEncryptionKey\": \"\"\n },\n \"etag\": \"\",\n \"labels\": {},\n \"manual\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"podCount\": {{faker 'number.int' max=99999}},\n \"resourceCount\": {{faker 'number.int' max=99999}},\n \"retainDays\": {{faker 'number.int' max=99999}},\n \"retainExpireTime\": \"\",\n \"selectedApplications\": {\n \"namespacedNames\": [\n {\n \"name\": \"\",\n \"namespace\": \"\"\n }\n ]\n },\n \"selectedNamespaces\": {\n \"namespaces\": [\n \"\"\n ]\n },\n \"sizeBytes\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'IN_PROGRESS' 'SUCCEEDED' 'FAILED' 'DELETING')}}\",\n \"stateReason\": \"\",\n \"uid\": \"\",\n \"updateTime\": \"\",\n \"volumeCount\": {{faker 'number.int' max=99999}}\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "812aa938-9319-4a8e-b1ca-2055588755e7", "documentation": "Creates a Backup for the given BackupPlan.", "method": "post", "endpoint": "v1/:parent/backups", "responses": [ { "uuid": "79f0459a-f22e-428a-acce-5009c3343172", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d8ff1790-fe07-45c9-b38a-9fdc42b60f5d", "documentation": "Lists RestorePlans in a given location.", "method": "get", "endpoint": "v1/:parent/restorePlans", "responses": [ { "uuid": "1fc8bf5e-826c-4296-8cdd-fba720e5ed0e", "body": "{\n \"nextPageToken\": \"\",\n \"restorePlans\": [\n {\n \"backupPlan\": \"\",\n \"cluster\": \"\",\n \"createTime\": \"\",\n \"description\": \"\",\n \"etag\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"restoreConfig\": {\n \"allNamespaces\": {{faker 'datatype.boolean'}},\n \"clusterResourceConflictPolicy\": \"{{oneOf (array 'CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED' 'USE_EXISTING_VERSION' 'USE_BACKUP_VERSION')}}\",\n \"clusterResourceRestoreScope\": {\n \"selectedGroupKinds\": [\n {\n \"resourceGroup\": \"\",\n \"resourceKind\": \"\"\n }\n ]\n },\n \"namespacedResourceRestoreMode\": \"{{oneOf (array 'NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED' 'DELETE_AND_RESTORE' 'FAIL_ON_CONFLICT')}}\",\n \"selectedApplications\": {\n \"namespacedNames\": [\n {\n \"name\": \"\",\n \"namespace\": \"\"\n }\n ]\n },\n \"selectedNamespaces\": {\n \"namespaces\": [\n \"\"\n ]\n },\n \"substitutionRules\": [\n {\n \"newValue\": \"\",\n \"originalValuePattern\": \"\",\n \"targetGroupKinds\": [\n {\n \"resourceGroup\": \"\",\n \"resourceKind\": \"\"\n }\n ],\n \"targetJsonPath\": \"\",\n \"targetNamespaces\": [\n \"\"\n ]\n }\n ],\n \"volumeDataRestorePolicy\": \"{{oneOf (array 'VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED' 'RESTORE_VOLUME_DATA_FROM_BACKUP' 'REUSE_VOLUME_HANDLE_FROM_BACKUP' 'NO_VOLUME_DATA_RESTORATION')}}\"\n },\n \"uid\": \"\",\n \"updateTime\": \"\"\n }\n ],\n \"unreachable\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "41961466-2916-4571-aa09-217c5fc79fad", "documentation": "Creates a new RestorePlan in a given location.", "method": "post", "endpoint": "v1/:parent/restorePlans", "responses": [ { "uuid": "fa063a7c-5697-4b8c-af1e-b13cdef88b01", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9c0c7a29-6b2e-4f0a-a262-5ba46d449a04", "documentation": "Lists the Restores for a given RestorePlan.", "method": "get", "endpoint": "v1/:parent/restores", "responses": [ { "uuid": "87fc1765-88e2-4294-a648-5dcf5e10164b", "body": "{\n \"nextPageToken\": \"\",\n \"restores\": [\n {\n \"backup\": \"\",\n \"cluster\": \"\",\n \"completeTime\": \"\",\n \"createTime\": \"\",\n \"description\": \"\",\n \"etag\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"resourcesExcludedCount\": {{faker 'number.int' max=99999}},\n \"resourcesFailedCount\": {{faker 'number.int' max=99999}},\n \"resourcesRestoredCount\": {{faker 'number.int' max=99999}},\n \"restoreConfig\": {\n \"allNamespaces\": {{faker 'datatype.boolean'}},\n \"clusterResourceConflictPolicy\": \"{{oneOf (array 'CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED' 'USE_EXISTING_VERSION' 'USE_BACKUP_VERSION')}}\",\n \"clusterResourceRestoreScope\": {\n \"selectedGroupKinds\": [\n {\n \"resourceGroup\": \"\",\n \"resourceKind\": \"\"\n }\n ]\n },\n \"namespacedResourceRestoreMode\": \"{{oneOf (array 'NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED' 'DELETE_AND_RESTORE' 'FAIL_ON_CONFLICT')}}\",\n \"selectedApplications\": {\n \"namespacedNames\": [\n {\n \"name\": \"\",\n \"namespace\": \"\"\n }\n ]\n },\n \"selectedNamespaces\": {\n \"namespaces\": [\n \"\"\n ]\n },\n \"substitutionRules\": [\n {\n \"newValue\": \"\",\n \"originalValuePattern\": \"\",\n \"targetGroupKinds\": [\n {\n \"resourceGroup\": \"\",\n \"resourceKind\": \"\"\n }\n ],\n \"targetJsonPath\": \"\",\n \"targetNamespaces\": [\n \"\"\n ]\n }\n ],\n \"volumeDataRestorePolicy\": \"{{oneOf (array 'VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED' 'RESTORE_VOLUME_DATA_FROM_BACKUP' 'REUSE_VOLUME_HANDLE_FROM_BACKUP' 'NO_VOLUME_DATA_RESTORATION')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'IN_PROGRESS' 'SUCCEEDED' 'FAILED' 'DELETING')}}\",\n \"stateReason\": \"\",\n \"uid\": \"\",\n \"updateTime\": \"\",\n \"volumesRestoredCount\": {{faker 'number.int' max=99999}}\n }\n ],\n \"unreachable\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "71d50971-d0fc-4cc9-af1b-894898869e1e", "documentation": "Creates a new Restore for the given RestorePlan.", "method": "post", "endpoint": "v1/:parent/restores", "responses": [ { "uuid": "0fe82f7e-693b-44af-811a-fb2f09df6591", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d14a189a-1a4f-4c3a-82b8-ce6336d84a75", "documentation": "Lists the VolumeBackups for a given Backup.", "method": "get", "endpoint": "v1/:parent/volumeBackups", "responses": [ { "uuid": "2eb20c47-602d-4d1e-8ece-be86d62ed62f", "body": "{\n \"nextPageToken\": \"\",\n \"volumeBackups\": [\n {\n \"completeTime\": \"\",\n \"createTime\": \"\",\n \"diskSizeBytes\": \"\",\n \"etag\": \"\",\n \"format\": \"{{oneOf (array 'VOLUME_BACKUP_FORMAT_UNSPECIFIED' 'GCE_PERSISTENT_DISK')}}\",\n \"name\": \"\",\n \"sourcePvc\": {\n \"name\": \"\",\n \"namespace\": \"\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'SNAPSHOTTING' 'UPLOADING' 'SUCCEEDED' 'FAILED' 'DELETING')}}\",\n \"stateMessage\": \"\",\n \"storageBytes\": \"\",\n \"uid\": \"\",\n \"updateTime\": \"\",\n \"volumeBackupHandle\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "da756088-beed-4745-aefd-cd5823d898a2", "documentation": "Lists the VolumeRestores for a given Restore.", "method": "get", "endpoint": "v1/:parent/volumeRestores", "responses": [ { "uuid": "0051ad08-058b-4fd0-ba9a-ebe3d4f2c803", "body": "{\n \"nextPageToken\": \"\",\n \"volumeRestores\": [\n {\n \"completeTime\": \"\",\n \"createTime\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'RESTORING' 'SUCCEEDED' 'FAILED' 'DELETING')}}\",\n \"stateMessage\": \"\",\n \"targetPvc\": {\n \"name\": \"\",\n \"namespace\": \"\"\n },\n \"uid\": \"\",\n \"updateTime\": \"\",\n \"volumeBackup\": \"\",\n \"volumeHandle\": \"\",\n \"volumeType\": \"{{oneOf (array 'VOLUME_TYPE_UNSPECIFIED' 'GCE_PERSISTENT_DISK')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3f81838a-6e5f-41db-a2b1-b9f0b8245b1b", "documentation": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", "method": "get", "endpoint": "v1/:resource:getIamPolicy", "responses": [ { "uuid": "7b0db10d-5500-4b59-ad7e-c866ff53570b", "body": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ef332127-599f-4611-9dc8-9e92f8b152f9", "documentation": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", "method": "post", "endpoint": "v1/:resource:setIamPolicy", "responses": [ { "uuid": "370cfd8d-2fd5-4085-adfb-c2591b667351", "body": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "be3fd472-3578-4c6a-a2d0-c570e10eff44", "documentation": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", "method": "post", "endpoint": "v1/:resource:testIamPermissions", "responses": [ { "uuid": "70b43617-ddad-4e3b-b829-34e7d780ef85", "body": "{\n \"permissions\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "46e81691-cc91-4905-9366-3552badb0b3c" }, { "type": "route", "uuid": "76a97b75-58d9-419e-b576-b1a92437c9dc" }, { "type": "route", "uuid": "72c636e2-bf5d-48a9-a2f1-0dab449e50f2" }, { "type": "route", "uuid": "35f2d64d-4471-4c98-867a-b304681b7907" }, { "type": "route", "uuid": "b55d614f-76fa-4c8c-a0e8-215ae02168ef" }, { "type": "route", "uuid": "6f7b7e36-c5d5-4c16-9c09-7fa74c9defec" }, { "type": "route", "uuid": "2589c2c6-043e-468f-807a-c9241f722258" }, { "type": "route", "uuid": "e9524b16-f0da-4544-b12e-099f258bbaca" }, { "type": "route", "uuid": "956cb58a-006b-43ef-8883-ed5f35063a4f" }, { "type": "route", "uuid": "183e19ca-ef1b-4df0-a3a1-22a0dad66f90" }, { "type": "route", "uuid": "812aa938-9319-4a8e-b1ca-2055588755e7" }, { "type": "route", "uuid": "d8ff1790-fe07-45c9-b38a-9fdc42b60f5d" }, { "type": "route", "uuid": "41961466-2916-4571-aa09-217c5fc79fad" }, { "type": "route", "uuid": "9c0c7a29-6b2e-4f0a-a262-5ba46d449a04" }, { "type": "route", "uuid": "71d50971-d0fc-4cc9-af1b-894898869e1e" }, { "type": "route", "uuid": "d14a189a-1a4f-4c3a-82b8-ce6336d84a75" }, { "type": "route", "uuid": "da756088-beed-4745-aefd-cd5823d898a2" }, { "type": "route", "uuid": "3f81838a-6e5f-41db-a2b1-b9f0b8245b1b" }, { "type": "route", "uuid": "ef332127-599f-4611-9dc8-9e92f8b152f9" }, { "type": "route", "uuid": "be3fd472-3578-4c6a-a2d0-c570e10eff44" } ] }