| Package | Description |
|---|---|
| com.google.api.services.run.v1.model |
| Modifier and Type | Method and Description |
|---|---|
Container |
Container.clone() |
Container |
Container.set(String fieldName,
Object value) |
Container |
Container.setArgs(List<String> args)
Arguments to the entrypoint.
|
Container |
Container.setCommand(List<String> command)
Entrypoint array.
|
Container |
Container.setEnv(List<EnvVar> env)
List of environment variables to set in the container.
|
Container |
Container.setEnvFrom(List<EnvFromSource> envFrom)
Not supported by Cloud Run.
|
Container |
Container.setImage(String image)
Required.
|
Container |
Container.setImagePullPolicy(String imagePullPolicy)
Image pull policy.
|
Container |
Container.setLivenessProbe(Probe livenessProbe)
Periodic probe of container liveness.
|
Container |
Container.setName(String name)
Name of the container specified as a DNS_LABEL (RFC 1123).
|
Container |
Container.setPorts(List<ContainerPort> ports)
List of ports to expose from the container.
|
Container |
Container.setReadinessProbe(Probe readinessProbe)
Not supported by Cloud Run.
|
Container |
Container.setResources(ResourceRequirements resources)
Compute Resources required by this container.
|
Container |
Container.setSecurityContext(SecurityContext securityContext)
Not supported by Cloud Run.
|
Container |
Container.setStartupProbe(Probe startupProbe)
Startup probe of application within the container.
|
Container |
Container.setTerminationMessagePath(String terminationMessagePath)
Path at which the file to which the container's termination message will be written is mounted
into the container's filesystem.
|
Container |
Container.setTerminationMessagePolicy(String terminationMessagePolicy)
Indicate how the termination message should be populated.
|
Container |
Container.setVolumeMounts(List<VolumeMount> volumeMounts)
Volume to mount into the container's filesystem.
|
Container |
Container.setWorkingDir(String workingDir)
Container's working directory.
|
| Modifier and Type | Method and Description |
|---|---|
List<Container> |
TaskSpec.getContainers()
Optional.
|
List<Container> |
RevisionSpec.getContainers()
Required.
|
| Modifier and Type | Method and Description |
|---|---|
TaskSpec |
TaskSpec.setContainers(List<Container> containers)
Optional.
|
RevisionSpec |
RevisionSpec.setContainers(List<Container> containers)
Required.
|
Copyright © 2011–2024 Google. All rights reserved.