Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ResourceRuntimeSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ResourceRuntimeSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RaySpec
Configuration information for the Ray cluster.
-
#service_account_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ServiceAccountSpec
Configuration for the use of custom service account to run the workloads.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ResourceRuntimeSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1ResourceRuntimeSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ResourceRuntimeSpec
Returns a new instance of GoogleCloudAiplatformV1beta1ResourceRuntimeSpec.
23814 23815 23816 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23814 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ray_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RaySpec
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
23807 23808 23809 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23807 def ray_spec @ray_spec end |
#service_account_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ServiceAccountSpec
Configuration for the use of custom service account to run the workloads.
Corresponds to the JSON property serviceAccountSpec
23812 23813 23814 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23812 def service_account_spec @service_account_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23819 23820 23821 23822 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23819 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 |