Class ListPromotionsRequest
Request message for the ListPromotions
method.
Implements
Namespace: Google.Shopping.Merchant.Promotions.V1
Assembly: Google.Shopping.Merchant.Promotions.V1.dll
Syntax
public sealed class ListPromotionsRequest : IMessage<ListPromotionsRequest>, IEquatable<ListPromotionsRequest>, IDeepCloneable<ListPromotionsRequest>, IBufferMessage, IMessage, IPageRequest
Constructors
ListPromotionsRequest()
Declaration
public ListPromotionsRequest()
ListPromotionsRequest(ListPromotionsRequest)
Declaration
public ListPromotionsRequest(ListPromotionsRequest other)
Parameters
Type | Name | Description |
---|---|---|
ListPromotionsRequest | other |
Properties
PageSize
Optional. The maximum number of promotions 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 promotions will be returned.
Declaration
public int PageSize { get; set; }
Property Value
Type | Description |
---|---|
int |
Implements
PageToken
Optional. A page token, received from a previous ListPromotions
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPromotions
must
match the call that provided the page token.
Declaration
public string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Implements
Parent
Required. The account to list processed promotions for.
Format: accounts/{account}
Declaration
public string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |