# Cloud Data Fusion API . projects . locations . versions

## Instance Methods

Close httplib2 connections.

Lists possible versions for Data Fusion instances in the specified project and location.

Retrieves the next page of results.

### Method Details

`close()`

    Close httplib2 connections.

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

    Lists possible versions for Data Fusion instances in the specified project and location.

    Args:
      parent: string, Required. The project and location for which to retrieve instance information in the format projects/{project}/locations/{location}. (required)
      pageSize: integer, The maximum number of items to return.
      pageToken: string, The next_page_token value to use if there are additional results to retrieve for this list request.
      latestPatchOnly: boolean, Whether or not to return the latest patch of every available minor version. If true, only the latest patch will be returned. Ex. if allowed versions is [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0]
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Response message for the list available versions request.
        "nextPageToken": "A String", # Token to retrieve the next page of results or empty if there are no more results in the list.
        "availableVersions": [ # Represents a list of versions that are supported.
          { # The Data Fusion version.
            "defaultVersion": True or False, # Whether this is currently the default version for Cloud Data Fusion
            "versionNumber": "A String", # The version number of the Data Fusion instance, such as '6.0.1.0'.
            "availableFeatures": [ # Represents a list of available feature names for a given version.
              "A String",
            ],
          },
        ],
      }

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