Reference documentation and code samples for the Compute V1 Client class UtilizationTargetType.
Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization.UtilizationTargetType
Namespace
Google \ Cloud \ Compute \ V1 \ AutoscalingPolicyCustomMetricUtilizationMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_UTILIZATION_TARGET_TYPE
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_UTILIZATION_TARGET_TYPE = 0;
DELTA_PER_MINUTE
Value: 87432861
Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.
Generated from protobuf enum DELTA_PER_MINUTE = 87432861;
DELTA_PER_SECOND
Value: 255180029
Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.
Generated from protobuf enum DELTA_PER_SECOND = 255180029;
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.
Generated from protobuf enum GAUGE = 67590361;