Cloud AI Platform v1 API - Class WorkerPoolSpec (2.7.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
RepeatedField<NfsMount>

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
Int64

TaskCase

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