Class: Google::Cloud::Build::V1::PrivatePoolV1Config::WorkerConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#disk_size_gb::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



2199
2200
2201
2202
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2199

class WorkerConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#machine_type::String

Returns Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.

Returns:

  • (::String)

    Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.



2199
2200
2201
2202
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2199

class WorkerConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end