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

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.
  • tags (type: map(), default: nil) - Optional. Input only. Immutable. Tag key-value pairs are bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"

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,
  tags: map() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.