Class CustomersResource.EnrollmentTokensResource.RevokeRequest
Revokes a browser device enrollment token.
Inheritance
CustomersResource.EnrollmentTokensResource.RevokeRequest
Implements
Inherited Members
Namespace: Google.Apis.ChromeManagement.v1
Assembly: Google.Apis.ChromeManagement.v1.dll
Syntax
public class CustomersResource.EnrollmentTokensResource.RevokeRequest : ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>, IClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>, IClientServiceRequest
Constructors
RevokeRequest(IClientService, GoogleChromeManagementVersionsV1RevokeEnrollmentTokenRequest, string)
Constructs a new Revoke request.
Declaration
public RevokeRequest(IClientService service, GoogleChromeManagementVersionsV1RevokeEnrollmentTokenRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleChromeManagementVersionsV1RevokeEnrollmentTokenRequest | body | |
| string | name |
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
Name
Required. The name of the enrollment token to revoke. Format: customers/{customer}/enrollmentTokens/{token_permanent_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
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 Revoke parameter list.
Declaration
protected override void InitParameters()
Overrides
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.InitParameters()