Class SearchanalyticsResource.QueryRequest
Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days. When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.
Inheritance
SearchanalyticsResource.QueryRequest
Inherited Members
Namespace: Google.Apis.SearchConsole.v1
Assembly: Google.Apis.SearchConsole.v1.dll
Syntax
public class SearchanalyticsResource.QueryRequest : SearchConsoleBaseServiceRequest<SearchAnalyticsQueryResponse>, IClientServiceRequest<SearchAnalyticsQueryResponse>, IClientServiceRequest
Constructors
QueryRequest(IClientService, SearchAnalyticsQueryRequest, string)
Constructs a new Query request.
Declaration
public QueryRequest(IClientService service, SearchAnalyticsQueryRequest body, string siteUrl)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SearchAnalyticsQueryRequest | body | |
string | siteUrl |
Properties
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SiteUrl
The site's URL, including protocol. For example: http://www.example.com/
.
Declaration
[RequestParameter("siteUrl", RequestParameterType.Path)]
public virtual string SiteUrl { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Query parameter list.
Declaration
protected override void InitParameters()