public final class GoogleCloudRunV2Container
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 |
|---|
GoogleCloudRunV2Container() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudRunV2Container |
clone() |
List<String> |
getArgs()
Arguments to the entrypoint.
|
String |
getBaseImageUri()
Base image for this container.
|
GoogleCloudRunV2BuildInfo |
getBuildInfo()
Output only.
|
List<String> |
getCommand()
Entrypoint array.
|
List<String> |
getDependsOn()
Names of the containers that must start before this container.
|
List<GoogleCloudRunV2EnvVar> |
getEnv()
List of environment variables to set in the container.
|
String |
getImage()
Required.
|
GoogleCloudRunV2Probe |
getLivenessProbe()
Periodic probe of container liveness.
|
String |
getName()
Name of the container specified as a DNS_LABEL (RFC 1123).
|
List<GoogleCloudRunV2ContainerPort> |
getPorts()
List of ports to expose from the container.
|
GoogleCloudRunV2Probe |
getReadinessProbe()
Readiness probe to be used for health checks.
|
GoogleCloudRunV2ResourceRequirements |
getResources()
Compute Resource requirements by this container.
|
GoogleCloudRunV2SourceCode |
getSourceCode()
Optional.
|
GoogleCloudRunV2Probe |
getStartupProbe()
Startup probe of application within the container.
|
List<GoogleCloudRunV2VolumeMount> |
getVolumeMounts()
Volume to mount into the container's filesystem.
|
String |
getWorkingDir()
Container's working directory.
|
GoogleCloudRunV2Container |
set(String fieldName,
Object value) |
GoogleCloudRunV2Container |
setArgs(List<String> args)
Arguments to the entrypoint.
|
GoogleCloudRunV2Container |
setBaseImageUri(String baseImageUri)
Base image for this container.
|
GoogleCloudRunV2Container |
setBuildInfo(GoogleCloudRunV2BuildInfo buildInfo)
Output only.
|
GoogleCloudRunV2Container |
setCommand(List<String> command)
Entrypoint array.
|
GoogleCloudRunV2Container |
setDependsOn(List<String> dependsOn)
Names of the containers that must start before this container.
|
GoogleCloudRunV2Container |
setEnv(List<GoogleCloudRunV2EnvVar> env)
List of environment variables to set in the container.
|
GoogleCloudRunV2Container |
setImage(String image)
Required.
|
GoogleCloudRunV2Container |
setLivenessProbe(GoogleCloudRunV2Probe livenessProbe)
Periodic probe of container liveness.
|
GoogleCloudRunV2Container |
setName(String name)
Name of the container specified as a DNS_LABEL (RFC 1123).
|
GoogleCloudRunV2Container |
setPorts(List<GoogleCloudRunV2ContainerPort> ports)
List of ports to expose from the container.
|
GoogleCloudRunV2Container |
setReadinessProbe(GoogleCloudRunV2Probe readinessProbe)
Readiness probe to be used for health checks.
|
GoogleCloudRunV2Container |
setResources(GoogleCloudRunV2ResourceRequirements resources)
Compute Resource requirements by this container.
|
GoogleCloudRunV2Container |
setSourceCode(GoogleCloudRunV2SourceCode sourceCode)
Optional.
|
GoogleCloudRunV2Container |
setStartupProbe(GoogleCloudRunV2Probe startupProbe)
Startup probe of application within the container.
|
GoogleCloudRunV2Container |
setVolumeMounts(List<GoogleCloudRunV2VolumeMount> volumeMounts)
Volume to mount into the container's filesystem.
|
GoogleCloudRunV2Container |
setWorkingDir(String workingDir)
Container's working directory.
|
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 List<String> getArgs()
null for nonepublic GoogleCloudRunV2Container setArgs(List<String> args)
args - args or null for nonepublic String getBaseImageUri()
null for nonepublic GoogleCloudRunV2Container setBaseImageUri(String baseImageUri)
baseImageUri - baseImageUri or null for nonepublic GoogleCloudRunV2BuildInfo getBuildInfo()
null for nonepublic GoogleCloudRunV2Container setBuildInfo(GoogleCloudRunV2BuildInfo buildInfo)
buildInfo - buildInfo or null for nonepublic List<String> getCommand()
null for nonepublic GoogleCloudRunV2Container setCommand(List<String> command)
command - command or null for nonepublic List<String> getDependsOn()
null for nonepublic GoogleCloudRunV2Container setDependsOn(List<String> dependsOn)
dependsOn - dependsOn or null for nonepublic List<GoogleCloudRunV2EnvVar> getEnv()
null for nonepublic GoogleCloudRunV2Container setEnv(List<GoogleCloudRunV2EnvVar> env)
env - env or null for nonepublic String getImage()
null for nonepublic GoogleCloudRunV2Container setImage(String image)
image - image or null for nonepublic GoogleCloudRunV2Probe getLivenessProbe()
null for nonepublic GoogleCloudRunV2Container setLivenessProbe(GoogleCloudRunV2Probe livenessProbe)
livenessProbe - livenessProbe or null for nonepublic String getName()
null for nonepublic GoogleCloudRunV2Container setName(String name)
name - name or null for nonepublic List<GoogleCloudRunV2ContainerPort> getPorts()
null for nonepublic GoogleCloudRunV2Container setPorts(List<GoogleCloudRunV2ContainerPort> ports)
ports - ports or null for nonepublic GoogleCloudRunV2Probe getReadinessProbe()
null for nonepublic GoogleCloudRunV2Container setReadinessProbe(GoogleCloudRunV2Probe readinessProbe)
readinessProbe - readinessProbe or null for nonepublic GoogleCloudRunV2ResourceRequirements getResources()
null for nonepublic GoogleCloudRunV2Container setResources(GoogleCloudRunV2ResourceRequirements resources)
resources - resources or null for nonepublic GoogleCloudRunV2SourceCode getSourceCode()
null for nonepublic GoogleCloudRunV2Container setSourceCode(GoogleCloudRunV2SourceCode sourceCode)
sourceCode - sourceCode or null for nonepublic GoogleCloudRunV2Probe getStartupProbe()
null for nonepublic GoogleCloudRunV2Container setStartupProbe(GoogleCloudRunV2Probe startupProbe)
startupProbe - startupProbe or null for nonepublic List<GoogleCloudRunV2VolumeMount> getVolumeMounts()
null for nonepublic GoogleCloudRunV2Container setVolumeMounts(List<GoogleCloudRunV2VolumeMount> volumeMounts)
volumeMounts - volumeMounts or null for nonepublic String getWorkingDir()
null for nonepublic GoogleCloudRunV2Container setWorkingDir(String workingDir)
workingDir - workingDir or null for nonepublic GoogleCloudRunV2Container set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudRunV2Container clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.