Class ResourcePolicySnapshotSchedulePolicyRetentionPolicy (0.3.0)

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

Policy for retention of scheduled snapshots. .. attribute:: max_retention_days

Maximum age of the snapshot that is allowed to be kept.

:type: int

Attribute

NameDescription
on_source_disk_delete google.cloud.compute_v1.types.ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

Classes

OnSourceDiskDelete

OnSourceDiskDelete(value)

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.