Google Cloud Backup Dr V1 Client - Class BackupPlanRevision (0.7.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class BackupPlanRevision.

BackupPlanRevision represents a snapshot of a BackupPlan at a point in time.

Generated from protobuf message google.cloud.backupdr.v1.BackupPlanRevision

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Output only. Identifier. The resource name of the BackupPlanRevision . Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}

↳ revision_id
string

Output only. The user friendly revision ID of the BackupPlanRevision . Example: v0, v1, v2, etc.

↳ state
int

Output only. Resource State

↳ backup_plan_snapshot
BackupPlan

The Backup Plan being encompassed by this revision.

↳ create_time
Google\Protobuf\Timestamp

Output only. The timestamp that the revision was created.

getName

Output only. Identifier. The resource name of the BackupPlanRevision .

Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}

Returns
Type
Description
string

setName

Output only. Identifier. The resource name of the BackupPlanRevision .

Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRevisionId

Output only. The user friendly revision ID of the BackupPlanRevision .

Example: v0, v1, v2, etc.

Returns
Type
Description
string

setRevisionId

Output only. The user friendly revision ID of the BackupPlanRevision .

Example: v0, v1, v2, etc.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getState

Output only. Resource State

Returns
Type
Description
int

setState

Output only. Resource State

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getBackupPlanSnapshot

The Backup Plan being encompassed by this revision.

Returns
Type
Description
BackupPlan |null

hasBackupPlanSnapshot

clearBackupPlanSnapshot

setBackupPlanSnapshot

The Backup Plan being encompassed by this revision.

Parameter
Name
Description
Returns
Type
Description
$this

getCreateTime

Output only. The timestamp that the revision was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp that the revision was created.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: