View Source GoogleApi.File.V1.Model.Snapshot (google_api_file v0.29.0)

A Filestore snapshot.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the snapshot was created.
  • description (type: String.t, default: nil) - A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
  • filesystemUsedBytes (type: String.t, default: nil) - Output only. The amount of bytes needed to allocate a full copy of the snapshot content
  • labels (type: map(), default: nil) - Resource labels to represent user provided metadata.
  • name (type: String.t, default: nil) - Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.
  • state (type: String.t, default: nil) - Output only. The snapshot state.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.File.V1.Model.Snapshot{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  filesystemUsedBytes: String.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.