Class EnterprisesResource.CreateWebTokenRequest
Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the JavaScript API documentation for further information.
Inheritance
EnterprisesResource.CreateWebTokenRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EnterprisesResource.CreateWebTokenRequest : AndroidEnterpriseBaseServiceRequest<AdministratorWebToken>, IClientServiceRequest<AdministratorWebToken>, IClientServiceRequest
Constructors
CreateWebTokenRequest(IClientService, AdministratorWebTokenSpec, string)
Constructs a new CreateWebToken request.
Declaration
public CreateWebTokenRequest(IClientService service, AdministratorWebTokenSpec body, string enterpriseId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AdministratorWebTokenSpec | body | |
string | enterpriseId |
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes CreateWebToken parameter list.
Declaration
protected override void InitParameters()