Show / Hide Table of Contents

Class CustomersResource.EnrollmentTokensResource.CreateRequest

Creates a new enrollment token for a browser device. Creation fails if there is already an active token for this customer under the same org unit.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>
CustomersResource.EnrollmentTokensResource.CreateRequest
Implements
IClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>
IClientServiceRequest
Inherited Members
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.Xgafv
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.AccessToken
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.Alt
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.Callback
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.Fields
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.Key
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.OauthToken
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.PrettyPrint
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.QuotaUser
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.UploadType
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.UploadProtocol
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.Execute()
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ExecuteAsStream()
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ExecuteAsync()
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.CreateRequest(bool?)
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.GenerateRequestUri()
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ETagAction
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ModifyRequest
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ValidateParameters
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.ApiVersion
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.RequestParameters
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ChromeManagement.v1
Assembly: Google.Apis.ChromeManagement.v1.dll
Syntax
public class CustomersResource.EnrollmentTokensResource.CreateRequest : ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>, IClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleChromeManagementVersionsV1EnrollmentToken, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleChromeManagementVersionsV1EnrollmentToken body, string parent)
Parameters
Type Name Description
IClientService service
GoogleChromeManagementVersionsV1EnrollmentToken body
string parent

Properties

EnrollmentTokenId

Optional. The ID to use for the enrollment token, which will become the final component of the enrollment token's resource name. This value must be local-unique under the customer and is optional. If not provided, it will be auto-generated. If provided, it must be 1-63 characters long and match the regular expression [a-zA-Z0-9._-]+.

Declaration
[RequestParameter("enrollmentTokenId", RequestParameterType.Query)]
public virtual string EnrollmentTokenId { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.MethodName

Parent

Required. The parent resource where this enrollment token will be created. Format: customers/{customer}

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
ChromeManagementBaseServiceRequest<GoogleChromeManagementVersionsV1EnrollmentToken>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX