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

TaskSpec contains the Spec to instantiate a TaskRun.

Attributes

  • description (type: String.t, default: nil) - Description of the task.
  • managedSidecars (type: list(String.t), default: nil) - Sidecars that run alongside the Task’s step containers that should be added to this Task.
  • params (type: list(GoogleApi.CloudBuild.V2.Model.ParamSpec.t), default: nil) - List of parameters.
  • results (type: list(GoogleApi.CloudBuild.V2.Model.TaskResult.t), default: nil) - Values that this Task can output.
  • sidecars (type: list(GoogleApi.CloudBuild.V2.Model.Sidecar.t), default: nil) - Sidecars that run alongside the Task's step containers.
  • stepTemplate (type: GoogleApi.CloudBuild.V2.Model.StepTemplate.t, default: nil) - 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.
  • steps (type: list(GoogleApi.CloudBuild.V2.Model.Step.t), default: nil) - Steps of the task.
  • volumes (type: list(GoogleApi.CloudBuild.V2.Model.VolumeSource.t), default: nil) - A collection of volumes that are available to mount into steps.
  • workspaces (type: list(GoogleApi.CloudBuild.V2.Model.WorkspaceDeclaration.t), default: nil) - The volumes that this Task requires.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V2.Model.TaskSpec{
  description: String.t() | nil,
  managedSidecars: [String.t()] | nil,
  params: [GoogleApi.CloudBuild.V2.Model.ParamSpec.t()] | nil,
  results: [GoogleApi.CloudBuild.V2.Model.TaskResult.t()] | nil,
  sidecars: [GoogleApi.CloudBuild.V2.Model.Sidecar.t()] | nil,
  stepTemplate: GoogleApi.CloudBuild.V2.Model.StepTemplate.t() | nil,
  steps: [GoogleApi.CloudBuild.V2.Model.Step.t()] | nil,
  volumes: [GoogleApi.CloudBuild.V2.Model.VolumeSource.t()] | nil,
  workspaces: [GoogleApi.CloudBuild.V2.Model.WorkspaceDeclaration.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.