- 3.50.0 (latest)
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.1
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.1
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.1
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.2
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.1
- 3.14.1
- 3.13.0
- 3.12.1
- 3.11.1
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.1.1
- 2.0.0
- 1.19.3
- 1.18.0
- 1.17.1
- 1.16.0
- 1.15.1
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
RestoreDatabaseMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Metadata type for the long-running operation returned by
RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
.
Attributes | |
---|---|
Name | Description |
name |
str
Name of the database being created and restored to. |
source_type |
google.cloud.spanner_admin_database_v1.types.RestoreSourceType
The type of the restore source. |
backup_info |
google.cloud.spanner_admin_database_v1.types.BackupInfo
Information about the backup used to restore the database. |
progress |
google.cloud.spanner_admin_database_v1.types.OperationProgress
The progress of the RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]
operation.
|
cancel_time |
google.protobuf.timestamp_pb2.Timestamp
The time at which cancellation of this operation was received. Operations.CancelOperation][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
Operations.GetOperation][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
Operation.error][google.longrunning.Operation.error] value
with a google.rpc.Status.code][google.rpc.Status.code] of
1, corresponding to Code.CANCELLED .
|
optimize_database_operation_name |
str
If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored database, and remove the dependency on the restore source. The name is of the form projects/
where the is the name of database being created and restored
to. The metadata type of the long-running operation is
OptimizeRestoredDatabaseMetadata][google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata] .
This long-running operation will be automatically created by
the system after the RestoreDatabase long-running operation
completes successfully. This operation will not be created
if the restore was not successful.
|