# CopyBackupMetadata

- [JSON representation](https://docs.cloud.google.com/spanner/docs/reference/rest/v1/CopyBackupMetadata#SCHEMA_REPRESENTATION)

Metadata type for the operation returned by `https://docs.cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.backups/copy#google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup`.

| JSON representation |
|---|
| ``` { "name": string, "sourceBackup": string, "progress": { object (`https://docs.cloud.google.com/spanner/docs/reference/rest/v1/OperationProgress`) }, "cancelTime": string } ``` |

| Fields ||
|---|---|
| `name` | `string` The name of the backup being created through the copy operation. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`. |
| `sourceBackup` | `string` The name of the source backup that is being copied. Values are of the form `projects/<project>/instances/<instance>/backups/<backup>`. |
| `progress` | ``object (`https://docs.cloud.google.com/spanner/docs/reference/rest/v1/OperationProgress`)`` The progress of the `https://docs.cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.backups/copy#google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup` operation. |
| `cancelTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time at which cancellation of backups.copy operation was received. `https://docs.cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases.operations/cancel#google.longrunning.Operations.CancelOperation` starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use `https://docs.cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases.operations/get#google.longrunning.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 `https://docs.cloud.google.com/spanner/docs/reference/rest/v1/projects.instanceConfigs.operations#Operation.FIELDS.error` value with a `https://docs.cloud.google.com/spanner/docs/reference/rest/v1/Status#FIELDS.code` of 1, corresponding to `Code.CANCELLED`. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |