Reference documentation and code samples for the Google Cloud Run V2 Client class WorkerPoolScaling.
Worker pool scaling settings.
Generated from protobuf message google.cloud.run.v2.WorkerPoolScaling
Namespace
Google \ Cloud \ Run \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ manual_instance_count |
int
Optional. The total number of instances in manual scaling mode. |
getManualInstanceCount
Optional. The total number of instances in manual scaling mode.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasManualInstanceCount
clearManualInstanceCount
setManualInstanceCount
Optional. The total number of instances in manual scaling mode.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|