Google Cloud Dataproc Metastore V1alpha Client - Class Backup (0.8.1)

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

The details of a backup resource.

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

Namespace

Google \ Cloud \ Metastore \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Protobuf\Timestamp

Output only. The time when the backup was started.

↳ end_time Google\Protobuf\Timestamp

Output only. The time when the backup finished creating.

↳ state int

Output only. The current state of the backup.

↳ service_revision Google\Cloud\Metastore\V1alpha\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}

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time when the backup was started.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the backup was started.

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

getEndTime

Output only. The time when the backup finished creating.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time when the backup finished creating.

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

getState

Output only. The current state of the backup.

Returns
TypeDescription
int

setState

Output only. The current state of the backup.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getServiceRevision

Output only. The revision of the service at the time of backup.

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\Service|null

hasServiceRevision

clearServiceRevision

setServiceRevision

Output only. The revision of the service at the time of backup.

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\Service
Returns
TypeDescription
$this

getDescription

The description of the backup.

Returns
TypeDescription
string

setDescription

The description of the backup.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRestoringServices

Output only. Services that are restoring from the backup.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRestoringServices

Output only. Services that are restoring from the backup.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this