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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. Identifier. The resource name of the |
↳ revision_id |
string
Output only. The user friendly revision ID of the |
↳ 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 |
Enum of type State. |
setState
Output only. Resource State
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| 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 |
var |
BackupPlan
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The timestamp that the revision was created.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp that the revision was created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|