Class AccountsResource.ProductsResource.ListRequest
Lists the processed products in your Merchant Center account. The response might contain fewer items
than specified by pageSize
. Rely on pageToken
to determine if there are more items to be requested.
After inserting, updating, or deleting a product input, it may take several minutes before the updated
processed product can be retrieved.
Inheritance
Inherited Members
Namespace: Google.Apis.Merchant.products_v1beta
Assembly: Google.Apis.Merchant.products_v1beta.dll
Syntax
public class AccountsResource.ProductsResource.ListRequest : MerchantBaseServiceRequest<ListProductsResponse>, IClientServiceRequest<ListProductsResponse>, 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
The maximum number of products to return. The service may return fewer than this value. The maximum value is 250; values above 250 will be coerced to 250. If unspecified, the maximum number of products will be returned.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A page token, received from a previous ListProducts
call. Provide this to retrieve the subsequent
page. When paginating, all other parameters provided to ListProducts
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 account to list processed products for. 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()