Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime

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

Configuration for a Workbench Instances-based environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime

Returns a new instance of GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntime.



28583
28584
28585
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28583

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

Instance Attribute Details

#custom_container_imageGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeContainerImage

The definition of a user-provided container image to run the notebook execution in. Mirrors google.cloud.notebooks.v2.ContainerImage. Corresponds to the JSON property customContainerImage



28575
28576
28577
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28575

def custom_container_image
  @custom_container_image
end

#vm_imageGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeVmImage

The definition of a Compute Engine VM image to run the notebook execution on. Mirrors google.cloud.notebooks.v2.VmImage. Corresponds to the JSON property vmImage



28581
28582
28583
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28581

def vm_image
  @vm_image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28588
28589
28590
28591
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28588

def update!(**args)
  @custom_container_image = args[:custom_container_image] if args.key?(:custom_container_image)
  @vm_image = args[:vm_image] if args.key?(:vm_image)
end