Class WorkerConfig (3.32.0)

WorkerConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
machine_type str
Optional. Machine type of a worker, such as e2-medium. See `Worker pool config file
disk_size_gb int
Size of the disk attached to the worker, in GB. See `Worker pool config file
enable_nested_virtualization bool
Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled. This field is a member of oneof_ _enable_nested_virtualization.