Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class Backup.
The details of a backup resource.
Generated from protobuf message google.cloud.metastore.v1beta.Backup
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. The relative resource name of the backup, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
↳ create_time
↳ end_time
↳ state
int
Output only. The current state of the backup.
↳ service_revision
Google\Cloud\Metastore\V1beta\Service
Output only. The revision of the service at the time of backup.
↳ description
string
The description of the backup.
↳ restoring_services
array
Output only. Services that are restoring from the backup.
getName
Immutable. The relative resource name of the backup, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
string
setName
Immutable. The relative resource name of the backup, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
var
string
$this
getCreateTime
Output only. The time when the backup was started.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the backup was started.
$this
getEndTime
Output only. The time when the backup finished creating.
hasEndTime
clearEndTime
setEndTime
Output only. The time when the backup finished creating.
$this
getState
Output only. The current state of the backup.
int
setState
Output only. The current state of the backup.
var
int
$this
getServiceRevision
Output only. The revision of the service at the time of backup.
hasServiceRevision
clearServiceRevision
setServiceRevision
Output only. The revision of the service at the time of backup.
$this
getDescription
The description of the backup.
string
setDescription
The description of the backup.
var
string
$this
getRestoringServices
Output only. Services that are restoring from the backup.
setRestoringServices
Output only. Services that are restoring from the backup.
var
string[]
$this