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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
AUTOMATIC |
Scale based on traffic between min and max instances. |
AUTOMATIC_VALUE |
Scale based on traffic between min and max instances. |
MANUAL |
Scale to exactly min instances and ignore max instances. |
MANUAL_VALUE |
Scale to exactly min instances and ignore max instances. |
SCALING_MODE_UNSPECIFIED |
Unspecified. |
SCALING_MODE_UNSPECIFIED_VALUE |
Unspecified. |
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() |