Interface RevisionScalingOrBuilder (0.53.0)

public interface RevisionScalingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxInstanceCount()

public abstract int getMaxInstanceCount()

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

int32 max_instance_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxInstanceCount.

getMinInstanceCount()

public abstract int getMinInstanceCount()

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

int32 min_instance_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The minInstanceCount.