Class: Google::Apis::NotebooksV2::ImageRelease
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV2::ImageRelease
- 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
-
#image_name ⇒ String
Output only.
-
#release_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageRelease
constructor
A new instance of ImageRelease.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
Output only. The name of the image of the form workbench-instances-vYYYYmmdd--
Corresponds to the JSON property imageName
733 734 735 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 733 def image_name @image_name end |
#release_name ⇒ String
Output only. The release of the image of the form m123
Corresponds to the JSON property releaseName
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 |