Class WorkerPoolSpec (1.2.0)

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

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

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