Class CreateAndConfigureAccountRequest
Request message for the CreateAndConfigureAccount method.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1.Data
Assembly: Google.Apis.Merchant.accounts_v1.dll
Syntax
public class CreateAndConfigureAccountRequest : IDirectResponseSchema
Properties
Account
Required. The account to be created.
Declaration
[JsonProperty("account")]
public virtual Account Account { get; set; }
Property Value
| Type | Description |
|---|---|
| Account |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Service
Required. An account service between the account to be created and the provider account is initialized as
part of the creation. At least one such service needs to be provided. Currently exactly one of these needs
to be account_aggregation and accounts.createAndConfigure method can be used to create a sub-account
under an existing advanced account through this method. Additional account_management or
product_management services may be provided.
Declaration
[JsonProperty("service")]
public virtual IList<AddAccountService> Service { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AddAccountService> |
SetAlias
Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
Declaration
[JsonProperty("setAlias")]
public virtual IList<SetAliasForRelationship> SetAlias { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<SetAliasForRelationship> |
User
Optional. Users to be added to the account.
Declaration
[JsonProperty("user")]
public virtual IList<AddUser> User { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AddUser> |