image_versions
Creates, updates, deletes, gets or lists an image_versions
resource.
Overview
Name | image_versions |
Type | Resource |
Id | google.composer.image_versions |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
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 | The date of the version release. (id: Date) |
supportedPythonVersions | array | supported python versions |
upgradeDisabled | boolean | Whether it is impossible to upgrade an environment running with the image version. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | projectsId , locationsId | pageSize , pageToken , includePastReleases | List ImageVersions for provided location. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string | |
includePastReleases | boolean | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- list
List ImageVersions for provided location.
SELECT
creationDisabled,
imageVersionId,
isDefault,
releaseDate,
supportedPythonVersions,
upgradeDisabled
FROM google.composer.image_versions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND includePastReleases = '{{ includePastReleases }}';