RestoreDatabaseMetadata class

Metadata type for the long-running operation returned by RestoreDatabase.


RestoreDatabaseMetadata.fromJson(Map _json)


backupInfo BackupInfo
Information about the backup used to restore the database.
read / write
cancelTime ↔ String
The time at which cancellation of this operation was received. 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 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.
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
name ↔ String
Name of the database being created and restored to.
read / write
optimizeDatabaseOperationName ↔ String
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//instances//databases//operations/ where the is the name of database being created and restored to. The metadata type of the long-running operation is 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.
read / write
progress OperationProgress
The progress of the RestoreDatabase operation.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
sourceType ↔ String
The type of the restore source. Possible string values are: [...]
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() → Map<String, Object>
toString() → String
Returns a string representation of this object.


operator ==(Object other) → bool
The equality operator. [...]