Class TokensResource.DeleteRequest
Deletes all access tokens issued by a user for an application.
Inheritance
TokensResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class TokensResource.DeleteRequest : DirectoryBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string userKey, string clientId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | userKey | |
string | clientId |
Properties
ClientId
The Client ID of the application the token is issued to.
Declaration
[RequestParameter("clientId", RequestParameterType.Path)]
public virtual string ClientId { get; }
Property Value
Type | Description |
---|---|
string |
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
UserKey
Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
Declaration
[RequestParameter("userKey", RequestParameterType.Path)]
public virtual string UserKey { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()