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

A collection of object level retention parameters.

Attributes

  • mode (type: String.t, default: nil) - The bucket's object retention mode, can only be Unlocked or Locked.
  • retainUntilTime (type: DateTime.t, default: nil) - A time in RFC 3339 format until which object retention protects this object.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Storage.V1.Model.ObjectRetention{
  mode: String.t() | nil,
  retainUntilTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.