Class GoogleCloudRunV2SandboxTemplate
Template for a single sandbox.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleCloudRunV2SandboxTemplate : IDirectResponseSchema
Properties
Args
Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
Declaration
[JsonProperty("args")]
public virtual IList<string> Args { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Command
Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
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. List of environment variables to set in the sandbox.
Declaration
[JsonProperty("env")]
public virtual IList<GoogleCloudRunV2EnvVar> Env { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudRunV2EnvVar> |
Image
Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed.
Declaration
[JsonProperty("image")]
public virtual string Image { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VolumeMounts
Optional. Volume to mount into the container's filesystem.
Declaration
[JsonProperty("volumeMounts")]
public virtual IList<GoogleCloudRunV2VolumeMount> VolumeMounts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudRunV2VolumeMount> |
WorkingDir
Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
Declaration
[JsonProperty("workingDir")]
public virtual string WorkingDir { get; set; }
Property Value
| Type | Description |
|---|---|
| string |