GoogleApi.CloudBuild.V2.Model.PipelineTask (google_api_cloud_build v0.54.0)
View SourcePipelineTask defines a task in a Pipeline.
Attributes
-
name(type:String.t, default:nil) - Name of the task. -
params(type:list(GoogleApi.CloudBuild.V2.Model.Param.t), default:nil) - Params is a list of parameter names and values. -
retries(type:integer(), default:nil) - Retries represents how many times this task should be retried in case of task failure. -
runAfter(type:list(String.t), default:nil) - RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.) -
taskRef(type:GoogleApi.CloudBuild.V2.Model.TaskRef.t, default:nil) - Reference to a specific instance of a task. -
taskSpec(type:GoogleApi.CloudBuild.V2.Model.EmbeddedTask.t, default:nil) - Spec to instantiate this TaskRun. -
timeout(type:String.t, default:nil) - Time after which the TaskRun times out. Defaults to 1 hour. Specified TaskRun timeout should be less than 24h. -
whenExpressions(type:list(GoogleApi.CloudBuild.V2.Model.WhenExpression.t), default:nil) - Conditions that need to be true for the task to run. -
workspaces(type:list(GoogleApi.CloudBuild.V2.Model.WorkspacePipelineTaskBinding.t), default:nil) - Workspaces maps workspaces from the pipeline spec to the workspaces declared in the Task.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CloudBuild.V2.Model.PipelineTask{ name: String.t() | nil, params: [GoogleApi.CloudBuild.V2.Model.Param.t()] | nil, retries: integer() | nil, runAfter: [String.t()] | nil, taskRef: GoogleApi.CloudBuild.V2.Model.TaskRef.t() | nil, taskSpec: GoogleApi.CloudBuild.V2.Model.EmbeddedTask.t() | nil, timeout: String.t() | nil, whenExpressions: [GoogleApi.CloudBuild.V2.Model.WhenExpression.t()] | nil, workspaces: [GoogleApi.CloudBuild.V2.Model.WorkspacePipelineTaskBinding.t()] | nil }