Class: Google::Apis::ComposerV1::ImageVersion
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1::ImageVersion
- Defined in:
- generated/google/apis/composer_v1/classes.rb,
generated/google/apis/composer_v1/representations.rb,
generated/google/apis/composer_v1/representations.rb
Overview
ImageVersion information
Instance Attribute Summary collapse
-
#image_version_id ⇒ String
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b(.c)" Corresponds to the JSON property
imageVersionId
. -
#is_default ⇒ Boolean
(also: #is_default?)
Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.
-
#supported_python_versions ⇒ Array<String>
supported python versions Corresponds to the JSON property
supportedPythonVersions
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageVersion
constructor
A new instance of ImageVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ImageVersion
Returns a new instance of ImageVersion
191 192 193 |
# File 'generated/google/apis/composer_v1/classes.rb', line 191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_version_id ⇒ String
The string identifier of the ImageVersion, in the form:
"composer-x.y.z-airflow-a.b(.c)"
Corresponds to the JSON property imageVersionId
177 178 179 |
# File 'generated/google/apis/composer_v1/classes.rb', line 177 def image_version_id @image_version_id end |
#is_default ⇒ Boolean Also known as: is_default?
Whether this is the default ImageVersion used by Composer during
environment creation if no input ImageVersion is specified.
Corresponds to the JSON property isDefault
183 184 185 |
# File 'generated/google/apis/composer_v1/classes.rb', line 183 def is_default @is_default end |
#supported_python_versions ⇒ Array<String>
supported python versions
Corresponds to the JSON property supportedPythonVersions
189 190 191 |
# File 'generated/google/apis/composer_v1/classes.rb', line 189 def supported_python_versions @supported_python_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
196 197 198 199 200 |
# File 'generated/google/apis/composer_v1/classes.rb', line 196 def update!(**args) @image_version_id = args[:image_version_id] if args.key?(:image_version_id) @is_default = args[:is_default] if args.key?(:is_default) @supported_python_versions = args[:supported_python_versions] if args.key?(:supported_python_versions) end |