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

Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.

Attributes

  • description (type: String.t, default: nil) - Description is a human readable string describing how the workspace will be used in the Pipeline.
  • name (type: String.t, default: nil) - Name is the name of a workspace to be provided by a PipelineRun.
  • optional (type: boolean(), default: nil) - Optional marks a Workspace as not being required in PipelineRuns. By default this field is false and so declared workspaces are required.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V2.Model.PipelineWorkspaceDeclaration{
  description: String.t() | nil,
  name: String.t() | nil,
  optional: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.