Show / Hide Table of Contents

Class ReportsResource.SearchRequest

Retrieves merchant performance mertrics matching the search query and optionally segmented by selected dimensions.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<SearchResponse>
ShoppingContentBaseServiceRequest<SearchResponse>
ReportsResource.SearchRequest
Implements
IClientServiceRequest<SearchResponse>
IClientServiceRequest
Inherited Members
ShoppingContentBaseServiceRequest<SearchResponse>.Xgafv
ShoppingContentBaseServiceRequest<SearchResponse>.AccessToken
ShoppingContentBaseServiceRequest<SearchResponse>.Alt
ShoppingContentBaseServiceRequest<SearchResponse>.Callback
ShoppingContentBaseServiceRequest<SearchResponse>.Fields
ShoppingContentBaseServiceRequest<SearchResponse>.Key
ShoppingContentBaseServiceRequest<SearchResponse>.OauthToken
ShoppingContentBaseServiceRequest<SearchResponse>.PrettyPrint
ShoppingContentBaseServiceRequest<SearchResponse>.QuotaUser
ShoppingContentBaseServiceRequest<SearchResponse>.UploadType
ShoppingContentBaseServiceRequest<SearchResponse>.UploadProtocol
ClientServiceRequest<SearchResponse>.Execute()
ClientServiceRequest<SearchResponse>.ExecuteAsStream()
ClientServiceRequest<SearchResponse>.ExecuteAsync()
ClientServiceRequest<SearchResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SearchResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<SearchResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SearchResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<SearchResponse>.GenerateRequestUri()
ClientServiceRequest<SearchResponse>.GetDefaultETagAction(String)
ClientServiceRequest<SearchResponse>.ETagAction
ClientServiceRequest<SearchResponse>.ModifyRequest
ClientServiceRequest<SearchResponse>.ValidateParameters
ClientServiceRequest<SearchResponse>.RequestParameters
ClientServiceRequest<SearchResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class SearchRequest : ShoppingContentBaseServiceRequest<SearchResponse>, IClientServiceRequest<SearchResponse>, IClientServiceRequest

Constructors

SearchRequest(IClientService, SearchRequest, Int64)

Constructs a new Search request.

Declaration
public SearchRequest(IClientService service, SearchRequest body, long merchantId)
Parameters
Type Name Description
IClientService service
SearchRequest body
System.Int64 merchantId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.SearchResponse>.HttpMethod

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
System.Int64

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.SearchResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.SearchResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.SearchResponse>.GetBody()

InitParameters()

Initializes Search parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.ShoppingContent.v2_1.ShoppingContentBaseServiceRequest<Google.Apis.ShoppingContent.v2_1.Data.SearchResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top