Cloud AI Platform v1 API - Class WorkerPoolSpec (2.28.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
Name Description
other WorkerPoolSpec

Properties

ContainerSpec

public ContainerSpec ContainerSpec { get; set; }

The custom container task.

Property Value
Type Description
ContainerSpec

DiskSpec

public DiskSpec DiskSpec { get; set; }

Disk spec.

Property Value
Type Description
DiskSpec

MachineSpec

public MachineSpec MachineSpec { get; set; }

Optional. Immutable. The specification of a single machine.

Property Value
Type Description
MachineSpec

NfsMounts

public RepeatedField<NfsMount> NfsMounts { get; }

Optional. List of NFS mount spec.

Property Value
Type Description
RepeatedFieldNfsMount

PythonPackageSpec

public PythonPackageSpec PythonPackageSpec { get; set; }

The Python packaged task.

Property Value
Type Description
PythonPackageSpec

ReplicaCount

public long ReplicaCount { get; set; }

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

Property Value
Type Description
long

TaskCase

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