public final class GoogleCloudRunV2Volume
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 |
|---|
GoogleCloudRunV2Volume() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudRunV2Volume |
clone() |
GoogleCloudRunV2CloudSqlInstance |
getCloudSqlInstance()
For Cloud SQL volumes, contains the specific instances that should be mounted.
|
GoogleCloudRunV2EmptyDirVolumeSource |
getEmptyDir()
Ephemeral storage used as a shared volume.
|
GoogleCloudRunV2GCSVolumeSource |
getGcs()
Persistent storage backed by a Google Cloud Storage bucket.
|
String |
getName()
Required.
|
GoogleCloudRunV2NFSVolumeSource |
getNfs()
For NFS Voumes, contains the path to the nfs Volume
|
GoogleCloudRunV2SecretVolumeSource |
getSecret()
Secret represents a secret that should populate this volume.
|
GoogleCloudRunV2Volume |
set(String fieldName,
Object value) |
GoogleCloudRunV2Volume |
setCloudSqlInstance(GoogleCloudRunV2CloudSqlInstance cloudSqlInstance)
For Cloud SQL volumes, contains the specific instances that should be mounted.
|
GoogleCloudRunV2Volume |
setEmptyDir(GoogleCloudRunV2EmptyDirVolumeSource emptyDir)
Ephemeral storage used as a shared volume.
|
GoogleCloudRunV2Volume |
setGcs(GoogleCloudRunV2GCSVolumeSource gcs)
Persistent storage backed by a Google Cloud Storage bucket.
|
GoogleCloudRunV2Volume |
setName(String name)
Required.
|
GoogleCloudRunV2Volume |
setNfs(GoogleCloudRunV2NFSVolumeSource nfs)
For NFS Voumes, contains the path to the nfs Volume
|
GoogleCloudRunV2Volume |
setSecret(GoogleCloudRunV2SecretVolumeSource secret)
Secret represents a secret that should populate this volume.
|
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 GoogleCloudRunV2CloudSqlInstance getCloudSqlInstance()
null for nonepublic GoogleCloudRunV2Volume setCloudSqlInstance(GoogleCloudRunV2CloudSqlInstance cloudSqlInstance)
cloudSqlInstance - cloudSqlInstance or null for nonepublic GoogleCloudRunV2EmptyDirVolumeSource getEmptyDir()
null for nonepublic GoogleCloudRunV2Volume setEmptyDir(GoogleCloudRunV2EmptyDirVolumeSource emptyDir)
emptyDir - emptyDir or null for nonepublic GoogleCloudRunV2GCSVolumeSource getGcs()
null for nonepublic GoogleCloudRunV2Volume setGcs(GoogleCloudRunV2GCSVolumeSource gcs)
gcs - gcs or null for nonepublic String getName()
null for nonepublic GoogleCloudRunV2Volume setName(String name)
name - name or null for nonepublic GoogleCloudRunV2NFSVolumeSource getNfs()
null for nonepublic GoogleCloudRunV2Volume setNfs(GoogleCloudRunV2NFSVolumeSource nfs)
nfs - nfs or null for nonepublic GoogleCloudRunV2SecretVolumeSource getSecret()
null for nonepublic GoogleCloudRunV2Volume setSecret(GoogleCloudRunV2SecretVolumeSource secret)
secret - secret or null for nonepublic GoogleCloudRunV2Volume set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudRunV2Volume clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.