GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_MetricSpec (google_api_machine_learning v0.27.0) View Source

MetricSpec contains the specifications to use to calculate the desired nodes count when autoscaling is enabled.

Attributes

  • name (type: String.t, default: nil) - metric name.
  • target (type: integer(), default: nil) - Target specifies the target value for the given metric; once real metric deviates from the threshold by a certain percentage, the node count changes.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_MetricSpec{
  name: String.t() | nil,
  target: integer() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.