Interface Reservation.AutoscaleOrBuilder (2.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface Reservation.AutoscaleOrBuilder extends 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 |
---|
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-09-15 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]