class Google::Apis::ComposerV1beta1::ImageVersion

Image Version information

Attributes

creation_disabled[RW]

Whether it is impossible to create an environment with the image version. Corresponds to the JSON property `creationDisabled` @return [Boolean]

creation_disabled?[RW]

Whether it is impossible to create an environment with the image version. Corresponds to the JSON property `creationDisabled` @return [Boolean]

image_version_id[RW]

The string identifier of the ImageVersion, in the form: “composer-x.y.z- airflow-a.b(.c)” Corresponds to the JSON property `imageVersionId` @return [String]

is_default[RW]

Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. Corresponds to the JSON property `isDefault` @return [Boolean]

is_default?[RW]

Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. Corresponds to the JSON property `isDefault` @return [Boolean]

release_date[RW]

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and ` google.protobuf.Timestamp`. Corresponds to the JSON property `releaseDate` @return [Google::Apis::ComposerV1beta1::Date]

supported_python_versions[RW]

supported python versions Corresponds to the JSON property `supportedPythonVersions` @return [Array<String>]

upgrade_disabled[RW]

Whether it is impossible to upgrade an environment running with the image version. Corresponds to the JSON property `upgradeDisabled` @return [Boolean]

upgrade_disabled?[RW]

Whether it is impossible to upgrade an environment running with the image version. Corresponds to the JSON property `upgradeDisabled` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/composer_v1beta1/classes.rb, line 546
def update!(**args)
  @creation_disabled = args[:creation_disabled] if args.key?(:creation_disabled)
  @image_version_id = args[:image_version_id] if args.key?(:image_version_id)
  @is_default = args[:is_default] if args.key?(:is_default)
  @release_date = args[:release_date] if args.key?(:release_date)
  @supported_python_versions = args[:supported_python_versions] if args.key?(:supported_python_versions)
  @upgrade_disabled = args[:upgrade_disabled] if args.key?(:upgrade_disabled)
end