Google Cloud Ai Platform V1 Client - Class CustomEnvironmentSpec (1.13.0)

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

Compute configuration to use for an execution job.

Generated from protobuf message google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpec

Namespace

Google \ Cloud \ AIPlatform \ V1 \ NotebookExecutionJob

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ machine_spec Google\Cloud\AIPlatform\V1\MachineSpec

The specification of a single machine for the execution job.

↳ persistent_disk_spec Google\Cloud\AIPlatform\V1\PersistentDiskSpec

The specification of a persistent disk to attach for the execution job.

↳ network_spec Google\Cloud\AIPlatform\V1\NetworkSpec

The network configuration to use for the execution job.

getMachineSpec

The specification of a single machine for the execution job.

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

hasMachineSpec

clearMachineSpec

setMachineSpec

The specification of a single machine for the execution job.

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

getPersistentDiskSpec

The specification of a persistent disk to attach for the execution job.

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

hasPersistentDiskSpec

clearPersistentDiskSpec

setPersistentDiskSpec

The specification of a persistent disk to attach for the execution job.

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

getNetworkSpec

The network configuration to use for the execution job.

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

hasNetworkSpec

clearNetworkSpec

setNetworkSpec

The network configuration to use for the execution job.

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