Class AuthorizationResource
The "authorization" collection of methods.
Inherited Members
Namespace: Google.Apis.DataPortability.v1
Assembly: Google.Apis.DataPortability.v1.dll
Syntax
public class AuthorizationResource
Constructors
AuthorizationResource(IClientService)
Constructs a new resource.
Declaration
public AuthorizationResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Reset(ResetAuthorizationRequest)
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.
Declaration
public virtual AuthorizationResource.ResetRequest Reset(ResetAuthorizationRequest body)
Parameters
Type | Name | Description |
---|---|---|
ResetAuthorizationRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
AuthorizationResource.ResetRequest |