GKEBackupBackup: real vs. mock
16 removals
Words removed | 31 |
Total words | 596 |
Words removed (%) | 5.20 |
326 lines
16 additions
Words added | 27 |
Total words | 592 |
Words added (%) | 4.56 |
325 lines
POST https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups?%24alt=json%3Benum-encoding%3Dint&backupId=gkebackupbackup-minimal-${uniqueId}
POST https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups?%24alt=json%3Benum-encoding%3Dint&backupId=gkebackupbackup-minimal-${uniqueId}
Content-Type: application/json
Content-Type: application/json
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
X-Goog-Request-Params: parent=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}
X-Goog-Request-Params: parent=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}
{
{
"description": "Initial description"
"description": "Initial description"
}
}
200 OK
200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json; charset=UTF-8
Server: ESF
Server: ESF
Vary: Origin
Vary: Origin
Vary: X-Origin
Vary: X-Origin
Vary: Referer
Vary: Referer
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
X-Xss-Protection: 0
{
{
"done": false,
"metadata": {
"metadata": {
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"apiVersion": "v1",
"apiVersion": "v1",
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"requestedCancellation": false,
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"verb": "create"
"verb": "create"
},
},
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
}
}
---
---
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID}
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID}
Content-Type: application/json
Content-Type: application/json
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID}
200 OK
200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json; charset=UTF-8
Server: ESF
Server: ESF
Vary: Origin
Vary: Origin
Vary: X-Origin
Vary: X-Origin
Vary: Referer
Vary: Referer
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
X-Xss-Protection: 0
{
{
"done": true,
"done": true,
"metadata": {
"metadata": {
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"apiVersion": "v1",
"apiVersion": "v1",
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"endTime": "2024-04-01T12:34:56.123456Z",
"endTime": "2024-04-01T12:34:56.123456Z",
"requestedCancellation": false,
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"verb": "create"
"verb": "create"
},
},
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
"response": {
"response": {
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.Backup",
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.Backup",
"allNamespaces": true,
"allNamespaces": true,
"clusterMetadata": {
"clusterMetadata": {
"cluster": "projects/${projectId}/locations/us-central1/clusters/containercluster-minimal-${uniqueId}"
"backupCrdVersions": {
"backupjobs.gkebackup.gke.io": "v1",
"protectedapplicationgroups.gkebackup.gke.io": "v1",
"protectedapplications.gkebackup.gke.io": "v1",
"restorejobs.gkebackup.gke.io": "v1"
},
"cluster": "projects/${projectId}/locations/us-central1/clusters/containercluster-minimal-${uniqueId}",
"gkeVersion": "v1.31.6-gke.1020000",
"k8sVersion": "1.31"
},
},
"containsSecrets": true,
"containsSecrets": true,
"containsVolumeData": true,
"containsVolumeData": true,
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"deleteLockExpireTime": "2025-04-03T23:43:12.610088552Z",
"deleteLockExpireTime": "2024-04-01T12:34:56.123456Z",
"description": "Initial description",
"description": "Initial description",
"etag": "abcdef0123A=",
"etag": "abcdef0123A=",
"manual": true,
"manual": true,
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"state": "CREATING",
"state": "IN_PROGRESS",
"stateReason": "BackupJob is being pushed to target cluster.",
"stateReason": "Starting to back up Kubernetes resources",
"uid": "111111111111111111111",
"uid": "111111111111111111111",
"updateTime": "2024-04-01T12:34:56.123456Z"
"updateTime": "2024-04-01T12:34:56.123456Z"
}
}
}
}
---
---
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}?%24alt=json%3Benum-encoding%3Dint
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}?%24alt=json%3Benum-encoding%3Dint
Content-Type: application/json
Content-Type: application/json
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}%2Fbackups%2Fgkebackupbackup-minimal-${uniqueId}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}%2Fbackups%2Fgkebackupbackup-minimal-${uniqueId}
200 OK
200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json; charset=UTF-8
Server: ESF
Server: ESF
Vary: Origin
Vary: Origin
Vary: X-Origin
Vary: X-Origin
Vary: Referer
Vary: Referer
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
X-Xss-Protection: 0
{
{
"allNamespaces": true,
"allNamespaces": true,
"clusterMetadata": {
"clusterMetadata": {
"backupCrdVersions": {
"backupCrdVersions": {
"backupjobs.gkebackup.gke.io": "v1",
"backupjobs.gkebackup.gke.io": "v1",
"protectedapplicationgroups.gkebackup.gke.io": "v1",
"protectedapplicationgroups.gkebackup.gke.io": "v1",
"protectedapplications.gkebackup.gke.io": "v1",
"protectedapplications.gkebackup.gke.io": "v1",
"restorejobs.gkebackup.gke.io": "v1"
"restorejobs.gkebackup.gke.io": "v1"
},
},
"cluster": "projects/${projectId}/locations/us-central1/clusters/containercluster-minimal-${uniqueId}",
"cluster": "projects/${projectId}/locations/us-central1/clusters/containercluster-minimal-${uniqueId}",
"gkeVersion": "v1.31.6-gke.1020000",
"gkeVersion": "v1.31.6-gke.1020000",
"k8sVersion": "1.31"
"k8sVersion": "1.31"
},
},
"containsSecrets": true,
"containsSecrets": true,
"containsVolumeData": true,
"containsVolumeData": true,
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"deleteLockExpireTime": "2025-04-03T23:43:12.610088552Z",
"deleteLockExpireTime": "2024-04-01T12:34:56.123456Z",
"description": "Initial description",
"description": "Initial description",
"etag": "abcdef0123A=",
"etag": "abcdef0123A=",
"manual": true,
"manual": true,
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"state": 2,
"state": 2,
"stateReason": "Starting to back up Kubernetes resources",
"stateReason": "Starting to back up Kubernetes resources",
"uid": "111111111111111111111",
"uid": "111111111111111111111",
"updateTime": "2024-04-01T12:34:56.123456Z"
"updateTime": "2024-04-01T12:34:56.123456Z"
}
}
---
---
PATCH https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}?%24alt=json%3Benum-encoding%3Dint&updateMask=description
PATCH https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}?%24alt=json%3Benum-encoding%3Dint&updateMask=description
Content-Type: application/json
Content-Type: application/json
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
X-Goog-Request-Params: backup.name=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}%2Fbackups%2Fgkebackupbackup-minimal-${uniqueId}
X-Goog-Request-Params: backup.name=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}%2Fbackups%2Fgkebackupbackup-minimal-${uniqueId}
{
{
"description": "Updated description",
"description": "Updated description",
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}"
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}"
}
}
200 OK
200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json; charset=UTF-8
Server: ESF
Server: ESF
Vary: Origin
Vary: Origin
Vary: X-Origin
Vary: X-Origin
Vary: Referer
Vary: Referer
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
X-Xss-Protection: 0
{
{
"done": false,
"metadata": {
"metadata": {
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"apiVersion": "v1",
"apiVersion": "v1",
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"requestedCancellation": false,
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"verb": "update"
"verb": "update"
},
},
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
}
}
---
---
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID}
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID}
Content-Type: application/json
Content-Type: application/json
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID}
200 OK
200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json; charset=UTF-8
Server: ESF
Server: ESF
Vary: Origin
Vary: Origin
Vary: X-Origin
Vary: X-Origin
Vary: Referer
Vary: Referer
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
X-Xss-Protection: 0
{
{
"done": true,
"done": true,
"metadata": {
"metadata": {
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"apiVersion": "v1",
"apiVersion": "v1",
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"endTime": "2024-04-01T12:34:56.123456Z",
"endTime": "2024-04-01T12:34:56.123456Z",
"requestedCancellation": false,
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"verb": "update"
"verb": "update"
},
},
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
"response": {
"response": {
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.Backup",
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.Backup",
"allNamespaces": true,
"allNamespaces": true,
"clusterMetadata": {
"clusterMetadata": {
"backupCrdVersions": {
"backupCrdVersions": {
"backupjobs.gkebackup.gke.io": "v1",
"backupjobs.gkebackup.gke.io": "v1",
"protectedapplicationgroups.gkebackup.gke.io": "v1",
"protectedapplicationgroups.gkebackup.gke.io": "v1",
"protectedapplications.gkebackup.gke.io": "v1",
"protectedapplications.gkebackup.gke.io": "v1",
"restorejobs.gkebackup.gke.io": "v1"
"restorejobs.gkebackup.gke.io": "v1"
},
},
"cluster": "projects/${projectId}/locations/us-central1/clusters/containercluster-minimal-${uniqueId}",
"cluster": "projects/${projectId}/locations/us-central1/clusters/containercluster-minimal-${uniqueId}",
"gkeVersion": "v1.31.6-gke.1020000",
"gkeVersion": "v1.31.6-gke.1020000",
"k8sVersion": "1.31"
"k8sVersion": "1.31"
},
},
"containsSecrets": true,
"containsSecrets": true,
"containsVolumeData": true,
"containsVolumeData": true,
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"deleteLockExpireTime": "2025-04-03T23:43:12.610088552Z",
"deleteLockExpireTime": "2024-04-01T12:34:56.123456Z",
"description": "Updated description",
"description": "Updated description",
"etag": "abcdef0123A=",
"etag": "abcdef0123A=",
"manual": true,
"manual": true,
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"state": "IN_PROGRESS",
"state": "IN_PROGRESS",
"stateReason": "Starting to back up Kubernetes resources",
"stateReason": "Starting to back up Kubernetes resources",
"uid": "111111111111111111111",
"uid": "111111111111111111111",
"updateTime": "2024-04-01T12:34:56.123456Z"
"updateTime": "2024-04-01T12:34:56.123456Z"
}
}
}
}
---
---
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}?%24alt=json%3Benum-encoding%3Dint
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}?%24alt=json%3Benum-encoding%3Dint
Content-Type: application/json
Content-Type: application/json
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}%2Fbackups%2Fgkebackupbackup-minimal-${uniqueId}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}%2Fbackups%2Fgkebackupbackup-minimal-${uniqueId}
200 OK
200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json; charset=UTF-8
Server: ESF
Server: ESF
Vary: Origin
Vary: Origin
Vary: X-Origin
Vary: X-Origin
Vary: Referer
Vary: Referer
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
X-Xss-Protection: 0
{
{
"allNamespaces": true,
"allNamespaces": true,
"clusterMetadata": {
"clusterMetadata": {
"backupCrdVersions": {
"backupCrdVersions": {
"backupjobs.gkebackup.gke.io": "v1",
"backupjobs.gkebackup.gke.io": "v1",
"protectedapplicationgroups.gkebackup.gke.io": "v1",
"protectedapplicationgroups.gkebackup.gke.io": "v1",
"protectedapplications.gkebackup.gke.io": "v1",
"protectedapplications.gkebackup.gke.io": "v1",
"restorejobs.gkebackup.gke.io": "v1"
"restorejobs.gkebackup.gke.io": "v1"
},
},
"cluster": "projects/${projectId}/locations/us-central1/clusters/containercluster-minimal-${uniqueId}",
"cluster": "projects/${projectId}/locations/us-central1/clusters/containercluster-minimal-${uniqueId}",
"gkeVersion": "v1.31.6-gke.1020000",
"gkeVersion": "v1.31.6-gke.1020000",
"k8sVersion": "1.31"
"k8sVersion": "1.31"
},
},
"containsSecrets": true,
"containsSecrets": true,
"containsVolumeData": true,
"containsVolumeData": true,
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"deleteLockExpireTime": "2025-04-03T23:43:12.610088552Z",
"deleteLockExpireTime": "2024-04-01T12:34:56.123456Z",
"description": "Updated description",
"description": "Updated description",
"etag": "abcdef0123A=",
"etag": "abcdef0123A=",
"manual": true,
"manual": true,
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"name": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"state": 2,
"state": 2,
"stateReason": "Starting to back up Kubernetes resources",
"stateReason": "Starting to back up Kubernetes resources",
"uid": "111111111111111111111",
"uid": "111111111111111111111",
"updateTime": "2024-04-01T12:34:56.123456Z"
"updateTime": "2024-04-01T12:34:56.123456Z"
}
}
---
---
DELETE https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}?%24alt=json%3Benum-encoding%3Dint
DELETE https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}?%24alt=json%3Benum-encoding%3Dint
Content-Type: application/json
Content-Type: application/json
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}%2Fbackups%2Fgkebackupbackup-minimal-${uniqueId}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2FbackupPlans%2Fgkebackupbackupplan-minimal-${uniqueId}%2Fbackups%2Fgkebackupbackup-minimal-${uniqueId}
200 OK
200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json; charset=UTF-8
Server: ESF
Server: ESF
Vary: Origin
Vary: Origin
Vary: X-Origin
Vary: X-Origin
Vary: Referer
Vary: Referer
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
X-Xss-Protection: 0
{
{
"done": false,
"metadata": {
"metadata": {
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"apiVersion": "v1",
"apiVersion": "v1",
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"requestedCancellation": false,
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"verb": "delete"
"verb": "delete"
},
},
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
}
}
---
---
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID}
GET https://gkebackup.googleapis.com/v1/projects/${projectId}/locations/us-central1/operations/${operationID}
Content-Type: application/json
Content-Type: application/json
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
User-Agent: kcc/${kccVersion} (+https://github.com/GoogleCloudPlatform/k8s-config-connector) kcc/controller-manager/${kccVersion}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID}
X-Goog-Request-Params: name=projects%2F${projectId}%2Flocations%2Fus-central1%2Foperations%2F${operationID}
200 OK
200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json; charset=UTF-8
Server: ESF
Server: ESF
Vary: Origin
Vary: Origin
Vary: X-Origin
Vary: X-Origin
Vary: Referer
Vary: Referer
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
X-Xss-Protection: 0
{
{
"done": true,
"done": true,
"metadata": {
"metadata": {
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"@type": "type.googleapis.com/google.cloud.gkebackup.v1.OperationMetadata",
"apiVersion": "v1",
"apiVersion": "v1",
"createTime": "2024-04-01T12:34:56.123456Z",
"createTime": "2024-04-01T12:34:56.123456Z",
"endTime": "2024-04-01T12:34:56.123456Z",
"endTime": "2024-04-01T12:34:56.123456Z",
"requestedCancellation": false,
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"target": "projects/${projectId}/locations/us-central1/backupPlans/gkebackupbackupplan-minimal-${uniqueId}/backups/gkebackupbackup-minimal-${uniqueId}",
"verb": "delete"
"verb": "delete"
},
},
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
"name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
"response": {
"response": {
"@type": "type.googleapis.com/google.protobuf.Empty"
"@type": "type.googleapis.com/google.protobuf.Empty"
}
}
}
}