Class ServiceScaling (0.10.12)

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

Scaling settings applied at the service level rather than at the revision level.

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.

Classes

ScalingMode

ScalingMode(value)

The scaling mode for the service. If not provided, it defaults to AUTOMATIC.