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.



28120
28121
28122
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28120

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



28112
28113
28114
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28112

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



28118
28119
28120
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28118

def vm_image
  @vm_image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28125
28126
28127
28128
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28125

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