View Source GoogleApi.CloudBuild.V1.Model.WorkerConfig (google_api_cloud_build v0.50.1)

Defines the configuration to be used for creating workers in the pool.

Attributes

  • diskSizeGb (type: String.t, default: nil) - Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 2000. If 0 is specified, Cloud Build will use a standard disk size.
  • machineType (type: String.t, default: nil) - Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.WorkerConfig{
  diskSizeGb: String.t() | nil,
  machineType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.