image_versions
Creates, updates, deletes, gets or lists a image_versions
resource.
Overview
Name | image_versions |
Type | Resource |
Id | google.composer.image_versions |
Fields
Name | Datatype | Description |
---|---|---|
creationDisabled | boolean | Whether it is impossible to create an environment with the image version. |
imageVersionId | string | The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c" |
isDefault | boolean | Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. |
releaseDate | object | 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, 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 |
supportedPythonVersions | array | supported python versions |
upgradeDisabled | boolean | Whether it is impossible to upgrade an environment running with the image version. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | locationsId, projectsId | List 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 }}';