Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntime

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

Configuration for a Workbench Instances-based environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntime

Returns a new instance of GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntime.



40619
40620
40621
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40619

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

Instance Attribute Details

#custom_container_imageGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeContainerImage

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



40611
40612
40613
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40611

def custom_container_image
  @custom_container_image
end

#vm_imageGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeVmImage

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



40617
40618
40619
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40617

def vm_image
  @vm_image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40624
40625
40626
40627
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40624

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