Interface Reservation.AutoscaleOrBuilder (2.23.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].

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

Returns
TypeDescription
long

The currentSlots.

getMaxSlots()

public abstract long getMaxSlots()

Number of slots to be scaled when needed.

int64 max_slots = 2;

Returns
TypeDescription
long

The maxSlots.