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 |
|
|---|---|
| Name | Description |
container_spec |
google.cloud.aiplatform_v1beta1.types.ContainerSpec
The custom container task. This field is a member of oneof_ task.
|
python_package_spec |
google.cloud.aiplatform_v1beta1.types.PythonPackageSpec
The Python packaged task. This field is a member of oneof_ task.
|
machine_spec |
google.cloud.aiplatform_v1beta1.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. |
nfs_mounts |
MutableSequence[google.cloud.aiplatform_v1beta1.types.NfsMount]
Optional. List of NFS mount spec. |
lustre_mounts |
MutableSequence[google.cloud.aiplatform_v1beta1.types.LustreMount]
Optional. List of Lustre mounts. |
disk_spec |
google.cloud.aiplatform_v1beta1.types.DiskSpec
Disk spec. |
Methods
WorkerPoolSpec
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