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

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 ServiceAccountSpec

Optional. Configure the use of workload identity on the PersistentResource

↳ ray_spec 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
ServiceAccountSpec|null

hasServiceAccountSpec

clearServiceAccountSpec

setServiceAccountSpec

Optional. Configure the use of workload identity on the PersistentResource

Parameter
Name Description
var ServiceAccountSpec
Returns
Type Description
$this

getRaySpec

Optional. Ray cluster configuration.

Required when creating a dedicated RayCluster on the PersistentResource.

Returns
Type Description
RaySpec|null

hasRaySpec

clearRaySpec

setRaySpec

Optional. Ray cluster configuration.

Required when creating a dedicated RayCluster on the PersistentResource.

Parameter
Name Description
var RaySpec
Returns
Type Description
$this