View Source GoogleApi.Storage.V1.Model.BucketSoftDeletePolicy (google_api_storage v0.45.0)

The bucket's soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted.

Attributes

  • effectiveTime (type: DateTime.t, default: nil) - Server-determined value that indicates the time from which the policy, or one with a greater retention, was effective. This value is in RFC 3339 format.
  • retentionDurationSeconds (type: String.t, default: nil) - The duration in seconds that soft-deleted objects in the bucket will be retained and cannot be permanently deleted.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Storage.V1.Model.BucketSoftDeletePolicy{
  effectiveTime: DateTime.t() | nil,
  retentionDurationSeconds: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.