class Authorization extends Resource (View source)

The "authorization" collection of methods.

Typical usage is:

 $dataportabilityService = new Google\Service\DataPortability(...);
 $authorization = $dataportabilityService->authorization;

Methods

reset(ResetAuthorizationRequest $postBody, array $optParams = [])

Revokes OAuth tokens and resets exhausted scopes for a user/project pair.

Details

DataportabilityEmpty reset(ResetAuthorizationRequest $postBody, array $optParams = [])

Revokes OAuth tokens and resets exhausted scopes for a user/project pair.

This method allows you to initiate a request after a new consent is granted. This method also indicates that previous archives can be garbage collected. You should call this method when all jobs are complete and all archives are downloaded. Do not call it only when you start a new job. (authorization.reset)

Parameters

ResetAuthorizationRequest $postBody
array $optParams

Optional parameters.

Return Value

DataportabilityEmpty

Exceptions

Exception