Interface Reservation.AutoscaleOrBuilder (2.56.0)

public static interface Reservation.AutoscaleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrentSlots()

public abstract long getCurrentSlots()

Output only. The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots]. Note: after users reduce max_slots, it may take a while before it can be propagated, so current_slots may stay in the original value and could be larger than max_slots for that brief period (less than one minute)

int64 current_slots = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The currentSlots.

getMaxSlots()

public abstract long getMaxSlots()

Number of slots to be scaled when needed.

int64 max_slots = 2;

Returns
Type Description
long

The maxSlots.