google_api_compute v0.11.0 GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicyRetentionPolicy 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

Link to this type

t()

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

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.