Enum AutoscalingPolicyCustomMetricUtilization.UtilizationTargetType (1.46.0)

public enum AutoscalingPolicyCustomMetricUtilization.UtilizationTargetType extends Enum<AutoscalingPolicyCustomMetricUtilization.UtilizationTargetType> implements ProtocolMessageEnum

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

Protobuf enum google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization.UtilizationTargetType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DELTA_PER_MINUTE

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

DELTA_PER_MINUTE = 87432861;

DELTA_PER_MINUTE_VALUE

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

DELTA_PER_MINUTE = 87432861;

DELTA_PER_SECOND

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

DELTA_PER_SECOND = 255180029;

DELTA_PER_SECOND_VALUE

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

DELTA_PER_SECOND = 255180029;

GAUGE

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.

GAUGE = 67590361;

GAUGE_VALUE

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.

GAUGE = 67590361;

UNDEFINED_UTILIZATION_TARGET_TYPE

A value indicating that the enum field is not set.

UNDEFINED_UTILIZATION_TARGET_TYPE = 0;

UNDEFINED_UTILIZATION_TARGET_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_UTILIZATION_TARGET_TYPE = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()