Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeVmImage

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeVmImage

Returns a new instance of GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeVmImage.



40613
40614
40615
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40613

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

Instance Attribute Details

#familyString

Use this VM image family to find the image; the newest image in this family is used. Corresponds to the JSON property family

Returns:

  • (String)


40600
40601
40602
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40600

def family
  @family
end

#nameString

Use this VM image name to find the image. Corresponds to the JSON property name

Returns:

  • (String)


40605
40606
40607
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40605

def name
  @name
end

#projectString

Required. The name of the Google Cloud project that this VM image belongs to. Format: project_id. Corresponds to the JSON property project

Returns:

  • (String)


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

def project
  @project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @family = args[:family] if args.key?(:family)
  @name = args[:name] if args.key?(:name)
  @project = args[:project] if args.key?(:project)
end