GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicyRetentionPolicy (google_api_compute v0.37.0) View Source

Policy for retention of scheduled snapshots.

Attributes

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicyRetentionPolicy{
    maxRetentionDays: integer() | nil,
    onSourceDiskDelete: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.