Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec
- 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
Compute configuration to use for an execution job.
Instance Attribute Summary collapse
-
#machine_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec
Specification of a single machine.
-
#network_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NetworkSpec
Network spec.
-
#persistent_disk_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentDiskSpec
Represents the spec of persistent disk options.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec
Returns a new instance of GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec.
21621 21622 21623 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec
Specification of a single machine.
Corresponds to the JSON property machineSpec
21609 21610 21611 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21609 def machine_spec @machine_spec end |
#network_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NetworkSpec
Network spec.
Corresponds to the JSON property networkSpec
21614 21615 21616 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21614 def network_spec @network_spec end |
#persistent_disk_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentDiskSpec
Represents the spec of persistent disk options.
Corresponds to the JSON property persistentDiskSpec
21619 21620 21621 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21619 def persistent_disk_spec @persistent_disk_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21626 21627 21628 21629 21630 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21626 def update!(**args) @machine_spec = args[:machine_spec] if args.key?(:machine_spec) @network_spec = args[:network_spec] if args.key?(:network_spec) @persistent_disk_spec = args[:persistent_disk_spec] if args.key?(:persistent_disk_spec) end |