Reference documentation and code samples for the Google Cloud Run V2 Client class ServiceScaling.
Scaling settings applied at the service level rather than at the revision level.
Generated from protobuf message google.cloud.run.v2.ServiceScaling
Namespace
Google \ Cloud \ Run \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ min_instance_count
int
Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
↳ scaling_mode
int
Optional. The scaling mode for the service.
getMinInstanceCount
Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
int
setMinInstanceCount
Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
var
int
$this
getScalingMode
Optional. The scaling mode for the service.
int
setScalingMode
Optional. The scaling mode for the service.
var
int
$this