Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec

Inherits:
Object
  • Object
show all
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

Compute configuration to use for an execution job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec

Returns a new instance of GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec.



19556
19557
19558
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19556

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#machine_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec

Specification of a single machine. Corresponds to the JSON property machineSpec



19544
19545
19546
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19544

def machine_spec
  @machine_spec
end

#network_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec

Network spec. Corresponds to the JSON property networkSpec



19549
19550
19551
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19549

def network_spec
  @network_spec
end

#persistent_disk_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PersistentDiskSpec

Represents the spec of persistent disk options. Corresponds to the JSON property persistentDiskSpec



19554
19555
19556
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19554

def persistent_disk_spec
  @persistent_disk_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19561
19562
19563
19564
19565
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19561

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