# Cloud Composer API . projects . locations . imageVersions

## Instance Methods

List ImageVersions for provided location.

Retrieves the next page of results.

### Method Details

`list(parent, pageToken=None, pageSize=None, x__xgafv=None)`

    List ImageVersions for provided location.

    Args:
      parent: string, List ImageVersions in the given project and location, in the form:
    "projects/{projectId}/locations/{locationId}" (required)
      pageToken: string, The next_page_token value returned from a previous List request, if any.
      pageSize: integer, The maximum number of image_versions to return.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # The ImageVersions in a project and location.
        "imageVersions": [ # The list of supported ImageVersions in a location.
          { # ImageVersion information
            "isDefault": True or False, # Whether this is the default ImageVersion used by Composer during
                # environment creation if no input ImageVersion is specified.
            "imageVersionId": "A String", # The string identifier of the ImageVersion, in the form:
                # "composer-x.y.z-airflow-a.b(.c)"
            "supportedPythonVersions": [ # supported python versions
              "A String",
            ],
          },
        ],
        "nextPageToken": "A String", # The page token used to query for the next page if one exists.
      }

`list_next(previous_request, previous_response)`

    Retrieves the next page of results.

    Args:
      previous_request: The request for the previous page. (required)
      previous_response: The response from the request for the previous page. (required)

    Returns:
      A request object that you can call 'execute()' on to request the next
      page. Returns None if there are no more items in the collection.