Class ServiceScaling (0.10.19)

ServiceScaling(mapping=None,*,ignore_unknown_fields=False,**kwargs)

Attributes

NameDescription
min_instance_countint
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_modegoogle.cloud.run_v2.types.ServiceScaling.ScalingMode
Optional. The scaling mode for the service.
manual_instance_countint
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, 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.