Class TaskSpec
TaskSpec contains the Spec to instantiate a TaskRun.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class TaskSpec : IDirectResponseSchema
Properties
Description
Description of the task.
Declaration
[JsonProperty("description")]
public virtual string Description { 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 |
ManagedSidecars
Sidecars that run alongside the Task’s step containers that should be added to this Task.
Declaration
[JsonProperty("managedSidecars")]
public virtual IList<string> ManagedSidecars { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Params__
List of parameters.
Declaration
[JsonProperty("params")]
public virtual IList<ParamSpec> Params__ { get; set; }
Property Value
Type | Description |
---|---|
IList<ParamSpec> |
Results
Values that this Task can output.
Declaration
[JsonProperty("results")]
public virtual IList<TaskResult> Results { get; set; }
Property Value
Type | Description |
---|---|
IList<TaskResult> |
Sidecars
Sidecars that run alongside the Task's step containers.
Declaration
[JsonProperty("sidecars")]
public virtual IList<Sidecar> Sidecars { get; set; }
Property Value
Type | Description |
---|---|
IList<Sidecar> |
StepTemplate
Optional. StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.
Declaration
[JsonProperty("stepTemplate")]
public virtual StepTemplate StepTemplate { get; set; }
Property Value
Type | Description |
---|---|
StepTemplate |
Steps
Steps of the task.
Declaration
[JsonProperty("steps")]
public virtual IList<Step> Steps { get; set; }
Property Value
Type | Description |
---|---|
IList<Step> |
Volumes
A collection of volumes that are available to mount into steps.
Declaration
[JsonProperty("volumes")]
public virtual IList<VolumeSource> Volumes { get; set; }
Property Value
Type | Description |
---|---|
IList<VolumeSource> |
Workspaces
The volumes that this Task requires.
Declaration
[JsonProperty("workspaces")]
public virtual IList<WorkspaceDeclaration> Workspaces { get; set; }
Property Value
Type | Description |
---|---|
IList<WorkspaceDeclaration> |