View Source GoogleApi.Language.V2.Model.InfraUsage (google_api_language v0.16.0)

Infra Usage of billing metrics. Next ID: 6

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

@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

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

Unwrap a decoded JSON object into its complex fields.