Cloud AI Platform v1 API - Class WorkerPoolSpec (2.24.0)

public sealed class WorkerPoolSpec : IMessage<WorkerPoolSpec>, IEquatable<WorkerPoolSpec>, IDeepCloneable<WorkerPoolSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class WorkerPoolSpec.

Represents the spec of a worker pool in a job.

Inheritance

object > WorkerPoolSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

WorkerPoolSpec()

public WorkerPoolSpec()

WorkerPoolSpec(WorkerPoolSpec)

public WorkerPoolSpec(WorkerPoolSpec other)
Parameter
NameDescription
otherWorkerPoolSpec

Properties

ContainerSpec

public ContainerSpec ContainerSpec { get; set; }

The custom container task.

Property Value
TypeDescription
ContainerSpec

DiskSpec

public DiskSpec DiskSpec { get; set; }

Disk spec.

Property Value
TypeDescription
DiskSpec

MachineSpec

public MachineSpec MachineSpec { get; set; }

Optional. Immutable. The specification of a single machine.

Property Value
TypeDescription
MachineSpec

NfsMounts

public RepeatedField<NfsMount> NfsMounts { get; }

Optional. List of NFS mount spec.

Property Value
TypeDescription
RepeatedFieldNfsMount

PythonPackageSpec

public PythonPackageSpec PythonPackageSpec { get; set; }

The Python packaged task.

Property Value
TypeDescription
PythonPackageSpec

ReplicaCount

public long ReplicaCount { get; set; }

Optional. The number of worker replicas to use for this worker pool.

Property Value
TypeDescription
long

TaskCase

public WorkerPoolSpec.TaskOneofCase TaskCase { get; }
Property Value
TypeDescription
WorkerPoolSpecTaskOneofCase