class Google::Apis::ComposerV1beta1::CheckUpgradeRequest

Request to check whether image upgrade will succeed.

Attributes

image_version[RW]

The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-(\.[0-9].+|latest)- airflow-\.[0-9](.+.*)?`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the version is a [semantic version](semver.org) or `latest`. When the patch version is omitted, the current Cloud Composer patch version is selected. When `latest` is provided instead of an explicit version number, the server replaces `latest` with the current Cloud Composer version and stores that version number in the same field. The portion of the image version that follows `airflow-` is an official Apache Airflow repository [release name](github.com/apache/ incubator-airflow/releases). See also [Version List] (/composer/docs/concepts/ versioning/composer-versions). Corresponds to the JSON property `imageVersion` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/composer_v1beta1/classes.rb, line 76
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 81
def update!(**args)
  @image_version = args[:image_version] if args.key?(:image_version)
end