Class RestoreDatabaseMetadata

Metadata type for the long-running operation returned by RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes
NameDescription
strname
Name of the database being created and restored to.
google.cloud.spanner_admin_database_v1.types.RestoreSourceTypesource_type
The type of the restore source.
google.cloud.spanner_admin_database_v1.types.BackupInfobackup_info
Information about the backup used to restore the database. This field is a member of `oneof`_ ``source_info``.
google.cloud.spanner_admin_database_v1.types.OperationProgressprogress
The progress of the `RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase]` operation.
google.protobuf.timestamp_pb2.Timestampcancel_time
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``.
stroptimize_database_operation_name
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/

Inheritance

builtins.object > proto.message.Message > RestoreDatabaseMetadata