View Source GoogleApi.Language.V2.Model.GpuMetric (google_api_language v0.14.0)

Attributes

  • gpuSec (type: String.t, default: nil) - Required. Seconds of GPU usage, e.g. 3600.
  • gpuType (type: String.t, default: nil) - Required. Type of GPU, e.g. NVIDIA_TESLA_V100.
  • machineSpec (type: String.t, default: nil) - Required. Machine spec, e.g. N1_STANDARD_4.
  • trackingLabels (type: map(), default: nil) - Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\p{Ll}\p{N}]+ E.g. "key": "goog-k8s-cluster-name","value": "us-east1-b4rk"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Language.V2.Model.GpuMetric{
  gpuSec: String.t() | nil,
  gpuType: String.t() | nil,
  machineSpec: String.t() | nil,
  trackingLabels: map() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.