ServiceScaling(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Scaling settings applied at the service level rather than at the revision level.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
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 |
google.cloud.run_v2.types.ServiceScaling.ScalingMode
Optional. The scaling mode for the service. |
manual_instance_count |
int
Optional. total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. This field is a member of oneof _ _manual_instance_count .
|
Classes
ScalingMode
ScalingMode(value)
The scaling mode for the service. If not provided, it defaults to AUTOMATIC.