GoogleCloudMlV1__MetricSpecArgs

data class GoogleCloudMlV1__MetricSpecArgs(val name: Output<GoogleCloudMlV1__MetricSpecName>? = null, val target: Output<Int>? = null) : ConvertibleToJava<GoogleCloudMlV1__MetricSpecArgs>

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

Constructors

Link copied to clipboard
fun GoogleCloudMlV1__MetricSpecArgs(name: Output<GoogleCloudMlV1__MetricSpecName>? = null, target: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudMlV1__MetricSpecArgs

Properties

Link copied to clipboard

metric name.

Link copied to clipboard
val target: Output<Int>? = null

Target specifies the target value for the given metric; once real metric deviates from the threshold by a certain percentage, the node count changes.