Interface DedicatedResources.ScaleToZeroSpecOrBuilder (3.79.0)

public static interface DedicatedResources.ScaleToZeroSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdleScaledownPeriod()

public abstract Duration getIdleScaledownPeriod()

Optional. Duration of no traffic before scaling to zero. [MinValue=3600] (5 minutes) [MaxValue=28800] (8 hours)

.google.protobuf.Duration idle_scaledown_period = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The idleScaledownPeriod.

getIdleScaledownPeriodOrBuilder()

public abstract DurationOrBuilder getIdleScaledownPeriodOrBuilder()

Optional. Duration of no traffic before scaling to zero. [MinValue=3600] (5 minutes) [MaxValue=28800] (8 hours)

.google.protobuf.Duration idle_scaledown_period = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getMinScaleupPeriod()

public abstract Duration getMinScaleupPeriod()

Optional. Minimum duration that a deployment will be scaled up before traffic is evaluated for potential scale-down. [MinValue=300] (5 minutes) [MaxValue=28800] (8 hours)

.google.protobuf.Duration min_scaleup_period = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The minScaleupPeriod.

getMinScaleupPeriodOrBuilder()

public abstract DurationOrBuilder getMinScaleupPeriodOrBuilder()

Optional. Minimum duration that a deployment will be scaled up before traffic is evaluated for potential scale-down. [MinValue=300] (5 minutes) [MaxValue=28800] (8 hours)

.google.protobuf.Duration min_scaleup_period = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

hasIdleScaledownPeriod()

public abstract boolean hasIdleScaledownPeriod()

Optional. Duration of no traffic before scaling to zero. [MinValue=3600] (5 minutes) [MaxValue=28800] (8 hours)

.google.protobuf.Duration idle_scaledown_period = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the idleScaledownPeriod field is set.

hasMinScaleupPeriod()

public abstract boolean hasMinScaleupPeriod()

Optional. Minimum duration that a deployment will be scaled up before traffic is evaluated for potential scale-down. [MinValue=300] (5 minutes) [MaxValue=28800] (8 hours)

.google.protobuf.Duration min_scaleup_period = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minScaleupPeriod field is set.