Class Command
Command describes a step performed as part of the build pipeline.
Implements
Inherited Members
Namespace: Google.Apis.OnDemandScanning.v1.Data
Assembly: Google.Apis.OnDemandScanning.v1.dll
Syntax
public class Command : IDirectResponseSchema
Properties
Args
Command-line arguments used when executing this command.
Declaration
[JsonProperty("args")]
public virtual IList<string> Args { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Dir
Working directory (relative to project source root) used when running this command.
Declaration
[JsonProperty("dir")]
public virtual string Dir { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Env
Environment variables set before running this command.
Declaration
[JsonProperty("env")]
public virtual IList<string> Env { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Id
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker
container, as presented to docker pull
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
WaitFor
The ID(s) of the command(s) that this command depends on.
Declaration
[JsonProperty("waitFor")]
public virtual IList<string> WaitFor { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |