Class DomainsResource.DomainStatsResource.QueryRequest
Retrieves a list of domain statistics for a given domain and time period. Returns statistics only for dates where data is available. Returns PERMISSION_DENIED if you don't have permission to access DomainStats for the domain.
Inheritance
DomainsResource.DomainStatsResource.QueryRequest
Inherited Members
Namespace: Google.Apis.PostmasterTools.v2
Assembly: Google.Apis.PostmasterTools.v2.dll
Syntax
public class DomainsResource.DomainStatsResource.QueryRequest : PostmasterToolsBaseServiceRequest<QueryDomainStatsResponse>, IClientServiceRequest<QueryDomainStatsResponse>, IClientServiceRequest
Constructors
QueryRequest(IClientService, QueryDomainStatsRequest, string)
Constructs a new Query request.
Declaration
public QueryRequest(IClientService service, QueryDomainStatsRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| QueryDomainStatsRequest | body | |
| string | parent |
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
Parent
Required. The parent resource name where the stats are queried. Format: domains/{domain}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
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 Query parameter list.
Declaration
protected override void InitParameters()