Show / Hide Table of Contents

Class Container

A Docker container.

Inheritance
object
Container
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudWorkstations.v1.Data
Assembly: Google.Apis.CloudWorkstations.v1.dll
Syntax
public class Container : IDirectResponseSchema

Properties

Args

Optional. Arguments passed to the entrypoint.

Declaration
[JsonProperty("args")]
public virtual IList<string> Args { get; set; }
Property Value
Type Description
IList<string>

Command

Optional. If set, overrides the default ENTRYPOINT specified by the image.

Declaration
[JsonProperty("command")]
public virtual IList<string> Command { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Env

Optional. Environment variables passed to the container's entrypoint.

Declaration
[JsonProperty("env")]
public virtual IDictionary<string, string> Env { get; set; }
Property Value
Type Description
IDictionary<string, string>

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.

Declaration
[JsonProperty("image")]
public virtual string Image { get; set; }
Property Value
Type Description
string

RunAsUser

Optional. If set, overrides the USER specified in the image with the given uid.

Declaration
[JsonProperty("runAsUser")]
public virtual int? RunAsUser { get; set; }
Property Value
Type Description
int?

WorkingDir

Optional. If set, overrides the default DIR specified by the image.

Declaration
[JsonProperty("workingDir")]
public virtual string WorkingDir { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX