Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class WorkerPoolSpec.
Represents the spec of a worker pool in a job.
Generated from protobuf message google.cloud.aiplatform.v1.WorkerPoolSpec
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ container_spec
↳ python_package_spec
↳ machine_spec
↳ replica_count
int|string
Optional. The number of worker replicas to use for this worker pool.
↳ nfs_mounts
↳ lustre_mounts
↳ disk_spec
getContainerSpec
The custom container task.
hasContainerSpec
setContainerSpec
The custom container task.
$this
getPythonPackageSpec
The Python packaged task.
hasPythonPackageSpec
setPythonPackageSpec
The Python packaged task.
$this
getMachineSpec
Optional. Immutable. The specification of a single machine.
hasMachineSpec
clearMachineSpec
setMachineSpec
Optional. Immutable. The specification of a single machine.
$this
getReplicaCount
Optional. The number of worker replicas to use for this worker pool.
int|string
setReplicaCount
Optional. The number of worker replicas to use for this worker pool.
var
int|string
$this
getNfsMounts
Optional. List of NFS mount spec.
setNfsMounts
Optional. List of NFS mount spec.
$this
getLustreMounts
Optional. List of Lustre mounts.
setLustreMounts
Optional. List of Lustre mounts.
$this
getDiskSpec
Disk spec.
hasDiskSpec
clearDiskSpec
setDiskSpec
Disk spec.
$this
getTask
string

