# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::BackupPlanRevision (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::BackupPlanRevision.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #backup_plan_snapshot

    def backup_plan_snapshot() -> ::Google::Cloud::BackupDR::V1::BackupPlan

**Returns**

- ([::Google::Cloud::BackupDR::V1::BackupPlan](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupPlan)) --- The Backup Plan being encompassed by this revision.

### #backup_plan_snapshot=

    def backup_plan_snapshot=(value) -> ::Google::Cloud::BackupDR::V1::BackupPlan

**Parameter**

- **value** ([::Google::Cloud::BackupDR::V1::BackupPlan](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupPlan)) --- The Backup Plan being encompassed by this revision.
**Returns**

- ([::Google::Cloud::BackupDR::V1::BackupPlan](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupPlan)) --- The Backup Plan being encompassed by this revision.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp that the revision was created.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. Identifier. The resource name of the `BackupPlanRevision`.


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

### #revision_id

    def revision_id() -> ::String

**Returns**

- (::String) --- Output only. The user friendly revision ID of the `BackupPlanRevision`.


  Example: v0, v1, v2, etc.

### #state

    def state() -> ::Google::Cloud::BackupDR::V1::BackupPlanRevision::State

**Returns**

- ([::Google::Cloud::BackupDR::V1::BackupPlanRevision::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupPlanRevision-State)) --- Output only. Resource State