Class WorkerPoolSpec (1.10.0)

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

Represents the spec of a worker pool in a job.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

NameDescription
container_spec google.cloud.aiplatform_v1.types.ContainerSpec
The custom container task. This field is a member of `oneof`_ ``task``.
python_package_spec google.cloud.aiplatform_v1.types.PythonPackageSpec
The Python packaged task. This field is a member of `oneof`_ ``task``.
machine_spec google.cloud.aiplatform_v1.types.MachineSpec
Optional. Immutable. The specification of a single machine.
replica_count int
Optional. The number of worker replicas to use for this worker pool.
disk_spec google.cloud.aiplatform_v1.types.DiskSpec
Disk spec.

Inheritance

builtins.object > proto.message.Message > WorkerPoolSpec