GoogleApi.TPU.V2.Model.QueuedResource (google_api_tpu v0.18.0)

View Source

A QueuedResource represents a request for resources that will be placed in a queue and fulfilled when the necessary resources are available.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the QueuedResource was created.
  • guaranteed (type: GoogleApi.TPU.V2.Model.Guaranteed.t, default: nil) - Optional. The Guaranteed tier
  • name (type: String.t, default: nil) - Output only. Immutable. The name of the QueuedResource.
  • queueingPolicy (type: GoogleApi.TPU.V2.Model.QueueingPolicy.t, default: nil) - Optional. The queueing policy of the QueuedRequest.
  • reservationName (type: String.t, default: nil) - Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
  • spot (type: GoogleApi.TPU.V2.Model.Spot.t, default: nil) - Optional. The Spot tier.
  • state (type: GoogleApi.TPU.V2.Model.QueuedResourceState.t, default: nil) - Output only. State of the QueuedResource request.
  • tpu (type: GoogleApi.TPU.V2.Model.Tpu.t, default: nil) - Optional. Defines a TPU resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.QueuedResource{
  createTime: DateTime.t() | nil,
  guaranteed: GoogleApi.TPU.V2.Model.Guaranteed.t() | nil,
  name: String.t() | nil,
  queueingPolicy: GoogleApi.TPU.V2.Model.QueueingPolicy.t() | nil,
  reservationName: String.t() | nil,
  spot: GoogleApi.TPU.V2.Model.Spot.t() | nil,
  state: GoogleApi.TPU.V2.Model.QueuedResourceState.t() | nil,
  tpu: GoogleApi.TPU.V2.Model.Tpu.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.