Show / Hide Table of Contents

Class UsersResource.InsertRequest

Creates a new EMM-managed user. The Users resource passed in the body of the request should include an accountIdentifier and an accountType. If a corresponding user already exists with the same account identifier, the user will be updated with the resource. In this case only the displayName field can be changed.

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

Constructors

InsertRequest(IClientService, User, string)

Constructs a new Insert request.

Declaration
public InsertRequest(IClientService service, User body, string enterpriseId)
Parameters
Type Name Description
IClientService service
User 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
ClientServiceRequest<User>.HttpMethod

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
AndroidEnterpriseBaseServiceRequest<User>.InitParameters()

Implements

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