public final class Location
extends com.google.api.client.json.GenericJson
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 Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
Location |
clone() |
java.lang.String |
getName()
Contains the name of the resource requested.
|
java.lang.Boolean |
getRecommended()
Recommended is a bool combining the drain state of the location (ie- has the region been
drained manually?), and the stockout status of any zone according to Zone Advisor.
|
java.lang.String |
getType()
Contains the type of location this Location is for.
|
Location |
set(java.lang.String fieldName,
java.lang.Object value) |
Location |
setName(java.lang.String name)
Contains the name of the resource requested.
|
Location |
setRecommended(java.lang.Boolean recommended)
Recommended is a bool combining the drain state of the location (ie- has the region been
drained manually?), and the stockout status of any zone according to Zone Advisor.
|
Location |
setType(java.lang.String type)
Contains the type of location this Location is for.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getName()
null for nonepublic Location setName(java.lang.String name)
name - name or null for nonepublic java.lang.Boolean getRecommended()
null for nonepublic Location setRecommended(java.lang.Boolean recommended)
recommended - recommended or null for nonepublic java.lang.String getType()
null for nonepublic Location setType(java.lang.String type)
type - type or null for nonepublic Location set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Location clone()
clone in class com.google.api.client.json.GenericJson