ContainerResponse constructor
Creates a new ContainerResponse.
args Optional. Arguments passed to the entrypoint.
command Optional. If set, overrides the default ENTRYPOINT specified by the image.
env Optional. Environment variables passed to the container's entrypoint.
image Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of preconfigured images, but you can create your own custom container images. If using a private image, the host.gceInstance.serviceAccount field must be specified in the workstation configuration. If using a custom container image, the service account must have Artifact Registry Reader permission to pull the specified image. Otherwise, the image must be publicly accessible.
runAsUser Optional. If set, overrides the USER specified in the image with the given uid.
workingDir Optional. If set, overrides the default DIR specified by the image.
Implementation
const ContainerResponse({
required this.args,
required this.command,
required this.env,
required this.image,
required this.runAsUser,
required this.workingDir,
});