@Generated(value="by GAPIC") @BetaApi public final class Autoscaler extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Autoscaler.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
AutoscalingPolicy |
getAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Autoscaler |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
String |
getRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in
regional scope).
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getStatus()
[Output Only] The status of the autoscaler configuration.
|
List<AutoscalerStatusDetails> |
getStatusDetailsList()
[Output Only] Human-readable details about the current state of the autoscaler.
|
String |
getTarget()
URL of the managed instance group that this autoscaler will scale.
|
String |
getZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal
scope).
|
int |
hashCode() |
static Autoscaler.Builder |
newBuilder() |
static Autoscaler.Builder |
newBuilder(Autoscaler prototype) |
Autoscaler.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public AutoscalingPolicy getAutoscalingPolicy()
If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%.
public String getCreationTimestamp()
public String getDescription()
public String getId()
public String getKind()
public String getName()
public String getRegion()
public String getSelfLink()
public String getStatus()
public List<AutoscalerStatusDetails> getStatusDetailsList()
public String getTarget()
public String getZone()
public static Autoscaler.Builder newBuilder()
public static Autoscaler.Builder newBuilder(Autoscaler prototype)
public Autoscaler.Builder toBuilder()
public static Autoscaler getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.