Reference documentation and code samples for the Cloud Firestore V1 Client class RestoreDatabaseMetadata.
Metadata for the long-running operation from the RestoreDatabase request.
Generated from protobuf message google.firestore.admin.v1.RestoreDatabaseMetadata
Namespace
Google \ Cloud \ Firestore \ Admin \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ start_time
↳ end_time
↳ operation_state
int
The operation state of the restore.
↳ database
string
The name of the database being restored to.
↳ backup
string
The name of the backup restoring from.
↳ progress_percentage
getStartTime
The time the restore was started.
hasStartTime
clearStartTime
setStartTime
The time the restore was started.
$this
getEndTime
The time the restore finished, unset for ongoing restores.
hasEndTime
clearEndTime
setEndTime
The time the restore finished, unset for ongoing restores.
$this
getOperationState
The operation state of the restore.
int
setOperationState
The operation state of the restore.
var
int
$this
getDatabase
The name of the database being restored to.
string
setDatabase
The name of the database being restored to.
var
string
$this
getBackup
The name of the backup restoring from.
string
setBackup
The name of the backup restoring from.
var
string
$this
getProgressPercentage
How far along the restore is as an estimated percentage of remaining time.
hasProgressPercentage
clearProgressPercentage
setProgressPercentage
How far along the restore is as an estimated percentage of remaining time.
$this