GoogleApi.Language.V2.Model.InfraUsage (google_api_language v0.16.3)

View Source

LINT: LEGACY_NAMES Infra Usage of billing metrics.

Attributes

  • cpuMetrics (type: list(GoogleApi.Language.V2.Model.CpuMetric.t), default: nil) - Aggregated core metrics since requested start_time.
  • diskMetrics (type: list(GoogleApi.Language.V2.Model.DiskMetric.t), default: nil) - Aggregated persistent disk metrics since requested start_time.
  • gpuMetrics (type: list(GoogleApi.Language.V2.Model.GpuMetric.t), default: nil) - Aggregated gpu metrics since requested start_time.
  • ramMetrics (type: list(GoogleApi.Language.V2.Model.RamMetric.t), default: nil) - Aggregated ram metrics since requested start_time.
  • tpuMetrics (type: list(GoogleApi.Language.V2.Model.TpuMetric.t), default: nil) - Aggregated tpu metrics since requested start_time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V2.Model.InfraUsage{
  cpuMetrics: [GoogleApi.Language.V2.Model.CpuMetric.t()] | nil,
  diskMetrics: [GoogleApi.Language.V2.Model.DiskMetric.t()] | nil,
  gpuMetrics: [GoogleApi.Language.V2.Model.GpuMetric.t()] | nil,
  ramMetrics: [GoogleApi.Language.V2.Model.RamMetric.t()] | nil,
  tpuMetrics: [GoogleApi.Language.V2.Model.TpuMetric.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.