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.



40014
40015
40016
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40014

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



40006
40007
40008
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40006

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



40012
40013
40014
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40012

def vm_image
  @vm_image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40019
40020
40021
40022
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40019

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