# Cloud Run V2 API - Module Google::Cloud::Run::V2::ServiceScaling::ScalingMode (v0.29.0)

0.29.0 (latest) 0.28.1 0.27.0 0.26.0 0.25.0 0.24.1 0.23.0 0.22.1 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.1 0.15.0 0.14.0 0.13.2 0.12.0 0.11.0 0.10.1 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Run V2 API module Google::Cloud::Run::V2::ServiceScaling::ScalingMode.

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

## Constants

### SCALING_MODE_UNSPECIFIED

**value:** 0  
Unspecified.

### AUTOMATIC

**value:** 1  
Scale based on traffic between min and max instances.

### MANUAL

**value:** 2  
Scale to exactly min instances and ignore max instances.