Admin SDK . 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, pageToken=None, maxResults=None, x__xgafv=None)

Lists the applications available for data transfer for a customer.

list_next(previous_request, previous_response)

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:

    { # The JSON template for an Application resource. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)
    "etag": "A String", # Etag of the resource.
    "transferParams": [ # The list of all possible transfer parameters for this application. These parameters can be used to select the data of the user in this application to be transferred.
      { # Template for application transfer parameters.
        "key": "A String", # The type of the transfer parameter. eg: 'PRIVACY_LEVEL'
        "value": [ # The value of the corresponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
          "A String",
        ],
      },
    ],
    "name": "A String", # The application's name.
    "id": "A String", # The application's ID.
    "kind": "admin#datatransfer#ApplicationResource", # Identifies the resource as a DataTransfer Application Resource.
  }
list(customerId=None, pageToken=None, maxResults=None, x__xgafv=None)
Lists the applications available for data transfer for a customer.

Args:
  customerId: string, Immutable ID of the Google Apps account.
  pageToken: string, Token to specify next page in the list.
  maxResults: integer, Maximum number of results to return. Default is 100.
  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. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)
    "nextPageToken": "A String", # Continuation token which will be used to specify next page in list API.
    "kind": "admin#datatransfer#applicationsList", # Identifies the resource as a collection of Applications.
    "applications": [ # List of applications that support data transfer and are also installed for the customer.
      { # The JSON template for an Application resource. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)
        "etag": "A String", # Etag of the resource.
        "transferParams": [ # The list of all possible transfer parameters for this application. These parameters can be used to select the data of the user in this application to be transferred.
          { # Template for application transfer parameters.
            "key": "A String", # The type of the transfer parameter. eg: 'PRIVACY_LEVEL'
            "value": [ # The value of the corresponding transfer parameter. eg: 'PRIVATE' or 'SHARED'
              "A String",
            ],
          },
        ],
        "name": "A String", # The application's name.
        "id": "A String", # The application's ID.
        "kind": "admin#datatransfer#ApplicationResource", # Identifies the resource as a DataTransfer Application Resource.
      },
    ],
    "etag": "A String", # ETag of the resource.
  }
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.