Show / Hide Table of Contents

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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<SearchAnalyticsQueryResponse>
WebmastersBaseServiceRequest<SearchAnalyticsQueryResponse>
SearchanalyticsResource.QueryRequest
Implements
Google.Apis.Requests.IClientServiceRequest<SearchAnalyticsQueryResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
WebmastersBaseServiceRequest<SearchAnalyticsQueryResponse>.Alt
WebmastersBaseServiceRequest<SearchAnalyticsQueryResponse>.Fields
WebmastersBaseServiceRequest<SearchAnalyticsQueryResponse>.Key
WebmastersBaseServiceRequest<SearchAnalyticsQueryResponse>.OauthToken
WebmastersBaseServiceRequest<SearchAnalyticsQueryResponse>.PrettyPrint
WebmastersBaseServiceRequest<SearchAnalyticsQueryResponse>.QuotaUser
WebmastersBaseServiceRequest<SearchAnalyticsQueryResponse>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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.Webmasters.v3
Assembly: Google.Apis.Webmasters.v3.dll
Syntax
public class QueryRequest : WebmastersBaseServiceRequest<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
Google.Apis.Services.IClientService service
SearchAnalyticsQueryRequest body
System.String siteUrl

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.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.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.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.RestPath

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

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.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.GetBody()

InitParameters()

Initializes Query parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Webmasters.v3.WebmastersBaseServiceRequest<Google.Apis.Webmasters.v3.Data.SearchAnalyticsQueryResponse>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top