Cloud Run Admin v2 API - Class RevisionScaling (2.12.0)

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

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

Settings for revision-level scaling settings.

Inheritance

object > RevisionScaling

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

RevisionScaling()

public RevisionScaling()

RevisionScaling(RevisionScaling)

public RevisionScaling(RevisionScaling other)
Parameter
Name Description
other RevisionScaling

Properties

MaxInstanceCount

public int MaxInstanceCount { get; set; }

Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of

  1. For more information see https://cloud.google.com/run/docs/configuring/max-instances
Property Value
Type Description
int

MinInstanceCount

public int MinInstanceCount { get; set; }

Optional. Minimum number of serving instances that this resource should have.

Property Value
Type Description
int