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) — 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) — The Backup Plan being encompassed by this revision.
Returns
- (::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) — 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) — Output only. Resource State