Class ResourcePolicySnapshotSchedulePolicy (1.23.0)

ResourcePolicySnapshotSchedulePolicy(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
retention_policy google.cloud.compute_v1.types.ResourcePolicySnapshotSchedulePolicyRetentionPolicy
Retention policy applied to snapshots created by this resource policy. This field is a member of oneof_ _retention_policy.
schedule google.cloud.compute_v1.types.ResourcePolicySnapshotSchedulePolicySchedule
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy. This field is a member of oneof_ _schedule.
snapshot_properties google.cloud.compute_v1.types.ResourcePolicySnapshotSchedulePolicySnapshotProperties
Properties with which snapshots are created such as labels, encryption keys. This field is a member of oneof_ _snapshot_properties.