View Source GoogleApi.CloudBuild.V2.Model.TaskRef (google_api_cloud_build v0.50.1)

TaskRef can be used to refer to a specific instance of a task. PipelineRef can be used to refer to a specific instance of 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 contains the parameters used to identify the referenced Tekton resource. Example entries might include "repo" or "path" but the set of params ultimately depends on the chosen resolver.
  • resolver (type: String.t, default: nil) - Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V2.Model.TaskRef{
  name: String.t() | nil,
  params: [GoogleApi.CloudBuild.V2.Model.Param.t()] | nil,
  resolver: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.