Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::WorkerPoolSpec (v0.23.0)

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
Returns

#container_spec=

def container_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ContainerSpec
Parameter
Returns

#disk_spec

def disk_spec() -> ::Google::Cloud::AIPlatform::V1::DiskSpec

#disk_spec=

def disk_spec=(value) -> ::Google::Cloud::AIPlatform::V1::DiskSpec
Parameter

#machine_spec

def machine_spec() -> ::Google::Cloud::AIPlatform::V1::MachineSpec
Returns

#machine_spec=

def machine_spec=(value) -> ::Google::Cloud::AIPlatform::V1::MachineSpec
Parameter
Returns

#nfs_mounts

def nfs_mounts() -> ::Array<::Google::Cloud::AIPlatform::V1::NfsMount>
Returns

#nfs_mounts=

def nfs_mounts=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::NfsMount>
Parameter
Returns

#python_package_spec

def python_package_spec() -> ::Google::Cloud::AIPlatform::V1::PythonPackageSpec
Returns

#python_package_spec=

def python_package_spec=(value) -> ::Google::Cloud::AIPlatform::V1::PythonPackageSpec
Parameter
Returns

#replica_count

def replica_count() -> ::Integer
Returns
  • (::Integer) — Optional. The number of worker replicas to use for this worker pool.

#replica_count=

def replica_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The number of worker replicas to use for this worker pool.
Returns
  • (::Integer) — Optional. The number of worker replicas to use for this worker pool.