Google Cloud Ai Platform V1 Client - Class BatchDedicatedResources (0.37.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class BatchDedicatedResources.

A description of resources that are used for performing batch operations, are dedicated to a Model, and need manual configuration.

Generated from protobuf message google.cloud.aiplatform.v1.BatchDedicatedResources

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ machine_spec Google\Cloud\AIPlatform\V1\MachineSpec

Required. Immutable. The specification of a single machine.

↳ starting_replica_count int

Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count

↳ max_replica_count int

Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10.

getMachineSpec

Required. Immutable. The specification of a single machine.

Returns
Type Description
Google\Cloud\AIPlatform\V1\MachineSpec|null

hasMachineSpec

clearMachineSpec

setMachineSpec

Required. Immutable. The specification of a single machine.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\MachineSpec
Returns
Type Description
$this

getStartingReplicaCount

Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count

Returns
Type Description
int

setStartingReplicaCount

Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count

Parameter
Name Description
var int
Returns
Type Description
$this

getMaxReplicaCount

Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10.

Returns
Type Description
int

setMaxReplicaCount

Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10.

Parameter
Name Description
var int
Returns
Type Description
$this