Class AccountsResource.ListSubaccountsRequest
List all sub-accounts for a given multi client account. This is a convenience wrapper for the more powerful
ListAccounts method. This method will produce the same results as calling ListsAccounts with the
following filter: relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))
Inheritance
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class AccountsResource.ListSubaccountsRequest : MerchantBaseServiceRequest<ListSubAccountsResponse>, IClientServiceRequest<ListSubAccountsResponse>, IClientServiceRequest
Constructors
ListSubaccountsRequest(IClientService, string)
Constructs a new ListSubaccounts request.
Declaration
public ListSubaccountsRequest(IClientService service, string provider)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | provider |
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
PageSize
Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. A page token, received from a previous ListAccounts call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to ListAccounts must match the call
that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Provider
Required. The aggregation service provider. Format: accounts/{accountId}
Declaration
[RequestParameter("provider", RequestParameterType.Path)]
public virtual string Provider { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes ListSubaccounts parameter list.
Declaration
protected override void InitParameters()