Show / Hide Table of Contents

Class AccountsResource.CreateRequest

Creates an account with the specified name and type under the given parent. - Personal accounts and Organizations cannot be created. - User Groups cannot be created with a Personal account as primary owner. - Location Groups cannot be created with a primary owner of a Personal account if the Personal account is in an Organization. - Location Groups cannot own Location Groups.

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

Constructors

CreateRequest(IClientService, Account)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, Account body)
Parameters
Type Name Description
IClientService service
Account body

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
MyBusinessAccountManagementBaseServiceRequest<Account>.InitParameters()

Implements

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