public final class Volume extends 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 Run Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Volume() |
| Modifier and Type | Method and Description |
|---|---|
Volume |
clone() |
ConfigMapVolumeSource |
getConfigMap()
Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
String |
getName()
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Volume's name.
|
SecretVolumeSource |
getSecret()
Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
Volume |
set(String fieldName,
Object value) |
Volume |
setConfigMap(ConfigMapVolumeSource configMap)
Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
Volume |
setName(String name)
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Volume's name.
|
Volume |
setSecret(SecretVolumeSource secret)
Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
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 ConfigMapVolumeSource getConfigMap()
null for nonepublic Volume setConfigMap(ConfigMapVolumeSource configMap)
configMap - configMap or null for nonepublic String getName()
null for nonepublic Volume setName(String name)
name - name or null for nonepublic SecretVolumeSource getSecret()
null for nonepublic Volume setSecret(SecretVolumeSource secret)
secret - secret or null for nonepublic Volume set(String fieldName, Object value)
set in class GenericJsonpublic Volume clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.