Interface AutoscalingPolicyScaleInControlOrBuilder (1.16.0)

public interface AutoscalingPolicyScaleInControlOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxScaledInReplicas()

public abstract FixedOrPercent getMaxScaledInReplicas()

Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.

optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;

Returns
TypeDescription
FixedOrPercent

The maxScaledInReplicas.

getMaxScaledInReplicasOrBuilder()

public abstract FixedOrPercentOrBuilder getMaxScaledInReplicasOrBuilder()

Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.

optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;

Returns
TypeDescription
FixedOrPercentOrBuilder

getTimeWindowSec()

public abstract int getTimeWindowSec()

How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.

optional int32 time_window_sec = 36405300;

Returns
TypeDescription
int

The timeWindowSec.

hasMaxScaledInReplicas()

public abstract boolean hasMaxScaledInReplicas()

Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.

optional .google.cloud.compute.v1.FixedOrPercent max_scaled_in_replicas = 180710123;

Returns
TypeDescription
boolean

Whether the maxScaledInReplicas field is set.

hasTimeWindowSec()

public abstract boolean hasTimeWindowSec()

How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.

optional int32 time_window_sec = 36405300;

Returns
TypeDescription
boolean

Whether the timeWindowSec field is set.