Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class Restore.
The details of a metadata restore operation.
Generated from protobuf message google.cloud.metastore.v1.Restore
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ start_time
Google\Protobuf\Timestamp
Output only. The time when the restore started.
↳ end_time
Google\Protobuf\Timestamp
Output only. The time when the restore ended.
↳ state
int
Output only. The current state of the restore.
↳ backup
string
Output only. The relative resource name of the metastore service backup to restore from, in the following form: projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}
.
↳ type
int
Output only. The type of restore.
↳ details
string
Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
getStartTime
Output only. The time when the restore started.
Generated from protobuf field .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasStartTime
clearStartTime
setStartTime
Output only. The time when the restore started.
Generated from protobuf field .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getEndTime
Output only. The time when the restore ended.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasEndTime
clearEndTime
setEndTime
Output only. The time when the restore ended.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getState
Output only. The current state of the restore.
Generated from protobuf field .google.cloud.metastore.v1.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
int
setState
Output only. The current state of the restore.
Generated from protobuf field .google.cloud.metastore.v1.Restore.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
int
$this
getBackup
Output only. The relative resource name of the metastore service backup to restore
from, in the following form: projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}
.
Generated from protobuf field string backup = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
string
setBackup
Output only. The relative resource name of the metastore service backup to restore
from, in the following form: projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}
.
Generated from protobuf field string backup = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
var
string
$this
getType
Output only. The type of restore.
Generated from protobuf field .google.cloud.metastore.v1.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
int
setType
Output only. The type of restore.
Generated from protobuf field .google.cloud.metastore.v1.Restore.RestoreType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
int
$this
getDetails
Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
Generated from protobuf field string details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setDetails
Output only. The restore details containing the revision of the service to be restored to, in format of JSON.
Generated from protobuf field string details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this