Google Cloud Ai Platform V1 Client - Class ResourceRuntimeSpec (1.6.0)

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

Configuration for the runtime on a PersistentResource instance, including but not limited to:

  • Service accounts used to run the workloads.

  • Whether to make it a dedicated Ray Cluster.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ service_account_spec Google\Cloud\AIPlatform\V1\ServiceAccountSpec

Optional. Configure the use of workload identity on the PersistentResource

↳ ray_spec Google\Cloud\AIPlatform\V1\RaySpec

Optional. Ray cluster configuration. Required when creating a dedicated RayCluster on the PersistentResource.

getServiceAccountSpec

Optional. Configure the use of workload identity on the PersistentResource

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

hasServiceAccountSpec

clearServiceAccountSpec

setServiceAccountSpec

Optional. Configure the use of workload identity on the PersistentResource

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

getRaySpec

Optional. Ray cluster configuration.

Required when creating a dedicated RayCluster on the PersistentResource.

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

hasRaySpec

clearRaySpec

setRaySpec

Optional. Ray cluster configuration.

Required when creating a dedicated RayCluster on the PersistentResource.

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