Show / Hide Table of Contents

Class CustomersResource.InsertRequest

Orders a new customer's account. Before ordering a new customer account, establish whether the customer account already exists using the customers.get If the customer account exists as a direct Google account or as a resold customer account from another reseller, use the customerAuthToken\ as described in order a resold account for an existing customer. For more information about ordering a new customer account, see order a new customer account. After creating a new customer account, you must provision a user as an administrator. The customer's administrator is required to sign in to the Admin console and sign the G Suite via Reseller agreement to activate the account. Resellers are prohibited from signing the G Suite via Reseller agreement on the customer's behalf. For more information, see order a new customer account.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Customer>
ResellerBaseServiceRequest<Customer>
CustomersResource.InsertRequest
Implements
IClientServiceRequest<Customer>
IClientServiceRequest
Inherited Members
ResellerBaseServiceRequest<Customer>.Xgafv
ResellerBaseServiceRequest<Customer>.AccessToken
ResellerBaseServiceRequest<Customer>.Alt
ResellerBaseServiceRequest<Customer>.Callback
ResellerBaseServiceRequest<Customer>.Fields
ResellerBaseServiceRequest<Customer>.Key
ResellerBaseServiceRequest<Customer>.OauthToken
ResellerBaseServiceRequest<Customer>.PrettyPrint
ResellerBaseServiceRequest<Customer>.QuotaUser
ResellerBaseServiceRequest<Customer>.UploadType
ResellerBaseServiceRequest<Customer>.UploadProtocol
ClientServiceRequest<Customer>.Execute()
ClientServiceRequest<Customer>.ExecuteAsStream()
ClientServiceRequest<Customer>.ExecuteAsync()
ClientServiceRequest<Customer>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Customer>.ExecuteAsStreamAsync()
ClientServiceRequest<Customer>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Customer>.CreateRequest(bool?)
ClientServiceRequest<Customer>.GenerateRequestUri()
ClientServiceRequest<Customer>.GetDefaultETagAction(string)
ClientServiceRequest<Customer>.ETagAction
ClientServiceRequest<Customer>.ModifyRequest
ClientServiceRequest<Customer>.ValidateParameters
ClientServiceRequest<Customer>.ApiVersion
ClientServiceRequest<Customer>.RequestParameters
ClientServiceRequest<Customer>.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.Reseller.v1
Assembly: Google.Apis.Reseller.v1.dll
Syntax
public class CustomersResource.InsertRequest : ResellerBaseServiceRequest<Customer>, IClientServiceRequest<Customer>, IClientServiceRequest

Constructors

InsertRequest(IClientService, Customer)

Constructs a new Insert request.

Declaration
public InsertRequest(IClientService service, Customer body)
Parameters
Type Name Description
IClientService service
Customer body

Properties

CustomerAuthToken

The customerAuthToken query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the administrator help center.

Declaration
[RequestParameter("customerAuthToken", RequestParameterType.Query)]
public virtual string CustomerAuthToken { 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<Customer>.HttpMethod

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
ResellerBaseServiceRequest<Customer>.InitParameters()

Implements

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