Enum ServiceScaling.ScalingMode (0.54.0)

public enum ServiceScaling.ScalingMode extends Enum<ServiceScaling.ScalingMode> implements ProtocolMessageEnum

The scaling mode for the service. If not provided, it defaults to AUTOMATIC.

Protobuf enum google.cloud.run.v2.ServiceScaling.ScalingMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUTOMATIC

Scale based on traffic between min and max instances.

AUTOMATIC = 1;

AUTOMATIC_VALUE

Scale based on traffic between min and max instances.

AUTOMATIC = 1;

MANUAL

Scale to exactly min instances and ignore max instances.

MANUAL = 2;

MANUAL_VALUE

Scale to exactly min instances and ignore max instances.

MANUAL = 2;

SCALING_MODE_UNSPECIFIED

Unspecified.

SCALING_MODE_UNSPECIFIED = 0;

SCALING_MODE_UNSPECIFIED_VALUE

Unspecified.

SCALING_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()