Class AccountsResource.ListRequest
Note: For the accounts.list method, quota and limits usage are charged for each user, and not for the
Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the
accounts.listSubaccounts method, which is more suitable for advanced accounts use case.
Inheritance
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1
Assembly: Google.Apis.Merchant.accounts_v1.dll
Syntax
public class AccountsResource.ListRequest : MerchantBaseServiceRequest<ListAccountsResponse>, IClientServiceRequest<ListAccountsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Filter
Optional. Returns only accounts that match the filter. For more details, see the filter syntax reference.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 accounts.list call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided in the accounts.list request 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 |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()