View Source GoogleApi.Language.V2.Model.CpuMetric (google_api_language v0.15.0)

Metric for billing reports.

Attributes

  • coreNumber (type: String.t, default: nil) - Required. Number of CPU cores.
  • coreSec (type: String.t, default: nil) - Required. Total seconds of core usage, e.g. 4.
  • cpuType (type: String.t, default: nil) - Required. Type of cpu, e.g. N2.
  • 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.CpuMetric{
  coreNumber: String.t() | nil,
  coreSec: String.t() | nil,
  cpuType: 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.