Data Portability API . portabilityArchive

Instance Methods

close()

Close httplib2 connections.

initiate(body=None, x__xgafv=None)

Initiates a new Archive job for the Portability API.

Method Details

close()
Close httplib2 connections.
initiate(body=None, x__xgafv=None)
Initiates a new Archive job for the Portability API.

Args:
  body: object, The request body.
    The object takes the form of:

{ # Request to kick off an Archive job.
  "resources": [ # The resources from which you're exporting data. These values have a 1:1 correspondence with the OAuth scopes.
    "A String",
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response from initiating an Archive job.
  "archiveJobId": "A String", # The archive job ID that is initiated in the API. This can be used to get the state of the job.
}