Class ReportsResource.SearchRequest
Retrieves merchant performance metrics matching the search query and optionally segmented by selected dimensions.
Inheritance
ReportsResource.SearchRequest
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ReportsResource.SearchRequest : ShoppingContentBaseServiceRequest<SearchResponse>, IClientServiceRequest<SearchResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService, SearchRequest, long)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service, SearchRequest body, long merchantId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SearchRequest | body | |
long | merchantId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MerchantId
Required. Id of the merchant making the call. Must be a standalone account or an MCA subaccount.
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()