![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.AutoscalerStatusDetails.html Maven / Gradle / Ivy
AutoscalerStatusDetails (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class AutoscalerStatusDetails
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.AutoscalerStatusDetails
-
public final class AutoscalerStatusDetails
extends GenericJson
Model definition for AutoscalerStatusDetails.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AutoscalerStatusDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AutoscalerStatusDetails
clone()
String
getMessage()
The status message.
String
getType()
The type of error, warning, or notice returned.
AutoscalerStatusDetails
set(String fieldName,
Object value)
AutoscalerStatusDetails
setMessage(String message)
The status message.
AutoscalerStatusDetails
setType(String type)
The type of error, warning, or notice returned.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getMessage
public String getMessage()
The status message.
- Returns:
- value or
null
for none
-
setMessage
public AutoscalerStatusDetails setMessage(String message)
The status message.
- Parameters:
message
- message or null
for none
-
getType
public String getType()
The type of error, warning, or notice returned. Current set of possible values: -
ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in
RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached
to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size
greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom
metric samples are not exported often enough to be a credible base for autoscaling. -
CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not
have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to
maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance
group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data
from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS
(WARNING): The autoscaler is configured to scale based on a load balancing signal but the
instance group has not received any requests from the load balancer. - MODE_OFF (WARNING):
Autoscaling is turned off. The number of instances in the group won't change automatically. The
autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the
"Autoscale only out" mode. The autoscaler can add instances but not remove any. -
MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has
more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is
insufficient quota for the necessary resources, such as CPU or number of instances. -
REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource
stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled
does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does
not work with an HTTP/S load balancer that has been configured for maxRate. -
ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the
chosen zone. For regional autoscalers: in at least one of the zones you're using there is a
resource stockout. New values might be added in the future. Some of the values might not be
available in all API versions.
- Returns:
- value or
null
for none
-
setType
public AutoscalerStatusDetails setType(String type)
The type of error, warning, or notice returned. Current set of possible values: -
ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in
RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached
to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size
greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom
metric samples are not exported often enough to be a credible base for autoscaling. -
CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not
have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to
maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance
group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data
from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS
(WARNING): The autoscaler is configured to scale based on a load balancing signal but the
instance group has not received any requests from the load balancer. - MODE_OFF (WARNING):
Autoscaling is turned off. The number of instances in the group won't change automatically. The
autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the
"Autoscale only out" mode. The autoscaler can add instances but not remove any. -
MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has
more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is
insufficient quota for the necessary resources, such as CPU or number of instances. -
REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource
stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled
does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does
not work with an HTTP/S load balancer that has been configured for maxRate. -
ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the
chosen zone. For regional autoscalers: in at least one of the zones you're using there is a
resource stockout. New values might be added in the future. Some of the values might not be
available in all API versions.
- Parameters:
type
- type or null
for none
-
set
public AutoscalerStatusDetails set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AutoscalerStatusDetails clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy