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.



40553
40554
40555
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40553

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



40545
40546
40547
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40545

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



40551
40552
40553
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40551

def vm_image
  @vm_image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40558
40559
40560
40561
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40558

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