public final class RevisionSpec 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 |
|---|
RevisionSpec() |
| Modifier and Type | Method and Description |
|---|---|
RevisionSpec |
clone() |
Integer |
getContainerConcurrency()
(Optional) ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests
per container instance of the Revision.
|
List<Container> |
getContainers()
Containers holds the single container that defines the unit of execution for this Revision.
|
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)
(Optional) ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests
per container instance of the Revision.
|
RevisionSpec |
setContainers(List<Container> containers)
Containers holds the single container that defines the unit of execution for this Revision.
|
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 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 GenericJsonpublic RevisionSpec clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.