Class PublishersResource.ItemsResource.FetchReviewsRequest
Fetch user reviews for an item.
Inheritance
Inherited Members
Namespace: Google.Apis.Chromewebstore.v2
Assembly: Google.Apis.Chromewebstore.v2.dll
Syntax
public class PublishersResource.ItemsResource.FetchReviewsRequest : ChromewebstoreBaseServiceRequest<FetchItemReviewsResponse>, IClientServiceRequest<FetchItemReviewsResponse>, IClientServiceRequest
Constructors
FetchReviewsRequest(IClientService, string)
Constructs a new FetchReviews request.
Declaration
public FetchReviewsRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
Filter
Optional. A filter to apply to the reviews. Only equality comparison on rating is supported, e.g.
rating = 5.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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
Name
Required. The item resource name whose reviews are being fetched. Format: publishers/{publisher_id}/items/{item_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
OrderBy
Optional. An optional comma-separated list of fields by which to sort the results. Supported fields
are rating and create_time. Supported orders are asc (default) and desc. Example: "rating
desc, create_time".
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
Optional. The maximum number of reviews to return. The service may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 200; values above 200 will be coerced to 200.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. A page token, received from a previous FetchItemReviews call. Provide this to retrieve
the subsequent page. When paginating, all other parameters provided to FetchItemReviews 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 FetchReviews parameter list.
Declaration
protected override void InitParameters()