singleInstanceAssignment

@JvmName(name = "qcigjrfwcblnyvki")
suspend fun singleInstanceAssignment(value: Output<Double>)
@JvmName(name = "actpewnryxytrqow")
suspend fun singleInstanceAssignment(value: Double?)

Parameters

value

If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. The autoscaler will keep the number of instances proportional to the value of this metric, the metric itself should not change value due to group resizing. For example, a good metric to use with the target is pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.