public final class GkeWorkload
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 Cloud Monitoring 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GkeWorkload() |
| Modifier and Type | Method and Description |
|---|---|
GkeWorkload |
clone() |
String |
getClusterName()
The name of the parent cluster.
|
String |
getLocation()
The location of the parent cluster.
|
String |
getNamespaceName()
The name of the parent namespace.
|
String |
getProjectId()
Output only.
|
String |
getTopLevelControllerName()
The name of this workload.
|
String |
getTopLevelControllerType()
The type of this workload (for example, "Deployment" or "DaemonSet")
|
GkeWorkload |
set(String fieldName,
Object value) |
GkeWorkload |
setClusterName(String clusterName)
The name of the parent cluster.
|
GkeWorkload |
setLocation(String location)
The location of the parent cluster.
|
GkeWorkload |
setNamespaceName(String namespaceName)
The name of the parent namespace.
|
GkeWorkload |
setProjectId(String projectId)
Output only.
|
GkeWorkload |
setTopLevelControllerName(String topLevelControllerName)
The name of this workload.
|
GkeWorkload |
setTopLevelControllerType(String topLevelControllerType)
The type of this workload (for example, "Deployment" or "DaemonSet")
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getClusterName()
null for nonepublic GkeWorkload setClusterName(String clusterName)
clusterName - clusterName or null for nonepublic String getLocation()
null for nonepublic GkeWorkload setLocation(String location)
location - location or null for nonepublic String getNamespaceName()
null for nonepublic GkeWorkload setNamespaceName(String namespaceName)
namespaceName - namespaceName or null for nonepublic String getProjectId()
null for nonepublic GkeWorkload setProjectId(String projectId)
projectId - projectId or null for nonepublic String getTopLevelControllerName()
null for nonepublic GkeWorkload setTopLevelControllerName(String topLevelControllerName)
topLevelControllerName - topLevelControllerName or null for nonepublic String getTopLevelControllerType()
null for nonepublic GkeWorkload setTopLevelControllerType(String topLevelControllerType)
topLevelControllerType - topLevelControllerType or null for nonepublic GkeWorkload set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GkeWorkload clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.