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

WorkspaceDeclaration is a declaration of a volume that a Task requires.

Attributes

  • description (type: String.t, default: nil) - Description is a human readable description of this volume.
  • mountPath (type: String.t, default: nil) - MountPath overrides the directory that the volume will be made available at.
  • name (type: String.t, default: nil) - Name is the name by which you can bind the volume at runtime.
  • optional (type: boolean(), default: nil) - Optional. Optional marks a Workspace as not being required in TaskRuns. By default this field is false and so declared workspaces are required.
  • readOnly (type: boolean(), default: nil) - ReadOnly dictates whether a mounted volume is writable.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.