Class UsersResource.RevokeDeviceAccessRequest
Revokes access to all devices currently provisioned to the user. The user will no longer be able to use the managed Play store on any of their managed devices. This call only works with EMM-managed accounts.
Inheritance
UsersResource.RevokeDeviceAccessRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class UsersResource.RevokeDeviceAccessRequest : AndroidEnterpriseBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
RevokeDeviceAccessRequest(IClientService, string, string)
Constructs a new RevokeDeviceAccess request.
Declaration
public RevokeDeviceAccessRequest(IClientService service, string enterpriseId, string userId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | enterpriseId | |
string | userId |
Properties
EnterpriseId
The ID of the enterprise.
Declaration
[RequestParameter("enterpriseId", RequestParameterType.Path)]
public virtual string EnterpriseId { 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
UserId
The ID of the user.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes RevokeDeviceAccess parameter list.
Declaration
protected override void InitParameters()