public final class Volume
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 Run Admin 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 |
|---|
Volume() |
| Modifier and Type | Method and Description |
|---|---|
Volume |
clone() |
ConfigMapVolumeSource |
getConfigMap()
Not supported in Cloud Run.
|
CSIVolumeSource |
getCsi()
Volume specified by the Container Storage Interface driver
|
EmptyDirVolumeSource |
getEmptyDir()
Ephemeral storage used as a shared volume.
|
String |
getName()
Volume's name.
|
NFSVolumeSource |
getNfs() |
SecretVolumeSource |
getSecret()
The secret's value will be presented as the content of a file whose name is defined in the item
path.
|
Volume |
set(String fieldName,
Object value) |
Volume |
setConfigMap(ConfigMapVolumeSource configMap)
Not supported in Cloud Run.
|
Volume |
setCsi(CSIVolumeSource csi)
Volume specified by the Container Storage Interface driver
|
Volume |
setEmptyDir(EmptyDirVolumeSource emptyDir)
Ephemeral storage used as a shared volume.
|
Volume |
setName(String name)
Volume's name.
|
Volume |
setNfs(NFSVolumeSource nfs) |
Volume |
setSecret(SecretVolumeSource secret)
The secret's value will be presented as the content of a file whose name is defined in the item
path.
|
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 CSIVolumeSource getCsi()
null for nonepublic Volume setCsi(CSIVolumeSource csi)
csi - csi or null for nonepublic EmptyDirVolumeSource getEmptyDir()
null for nonepublic Volume setEmptyDir(EmptyDirVolumeSource emptyDir)
emptyDir - emptyDir or null for nonepublic String getName()
null for nonepublic Volume setName(String name)
name - name or null for nonepublic NFSVolumeSource getNfs()
null for nonepublic Volume setNfs(NFSVolumeSource nfs)
nfs - nfs 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 com.google.api.client.json.GenericJsonpublic Volume clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.