Cloud Data Fusion API . projects . locations . versions

Instance Methods

close()

Close httplib2 connections.

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

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

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, latestPatchOnly=None, pageSize=None, pageToken=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)
  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]
  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.
  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.
  "availableVersions": [ # Represents a list of versions that are supported. Deprecated: Use versions field instead.
    { # The Data Fusion version. This proto message stores information about certain Data Fusion version, which is used for Data Fusion version upgrade.
      "availableFeatures": [ # Represents a list of available feature names for a given version.
        "A String",
      ],
      "defaultVersion": True or False, # Whether this is currently the default version for Cloud Data Fusion
      "type": "A String", # Type represents the release availability of the version
      "versionNumber": "A String", # The version number of the Data Fusion instance, such as '6.0.1.0'.
    },
  ],
  "nextPageToken": "A String", # Token to retrieve the next page of results or empty if there are no more results in the list.
  "versions": [ # Represents a list of all versions.
    { # The Data Fusion version. This proto message stores information about certain Data Fusion version, which is used for Data Fusion version upgrade.
      "availableFeatures": [ # Represents a list of available feature names for a given version.
        "A String",
      ],
      "defaultVersion": True or False, # Whether this is currently the default version for Cloud Data Fusion
      "type": "A String", # Type represents the release availability of the version
      "versionNumber": "A String", # The version number of the Data Fusion instance, such as '6.0.1.0'.
    },
  ],
}
list_next()
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.