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

The bucket's Autoclass configuration.

Attributes

  • enabled (type: boolean(), default: nil) - Whether or not Autoclass is enabled on this bucket
  • terminalStorageClass (type: String.t, default: nil) - The storage class that objects in the bucket eventually transition to if they are not read for a certain length of time. Valid values are NEARLINE and ARCHIVE.
  • terminalStorageClassUpdateTime (type: DateTime.t, default: nil) - A date and time in RFC 3339 format representing the time of the most recent update to "terminalStorageClass".
  • toggleTime (type: DateTime.t, default: nil) - A date and time in RFC 3339 format representing the instant at which "enabled" was last toggled.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Storage.V1.Model.BucketAutoclass{
  enabled: boolean() | nil,
  terminalStorageClass: String.t() | nil,
  terminalStorageClassUpdateTime: DateTime.t() | nil,
  toggleTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.