Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourceRuntimeSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResourceRuntimeSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#ray_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RaySpec
Configuration information for the Ray cluster.
-
#service_account_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServiceAccountSpec
Configuration for the use of custom service account to run the workloads.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ResourceRuntimeSpec
constructor
A new instance of GoogleCloudAiplatformV1ResourceRuntimeSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ResourceRuntimeSpec
Returns a new instance of GoogleCloudAiplatformV1ResourceRuntimeSpec.
20569 20570 20571 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20569 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ray_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RaySpec
Configuration information for the Ray cluster. For experimental launch, Ray
cluster creation and Persistent cluster creation are 1:1 mapping: We will
provision all the nodes within the Persistent cluster as Ray nodes.
Corresponds to the JSON property raySpec
20562 20563 20564 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20562 def ray_spec @ray_spec end |
#service_account_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServiceAccountSpec
Configuration for the use of custom service account to run the workloads.
Corresponds to the JSON property serviceAccountSpec
20567 20568 20569 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20567 def service_account_spec @service_account_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20574 20575 20576 20577 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20574 def update!(**args) @ray_spec = args[:ray_spec] if args.key?(:ray_spec) @service_account_spec = args[:service_account_spec] if args.key?(:service_account_spec) end |