public final class VolumeMount 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 |
|---|
VolumeMount() |
| Modifier and Type | Method and Description |
|---|---|
VolumeMount |
clone() |
String |
getMountPath()
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Path within the
container at which the volume should be mounted.
|
String |
getName()
Cloud Run fully managed: not supported Cloud Run for Anthos: supported This must match the Name
of a Volume.
|
Boolean |
getReadOnly()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Only true is
accepted.
|
String |
getSubPath()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Path within
the volume from which the container's volume should be mounted.
|
VolumeMount |
set(String fieldName,
Object value) |
VolumeMount |
setMountPath(String mountPath)
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Path within the
container at which the volume should be mounted.
|
VolumeMount |
setName(String name)
Cloud Run fully managed: not supported Cloud Run for Anthos: supported This must match the Name
of a Volume.
|
VolumeMount |
setReadOnly(Boolean readOnly)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Only true is
accepted.
|
VolumeMount |
setSubPath(String subPath)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Path within
the volume from which the container's volume should be mounted.
|
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 getMountPath()
null for nonepublic VolumeMount setMountPath(String mountPath)
mountPath - mountPath or null for nonepublic String getName()
null for nonepublic VolumeMount setName(String name)
name - name or null for nonepublic Boolean getReadOnly()
null for nonepublic VolumeMount setReadOnly(Boolean readOnly)
readOnly - readOnly or null for nonepublic String getSubPath()
null for nonepublic VolumeMount setSubPath(String subPath)
subPath - subPath or null for nonepublic VolumeMount set(String fieldName, Object value)
set in class GenericJsonpublic VolumeMount clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.