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.



40074
40075
40076
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40074

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)


40061
40062
40063
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40061

def family
  @family
end

#nameString

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

Returns:

  • (String)


40066
40067
40068
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40066

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)


40072
40073
40074
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40072

def project
  @project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40079
40080
40081
40082
40083
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40079

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