Class AccountsResource.GbpAccountsResource.ListRequest
List the GBP accounts for a given merchant.
Inheritance
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1
Assembly: Google.Apis.Merchant.accounts_v1.dll
Syntax
public class AccountsResource.GbpAccountsResource.ListRequest : MerchantBaseServiceRequest<ListGbpAccountsResponse>, IClientServiceRequest<ListGbpAccountsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
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 GbpAccount resources to return. The service returns fewer than
this value if the number of gbp accounts is less that than the pageSize. The default value is 50.
The maximum value is 1000; If a value higher than the maximum is specified, then the pageSize will
default to the maximum.
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 ListGbpAccounts call. Provide the page token to
retrieve the subsequent page. When paginating, all other parameters provided to ListGbpAccounts
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 |
Parent
Required. The name of the parent resource under which the GBP accounts are listed. Format:
accounts/{account}.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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 List parameter list.
Declaration
protected override void InitParameters()