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.



709
710
711
# File 'lib/google/apis/notebooks_v2/classes.rb', line 709

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)


702
703
704
# File 'lib/google/apis/notebooks_v2/classes.rb', line 702

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)


707
708
709
# File 'lib/google/apis/notebooks_v2/classes.rb', line 707

def release_name
  @release_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



714
715
716
717
# File 'lib/google/apis/notebooks_v2/classes.rb', line 714

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