Class AuthorizationResource.ResetRequest
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.
Inheritance
AuthorizationResource.ResetRequest
Inherited Members
Namespace: Google.Apis.DataPortability.v1
Assembly: Google.Apis.DataPortability.v1.dll
Syntax
public class AuthorizationResource.ResetRequest : DataPortabilityBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
ResetRequest(IClientService, ResetAuthorizationRequest)
Constructs a new Reset request.
Declaration
public ResetRequest(IClientService service, ResetAuthorizationRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResetAuthorizationRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Reset parameter list.
Declaration
protected override void InitParameters()