Google Cloud Dataproc Metastore V1alpha Client - Class Restore (0.6.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class Restore.

The details of a metadata restore operation.

Generated from protobuf message google.cloud.metastore.v1alpha.Restore

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. The time when the restore started.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

Output only. The time when the restore ended.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time when the restore ended.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Output only. The current state of the restore.

Returns
TypeDescription
int

setState

Output only. The current state of the restore.

Parameter
NameDescription
var int
Returns
TypeDescription
$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}.

Returns
TypeDescription
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}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Output only. The type of restore.

Returns
TypeDescription
int

setType

Output only. The type of restore.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetails

Output only. The restore details containing the revision of the service to be restored to, in format of JSON.

Returns
TypeDescription
string

setDetails

Output only. The restore details containing the revision of the service to be restored to, in format of JSON.

Parameter
NameDescription
var string
Returns
TypeDescription
$this