Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::AutoscalingPolicyCustomMetricUtilization::UtilizationTargetType (v1.10.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::AutoscalingPolicyCustomMetricUtilization::UtilizationTargetType.

Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.

Constants

UNDEFINED_UTILIZATION_TARGET_TYPE

value: 0
A value indicating that the enum field is not set.

DELTA_PER_MINUTE

value: 87432861
Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.

DELTA_PER_SECOND

value: 255180029
Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.

GAUGE

value: 67590361
Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling.