Google Cloud Ai Platform V1 Client - Class ResourceRuntimeSpec (1.31.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
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

hasServiceAccountSpec

clearServiceAccountSpec

setServiceAccountSpec

Optional. Configure the use of workload identity on the PersistentResource

Parameter
Name
Description
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
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: