Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::WorkerPoolSpec.
Represents the spec of a worker pool in a job.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#container_spec
def container_spec() -> ::Google::Cloud::AIPlatform::V1::ContainerSpec-
(::Google::Cloud::AIPlatform::V1::ContainerSpec) — The custom container task.
Note: The following fields are mutually exclusive:
container_spec,python_package_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
#container_spec=
def container_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ContainerSpec-
value (::Google::Cloud::AIPlatform::V1::ContainerSpec) — The custom container task.
Note: The following fields are mutually exclusive:
container_spec,python_package_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::ContainerSpec) — The custom container task.
Note: The following fields are mutually exclusive:
container_spec,python_package_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
#disk_spec
def disk_spec() -> ::Google::Cloud::AIPlatform::V1::DiskSpec- (::Google::Cloud::AIPlatform::V1::DiskSpec) — Disk spec.
#disk_spec=
def disk_spec=(value) -> ::Google::Cloud::AIPlatform::V1::DiskSpec- value (::Google::Cloud::AIPlatform::V1::DiskSpec) — Disk spec.
- (::Google::Cloud::AIPlatform::V1::DiskSpec) — Disk spec.
#lustre_mounts
def lustre_mounts() -> ::Array<::Google::Cloud::AIPlatform::V1::LustreMount>- (::Array<::Google::Cloud::AIPlatform::V1::LustreMount>) — Optional. List of Lustre mounts.
#lustre_mounts=
def lustre_mounts=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::LustreMount>- value (::Array<::Google::Cloud::AIPlatform::V1::LustreMount>) — Optional. List of Lustre mounts.
- (::Array<::Google::Cloud::AIPlatform::V1::LustreMount>) — Optional. List of Lustre mounts.
#machine_spec
def machine_spec() -> ::Google::Cloud::AIPlatform::V1::MachineSpec- (::Google::Cloud::AIPlatform::V1::MachineSpec) — Optional. Immutable. The specification of a single machine.
#machine_spec=
def machine_spec=(value) -> ::Google::Cloud::AIPlatform::V1::MachineSpec- value (::Google::Cloud::AIPlatform::V1::MachineSpec) — Optional. Immutable. The specification of a single machine.
- (::Google::Cloud::AIPlatform::V1::MachineSpec) — Optional. Immutable. The specification of a single machine.
#nfs_mounts
def nfs_mounts() -> ::Array<::Google::Cloud::AIPlatform::V1::NfsMount>- (::Array<::Google::Cloud::AIPlatform::V1::NfsMount>) — Optional. List of NFS mount spec.
#nfs_mounts=
def nfs_mounts=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::NfsMount>- value (::Array<::Google::Cloud::AIPlatform::V1::NfsMount>) — Optional. List of NFS mount spec.
- (::Array<::Google::Cloud::AIPlatform::V1::NfsMount>) — Optional. List of NFS mount spec.
#python_package_spec
def python_package_spec() -> ::Google::Cloud::AIPlatform::V1::PythonPackageSpec-
(::Google::Cloud::AIPlatform::V1::PythonPackageSpec) — The Python packaged task.
Note: The following fields are mutually exclusive:
python_package_spec,container_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
#python_package_spec=
def python_package_spec=(value) -> ::Google::Cloud::AIPlatform::V1::PythonPackageSpec-
value (::Google::Cloud::AIPlatform::V1::PythonPackageSpec) — The Python packaged task.
Note: The following fields are mutually exclusive:
python_package_spec,container_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::PythonPackageSpec) — The Python packaged task.
Note: The following fields are mutually exclusive:
python_package_spec,container_spec. If a field in that set is populated, all other fields in the set will automatically be cleared.
#replica_count
def replica_count() -> ::Integer- (::Integer) — Optional. The number of worker replicas to use for this worker pool.
#replica_count=
def replica_count=(value) -> ::Integer- value (::Integer) — Optional. The number of worker replicas to use for this worker pool.
- (::Integer) — Optional. The number of worker replicas to use for this worker pool.