Show / Hide Table of Contents

Class PipelineTask

PipelineTask defines a task in a Pipeline.

Inheritance
object
PipelineTask
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.CloudBuild.v2.Data
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class PipelineTask : IDirectResponseSchema

Properties

ETag

The ETag of the item.

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

Name

Name of the task.

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

Params__

Params is a list of parameter names and values.

Declaration
[JsonProperty("params")]
public virtual IList<Param> Params__ { get; set; }
Property Value
Type Description
IList<Param>

Retries

Retries represents how many times this task should be retried in case of task failure.

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

RunAfter

RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)

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

TaskRef

Reference to a specific instance of a task.

Declaration
[JsonProperty("taskRef")]
public virtual TaskRef TaskRef { get; set; }
Property Value
Type Description
TaskRef

TaskSpec

Spec to instantiate this TaskRun.

Declaration
[JsonProperty("taskSpec")]
public virtual EmbeddedTask TaskSpec { get; set; }
Property Value
Type Description
EmbeddedTask

Timeout

Time after which the TaskRun times out. Defaults to 1 hour. Specified TaskRun timeout should be less than 24h.

Declaration
[JsonProperty("timeout")]
public virtual object Timeout { get; set; }
Property Value
Type Description
object

WhenExpressions

Conditions that need to be true for the task to run.

Declaration
[JsonProperty("whenExpressions")]
public virtual IList<WhenExpression> WhenExpressions { get; set; }
Property Value
Type Description
IList<WhenExpression>

Workspaces

Workspaces maps workspaces from the pipeline spec to the workspaces declared in the Task.

Declaration
[JsonProperty("workspaces")]
public virtual IList<WorkspacePipelineTaskBinding> Workspaces { get; set; }
Property Value
Type Description
IList<WorkspacePipelineTaskBinding>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX