Method: projects.locations.imageVersions.list

List ImageVersions for provided location.

HTTP request

GET https://composer.googleapis.com/v1beta1/{parent=projects/*/locations/*}/imageVersions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

List ImageVersions in the given project and location, in the form: "projects/{projectId}/locations/{locationId}"

Authorization requires the following Google IAM permission on the specified resource parent:

  • composer.imageversions.list

Query parameters

Parameters
pageSize

number

The maximum number of imageVersions to return.

pageToken

string

The nextPageToken value returned from a previous List request, if any.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

The ImageVersions in a project and location.

JSON representation
{
  "imageVersions": [
    {
      object(ImageVersion)
    }
  ],
  "nextPageToken": string
}
Fields
imageVersions[]

object(ImageVersion)

The list of supported ImageVersions in a location.

nextPageToken

string

The page token used to query for the next page if one exists.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

ImageVersion

Image Version information

JSON representation
{
  "imageVersionId": string,
  "isDefault": boolean,
  "supportedPythonVersions": [
    string
  ]
}
Fields
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.

supportedPythonVersions[]

string

supported python versions

Try it!

このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...