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
AccountsResource.CreateRequest
Inherited Members
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()