Class UsersResource.InsertRequest
Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case.
Inheritance
UsersResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class UsersResource.InsertRequest : DirectoryBaseServiceRequest<User>, IClientServiceRequest<User>, IClientServiceRequest
Constructors
InsertRequest(IClientService, User)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, User body)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| User | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.User>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.User>.MethodName
ResolveConflictAccount
Optional. If set to true, the option selected for handling unmanaged user
accounts will apply. Default: false
Declaration
[RequestParameter("resolveConflictAccount", RequestParameterType.Query)]
public virtual bool? ResolveConflictAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.User>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.User>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()