class Google::Apis::NotebooksV1::VmImage

Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.

Attributes

image_family[RW]

Use this VM image family to find the image; the newest image in this family will be used. Corresponds to the JSON property `imageFamily` @return [String]

image_name[RW]

Use VM image name to find the image. Corresponds to the JSON property `imageName` @return [String]

project[RW]

Required. The name of the Google Cloud project that this VM image belongs to. Format: `projects/`project_id“ Corresponds to the JSON property `project` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/notebooks_v1/classes.rb, line 2889
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/notebooks_v1/classes.rb, line 2894
def update!(**args)
  @image_family = args[:image_family] if args.key?(:image_family)
  @image_name = args[:image_name] if args.key?(:image_name)
  @project = args[:project] if args.key?(:project)
end