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.
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 ofoneof__manual_instance_count.
Classes
ScalingMode
ScalingMode(value)
The scaling mode for the service. If not provided, it
defaults to AUTOMATIC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class ServiceScaling (0.10.19)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.19 (latest)](/python/docs/reference/run/latest/google.cloud.run_v2.types.ServiceScaling)\n- [0.10.18](/python/docs/reference/run/0.10.18/google.cloud.run_v2.types.ServiceScaling)\n- [0.9.1](/python/docs/reference/run/0.9.1/google.cloud.run_v2.types.ServiceScaling)\n- [0.8.1](/python/docs/reference/run/0.8.1/google.cloud.run_v2.types.ServiceScaling)\n- [0.7.1](/python/docs/reference/run/0.7.1/google.cloud.run_v2.types.ServiceScaling)\n- [0.6.0](/python/docs/reference/run/0.6.0/google.cloud.run_v2.types.ServiceScaling)\n- [0.5.0](/python/docs/reference/run/0.5.0/google.cloud.run_v2.types.ServiceScaling)\n- [0.4.2](/python/docs/reference/run/0.4.2/google.cloud.run_v2.types.ServiceScaling)\n- [0.3.0](/python/docs/reference/run/0.3.0/google.cloud.run_v2.types.ServiceScaling)\n- [0.2.1](/python/docs/reference/run/0.2.1/google.cloud.run_v2.types.ServiceScaling)\n- [0.1.0](/python/docs/reference/run/0.1.0/google.cloud.run_v2.types.ServiceScaling) \n\n ServiceScaling(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nScaling settings applied at the service level rather than\nat the revision level.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\nClasses\n-------\n\n### ScalingMode\n\n ScalingMode(value)\n\nThe scaling mode for the service. If not provided, it\ndefaults to AUTOMATIC."]]