Skip to main content

image_versions

Creates, updates, deletes, gets or lists a image_versions resource.

Overview

Nameimage_versions
TypeResource
Idgoogle.composer.image_versions

Fields

NameDatatypeDescription
creationDisabledbooleanWhether it is impossible to create an environment with the image version.
imageVersionIdstringThe string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c"
isDefaultbooleanWhether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified.
releaseDateobjectRepresents 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, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date). Related types: google.type.TimeOfDay google.type.DateTime * google.protobuf.Timestamp
supportedPythonVersionsarraysupported python versions
upgradeDisabledbooleanWhether it is impossible to upgrade an environment running with the image version.

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocationsId, projectsIdList ImageVersions for provided location.

SELECT examples

List ImageVersions for provided location.

SELECT
creationDisabled,
imageVersionId,
isDefault,
releaseDate,
supportedPythonVersions,
upgradeDisabled
FROM google.composer.image_versions
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';