public final class SecretVolumeSource 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 |
|---|
SecretVolumeSource() |
| Modifier and Type | Method and Description |
|---|---|
SecretVolumeSource |
clone() |
Integer |
getDefaultMode()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Mode bits to
use on created files by default.
|
List<KeyToPath> |
getItems()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported If
unspecified, each key-value pair in the Data field of the referenced Secret will be projected
into the volume as a file whose name is the key and content is the value.
|
Boolean |
getOptional()
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify
whether the Secret or its keys must be defined.
|
String |
getSecretName()
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Name of the secret in
the container's namespace to use.
|
SecretVolumeSource |
set(String fieldName,
Object value) |
SecretVolumeSource |
setDefaultMode(Integer defaultMode)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Mode bits to
use on created files by default.
|
SecretVolumeSource |
setItems(List<KeyToPath> items)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported If
unspecified, each key-value pair in the Data field of the referenced Secret will be projected
into the volume as a file whose name is the key and content is the value.
|
SecretVolumeSource |
setOptional(Boolean optional)
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify
whether the Secret or its keys must be defined.
|
SecretVolumeSource |
setSecretName(String secretName)
Cloud Run fully managed: not supported Cloud Run for Anthos: supported Name of the secret in
the container's namespace to use.
|
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 Integer getDefaultMode()
null for nonepublic SecretVolumeSource setDefaultMode(Integer defaultMode)
defaultMode - defaultMode or null for nonepublic List<KeyToPath> getItems()
null for nonepublic SecretVolumeSource setItems(List<KeyToPath> items)
items - items or null for nonepublic Boolean getOptional()
null for nonepublic SecretVolumeSource setOptional(Boolean optional)
optional - optional or null for nonepublic String getSecretName()
null for nonepublic SecretVolumeSource setSecretName(String secretName)
secretName - secretName or null for nonepublic SecretVolumeSource set(String fieldName, Object value)
set in class GenericJsonpublic SecretVolumeSource clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.