Class EnterprisesResource.EnrollRequest
Enrolls an enterprise with the calling EMM.
Inheritance
EnterprisesResource.EnrollRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EnterprisesResource.EnrollRequest : AndroidEnterpriseBaseServiceRequest<Enterprise>, IClientServiceRequest<Enterprise>, IClientServiceRequest
Constructors
EnrollRequest(IClientService, Enterprise, string)
Constructs a new Enroll request.
Declaration
public EnrollRequest(IClientService service, Enterprise body, string token)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Enterprise | body | |
string | token |
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
Token
Required. The token provided by the enterprise to register the EMM.
Declaration
[RequestParameter("token", RequestParameterType.Query)]
public virtual string Token { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Enroll parameter list.
Declaration
protected override void InitParameters()