Class RepricingrulesResource.RepricingreportsResource.ListRequest
Lists the metrics report for a given Repricing rule.
Inheritance
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class RepricingrulesResource.RepricingreportsResource.ListRequest : ShoppingContentBaseServiceRequest<ListRepricingRuleReportsResponse>, IClientServiceRequest<ListRepricingRuleReportsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, long, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, long merchantId, string ruleId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| long | merchantId | |
| string | ruleId |
Properties
EndDate
Gets Repricing reports on and before this date in the merchant's timezone. You can only retrieve data up to 7 days ago (default) or earlier. Format: YYYY-MM-DD.
Declaration
[RequestParameter("endDate", RequestParameterType.Query)]
public virtual string EndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MerchantId
Required. 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
Maximum number of daily reports to return. Each report includes data from a single 24-hour period. The page size defaults to 50 and values above 1000 are coerced to 1000. This service may return fewer days than this value, for example, if the time between your start and end date is less than page size.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Token (if provided) to retrieve the subsequent page. All other parameters must match the original 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
RuleId
Required. Id of the Repricing rule.
Declaration
[RequestParameter("ruleId", RequestParameterType.Path)]
public virtual string RuleId { get; }
Property Value
| Type | Description |
|---|---|
| string |
StartDate
Gets Repricing reports on and after this date in the merchant's timezone, up to one year ago. Do not use a start date later than 7 days ago (default). Format: YYYY-MM-DD.
Declaration
[RequestParameter("startDate", RequestParameterType.Query)]
public virtual string StartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()