Class: Google::Apis::NotebooksV2::ImageRelease

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/notebooks_v2/classes.rb,
lib/google/apis/notebooks_v2/representations.rb,
lib/google/apis/notebooks_v2/representations.rb

Overview

ConfigImage represents an image release available to create a WbI

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImageRelease

Returns a new instance of ImageRelease.



740
741
742
# File 'lib/google/apis/notebooks_v2/classes.rb', line 740

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

Instance Attribute Details

#image_nameString

Output only. The name of the image of the form workbench-instances-vYYYYmmdd-- Corresponds to the JSON property imageName

Returns:

  • (String)


733
734
735
# File 'lib/google/apis/notebooks_v2/classes.rb', line 733

def image_name
  @image_name
end

#release_nameString

Output only. The release of the image of the form m123 Corresponds to the JSON property releaseName

Returns:

  • (String)


738
739
740
# File 'lib/google/apis/notebooks_v2/classes.rb', line 738

def release_name
  @release_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



745
746
747
748
# File 'lib/google/apis/notebooks_v2/classes.rb', line 745

def update!(**args)
  @image_name = args[:image_name] if args.key?(:image_name)
  @release_name = args[:release_name] if args.key?(:release_name)
end