Cloud Run Admin v2 API - Class ServiceScaling (2.10.0)

public sealed class ServiceScaling : IMessage<ServiceScaling>, IEquatable<ServiceScaling>, IDeepCloneable<ServiceScaling>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Run Admin v2 API class ServiceScaling.

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

Inheritance

object > ServiceScaling

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

ServiceScaling()

public ServiceScaling()

ServiceScaling(ServiceScaling)

public ServiceScaling(ServiceScaling other)
Parameter
Name Description
other ServiceScaling

Properties

MinInstanceCount

public int MinInstanceCount { get; set; }

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.

Property Value
Type Description
int

ScalingMode

public ServiceScaling.Types.ScalingMode ScalingMode { get; set; }

Optional. The scaling mode for the service.

Property Value
Type Description
ServiceScalingTypesScalingMode