# Cloud Composer API . projects . locations . imageVersions

## Instance Methods

List ImageVersions for provided location.

Retrieves the next page of results.

### Method Details

`list(parent, pageSize=None, pageToken=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)
      pageSize: integer, The maximum number of image_versions to return.
      pageToken: string, The next_page_token value returned from a previous List request, if any.
      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.
        "nextPageToken": "A String", # The page token used to query for the next page if one exists.
        "imageVersions": [ # The list of supported ImageVersions in a location.
          { # ImageVersion information
            "supportedPythonVersions": [ # supported python versions
              "A String",
            ],
            "imageVersionId": "A String", # The string identifier of the ImageVersion, in the form:
                # "composer-x.y.z-airflow-a.b(.c)"
            "isDefault": True or False, # Whether this is the default ImageVersion used by Composer during
                # environment creation if no input ImageVersion is specified.
          },
        ],
      }

`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.