google_api_compute v0.2.0 GoogleApi.Compute.V1.Model.AutoscalingPolicyCustomMetricUtilization View Source

Custom utilization metric policy.

Attributes

  • metric (String.t): The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE. Defaults to: null.
  • utilizationTarget (float()): The target value of the metric that autoscaler should maintain. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances. Defaults to: null.
  • utilizationTargetType (String.t): Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. Defaults to: null.

    • Enum - one of [DELTA_PER_MINUTE, DELTA_PER_SECOND, GAUGE]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Compute.V1.Model.AutoscalingPolicyCustomMetricUtilization{
  metric: any(),
  utilizationTarget: any(),
  utilizationTargetType: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.