Admin SDK API . applications

Instance Methods

close()

Close httplib2 connections.

get(applicationId, x__xgafv=None)

Retrieves information about an application for the given application ID.

list(customerId=None, maxResults=None, pageToken=None, x__xgafv=None)

Lists the applications available for data transfer for a customer.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(applicationId, x__xgafv=None)
Retrieves information about an application for the given application ID.

Args:
  applicationId: string, ID of the application resource to be retrieved. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Application resources represent applications installed on the domain that support transferring ownership of user data.
  "etag": "A String", # Etag of the resource.
  "id": "A String", # The application's ID. Retrievable by using the [`applications.list()`](/admin-sdk/data-transfer/reference/rest/v1/applications/list) method.
  "kind": "admin#datatransfer#ApplicationResource", # Identifies the resource as a DataTransfer Application Resource.
  "name": "A String", # The application's name.
  "transferParams": [ # The list of all possible transfer parameters for this application. These parameters select which categories of the user's data to transfer.
    { # Template for application transfer parameters.
      "key": "A String", # The type of the transfer parameter, such as `PRIVACY_LEVEL`.
      "value": [ # The value of the transfer parameter, such as `PRIVATE` or `SHARED`.
        "A String",
      ],
    },
  ],
}
list(customerId=None, maxResults=None, pageToken=None, x__xgafv=None)
Lists the applications available for data transfer for a customer.

Args:
  customerId: string, Immutable ID of the Google Workspace account.
  maxResults: integer, Maximum number of results to return. Default is 100.
  pageToken: string, Token to specify next page in the list.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Template for a collection of Applications.
  "applications": [ # The list of applications that support data transfer and are also installed for the customer.
    { # Application resources represent applications installed on the domain that support transferring ownership of user data.
      "etag": "A String", # Etag of the resource.
      "id": "A String", # The application's ID. Retrievable by using the [`applications.list()`](/admin-sdk/data-transfer/reference/rest/v1/applications/list) method.
      "kind": "admin#datatransfer#ApplicationResource", # Identifies the resource as a DataTransfer Application Resource.
      "name": "A String", # The application's name.
      "transferParams": [ # The list of all possible transfer parameters for this application. These parameters select which categories of the user's data to transfer.
        { # Template for application transfer parameters.
          "key": "A String", # The type of the transfer parameter, such as `PRIVACY_LEVEL`.
          "value": [ # The value of the transfer parameter, such as `PRIVATE` or `SHARED`.
            "A String",
          ],
        },
      ],
    },
  ],
  "etag": "A String", # ETag of the resource.
  "kind": "admin#datatransfer#applicationsList", # Identifies the resource as a collection of Applications.
  "nextPageToken": "A String", # Token to specify the next page in the list.
}
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.