Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeVmImage

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

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) ⇒ GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeVmImage

Returns a new instance of GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeVmImage.



28180
28181
28182
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28180

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)


28167
28168
28169
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28167

def family
  @family
end

#nameString

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

Returns:

  • (String)


28172
28173
28174
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28172

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)


28178
28179
28180
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28178

def project
  @project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28185
28186
28187
28188
28189
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28185

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