Class SandboxTemplate (0.16.3)

SandboxTemplate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Template for a single sandbox.

Attributes

Name Description
name str
Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
image str
Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed.
command MutableSequence[str]
Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
args MutableSequence[str]
Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
env MutableSequence[google.cloud.run_v2.types.EnvVar]
Optional. List of environment variables to set in the sandbox.
volume_mounts MutableSequence[google.cloud.run_v2.types.VolumeMount]
Optional. Volume to mount into the container's filesystem.
working_dir str
Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.