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

WorkspaceBinding maps a workspace to a Volume. PipelineRef can be used to refer to a specific instance of a Pipeline.

Attributes

  • name (type: String.t, default: nil) - Name of the workspace.
  • secret (type: GoogleApi.CloudBuild.V2.Model.SecretVolumeSource.t, default: nil) - Secret Volume Source.
  • subPath (type: String.t, default: nil) - Optional. SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory). +optional

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V2.Model.WorkspaceBinding{
  name: String.t() | nil,
  secret: GoogleApi.CloudBuild.V2.Model.SecretVolumeSource.t() | nil,
  subPath: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.