Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec

Returns a new instance of GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec.



40413
40414
40415
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40413

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

Instance Attribute Details

#machine_specGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec

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



40394
40395
40396
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40394

def machine_spec
  @machine_spec
end

#network_specGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NetworkSpec

Network spec. Corresponds to the JSON property networkSpec



40399
40400
40401
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40399

def network_spec
  @network_spec
end

#persistent_disk_specGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentDiskSpec

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



40404
40405
40406
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40404

def persistent_disk_spec
  @persistent_disk_spec
end

#shielded_instance_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpecShieldedInstanceConfig

A set of Shielded VM options for the execution VM. Mirrors google.cloud. notebooks.v2.ShieldedInstanceConfig. See https://cloud.google.com/compute/ docs/instances/modifying-shielded-vm. Corresponds to the JSON property shieldedInstanceConfig



40411
40412
40413
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40411

def shielded_instance_config
  @shielded_instance_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40418
40419
40420
40421
40422
40423
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40418

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)
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
end