Class ServiceScaling (0.10.19) Stay organized with collections Save and categorize content based on your preferences.
ServiceScaling(mapping=None,*,ignore_unknown_fields=False,**kwargs)Scaling settings applied at the service level rather thanat the revision level.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
|---|---|
| Name | Description |
min_instance_count | intOptional. 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.ScalingModeOptional. The scaling mode for the service. |
manual_instance_count | intOptional. 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, itdefaults to AUTOMATIC.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.