Class ProductstatusesResource.RepricingreportsResource.ListRequest
Lists the metrics report for a given Repricing product.
Inheritance
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ProductstatusesResource.RepricingreportsResource.ListRequest : ShoppingContentBaseServiceRequest<ListRepricingProductReportsResponse>, IClientServiceRequest<ListRepricingProductReportsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, long, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, long merchantId, string productId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | merchantId | |
string | productId |
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 is 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 days of reports to return. There can be more than one rule report returned per day. For example, if 3 rule types got applied to the same product within a 24-hour period, then a page_size of 1 will return 3 rule reports. The page size defaults to 50 and values above 1000 are coerced to 1000. This service may return fewer days of reports than this value, for example, if the time between your start and end date is less than the 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 |
ProductId
Required. Id of the Repricing product. Also known as the REST_ID
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RuleId
Id of the Repricing rule. If specified, only gets this rule's reports.
Declaration
[RequestParameter("ruleId", RequestParameterType.Query)]
public virtual string RuleId { get; set; }
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 is 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()