Close httplib2 connections.
initiate(body=None, x__xgafv=None)
Initiates a new Archive job for the Portability API.
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. "endTime": "A String", # Optional. The timestamp that represents the end point for the data you are exporting. If the end_time is not specified in the InitiatePortabilityArchiveRequest, this field is set to the latest available data. "resources": [ # The resources from which you're exporting data. These values have a 1:1 correspondence with the OAuth scopes. "A String", ], "startTime": "A String", # Optional. The timestamp that represents the starting point for the data you are exporting. If the start_time is not specified in the InitiatePortabilityArchiveRequest, the field is set to the earliest available data. } 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. "accessType": "A String", # The access type of the Archive job initiated by the API. "archiveJobId": "A String", # The archive job ID that is initiated in the API. This can be used to get the state of the job. }