View Source GoogleApi.BareMetalSolution.V2.Model.VolumeSnapshot (google_api_bare_metal_solution v0.5.0)

A snapshot of a volume. Only boot volumes can have snapshots.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The creation time of the snapshot.
  • description (type: String.t, default: nil) - The description of the snapshot.
  • id (type: String.t, default: nil) - Output only. An identifier for the snapshot, generated by the backend.
  • name (type: String.t, default: nil) - The name of the snapshot.
  • storageVolume (type: String.t, default: nil) - Output only. The name of the volume which this snapshot belongs to.
  • type (type: String.t, default: nil) - Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BareMetalSolution.V2.Model.VolumeSnapshot{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  id: String.t() | nil,
  name: String.t() | nil,
  storageVolume: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.