google_api_compute v0.9.0 GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicyRetentionPolicy View Source

Policy for retention of scheduled snapshots.

Attributes

  • maxRetentionDays (integer()): Maximum age of the snapshot that is allowed to be kept. Defaults to: null.
  • onSourceDiskDelete (String.t): Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. Defaults to: null.

    • Enum - one of [APPLY_RETENTION_POLICY, KEEP_AUTO_SNAPSHOTS, UNSPECIFIED_ON_SOURCE_DISK_DELETE]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() ::
  %GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicyRetentionPolicy{
    maxRetentionDays: any(),
    onSourceDiskDelete: any()
  }

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.