public final class SecretVolumeSource
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 |
|---|
SecretVolumeSource() |
| Modifier and Type | Method and Description |
|---|---|
SecretVolumeSource |
clone() |
Integer |
getDefaultMode()
Integer representation of mode bits to use on created files by default.
|
List<KeyToPath> |
getItems()
A list of secret versions to mount in the volume.
|
Boolean |
getOptional()
Not supported by Cloud Run.
|
String |
getSecretName()
The name of the secret in Cloud Secret Manager.
|
SecretVolumeSource |
set(String fieldName,
Object value) |
SecretVolumeSource |
setDefaultMode(Integer defaultMode)
Integer representation of mode bits to use on created files by default.
|
SecretVolumeSource |
setItems(List<KeyToPath> items)
A list of secret versions to mount in the volume.
|
SecretVolumeSource |
setOptional(Boolean optional)
Not supported by Cloud Run.
|
SecretVolumeSource |
setSecretName(String secretName)
The name of the secret in Cloud Secret Manager.
|
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 com.google.api.client.json.GenericJsonpublic SecretVolumeSource clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.