Class RepricingrulesResource.ListRequest
Lists the repricing rules in your Merchant Center account.
Inheritance
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RepricingrulesResource.ListRequest : ShoppingContentBaseServiceRequest<ListRepricingRulesResponse>, IClientServiceRequest<ListRepricingRulesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, long)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, long merchantId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | merchantId |
Properties
CountryCode
CLDR country code (e.g. "US"), used as a filter on repricing rules.
Declaration
[RequestParameter("countryCode", RequestParameterType.Query)]
public virtual string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LanguageCode
The two-letter ISO 639-1 language code associated with the repricing rule, used as a filter.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MerchantId
Required. The id of the merchant who owns the repricing rule.
Declaration
[RequestParameter("merchantId", RequestParameterType.Path)]
public virtual long MerchantId { get; }
Property Value
Type | Description |
---|---|
long |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of repricing rules to return. The service may return fewer than this value. If unspecified, at most 50 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A page token, received from a previous ListRepricingRules
call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to ListRepricingRules
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()