Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicy (v2.1.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicy.

A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#retention_policy

def retention_policy() -> ::Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicyRetentionPolicy
Returns

#retention_policy=

def retention_policy=(value) -> ::Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicyRetentionPolicy
Parameter
Returns

#schedule

def schedule() -> ::Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicySchedule
Returns

#schedule=

def schedule=(value) -> ::Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicySchedule
Parameter
Returns

#snapshot_properties

def snapshot_properties() -> ::Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicySnapshotProperties
Returns

#snapshot_properties=

def snapshot_properties=(value) -> ::Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicySnapshotProperties
Parameter
Returns