Class ContainerTask
This task is represented by a container that is executed in the Cloud Build execution environment.
Implements
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class ContainerTask : IDirectResponseSchema
Properties
Args
Optional. Args is the container arguments to use. This overrides the default arguments defined in the container image.
Declaration
[JsonProperty("args")]
public virtual IList<string> Args { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Command
Optional. Command is the container entrypoint to use. This overrides the default entrypoint defined in the container 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 that are set in the container.
Declaration
[JsonProperty("env")]
public virtual IDictionary<string, string> Env { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Image
Required. Image is the container image to use.
Declaration
[JsonProperty("image")]
public virtual string Image { get; set; }
Property Value
| Type | Description |
|---|---|
| string |