public final class RevisionSpec
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 |
|---|
RevisionSpec() |
| Modifier and Type | Method and Description |
|---|---|
RevisionSpec |
clone() |
Integer |
getContainerConcurrency()
ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per
container instance of the Revision.
|
List<Container> |
getContainers()
Required.
|
Boolean |
getEnableServiceLinks()
Not supported by Cloud Run.
|
List<LocalObjectReference> |
getImagePullSecrets()
Not supported by Cloud Run.
|
Map<String,String> |
getNodeSelector()
Optional.
|
String |
getServiceAccountName()
Email address of the IAM service account associated with the revision of the service.
|
Integer |
getTimeoutSeconds()
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
|
List<Volume> |
getVolumes() |
RevisionSpec |
set(String fieldName,
Object value) |
RevisionSpec |
setContainerConcurrency(Integer containerConcurrency)
ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per
container instance of the Revision.
|
RevisionSpec |
setContainers(List<Container> containers)
Required.
|
RevisionSpec |
setEnableServiceLinks(Boolean enableServiceLinks)
Not supported by Cloud Run.
|
RevisionSpec |
setImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
Not supported by Cloud Run.
|
RevisionSpec |
setNodeSelector(Map<String,String> nodeSelector)
Optional.
|
RevisionSpec |
setServiceAccountName(String serviceAccountName)
Email address of the IAM service account associated with the revision of the service.
|
RevisionSpec |
setTimeoutSeconds(Integer timeoutSeconds)
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
|
RevisionSpec |
setVolumes(List<Volume> volumes) |
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 getContainerConcurrency()
null for nonepublic RevisionSpec setContainerConcurrency(Integer containerConcurrency)
containerConcurrency - containerConcurrency or null for nonepublic List<Container> getContainers()
null for nonepublic RevisionSpec setContainers(List<Container> containers)
containers - containers or null for nonepublic Boolean getEnableServiceLinks()
null for nonepublic RevisionSpec setEnableServiceLinks(Boolean enableServiceLinks)
enableServiceLinks - enableServiceLinks or null for nonepublic List<LocalObjectReference> getImagePullSecrets()
null for nonepublic RevisionSpec setImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
imagePullSecrets - imagePullSecrets or null for nonepublic Map<String,String> getNodeSelector()
null for nonepublic RevisionSpec setNodeSelector(Map<String,String> nodeSelector)
nodeSelector - nodeSelector or null for nonepublic String getServiceAccountName()
null for nonepublic RevisionSpec setServiceAccountName(String serviceAccountName)
serviceAccountName - serviceAccountName or null for nonepublic Integer getTimeoutSeconds()
null for nonepublic RevisionSpec setTimeoutSeconds(Integer timeoutSeconds)
timeoutSeconds - timeoutSeconds or null for nonepublic RevisionSpec setVolumes(List<Volume> volumes)
volumes - volumes or null for nonepublic RevisionSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RevisionSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.