Class QueryDomainStatsRequest
Request message for QueryDomainStats.
Implements
Inherited Members
Namespace: Google.Apis.PostmasterTools.v2.Data
Assembly: Google.Apis.PostmasterTools.v2.dll
Syntax
public class QueryDomainStatsRequest : IDirectResponseSchema
Properties
AggregationGranularity
Optional. The granularity at which to aggregate the statistics. If unspecified, defaults to DAILY.
Declaration
[JsonProperty("aggregationGranularity")]
public virtual string AggregationGranularity { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MetricDefinitions
Required. The specific metrics to query. You can define a custom name for each metric, which will be used in the response.
Declaration
[JsonProperty("metricDefinitions")]
public virtual IList<MetricDefinition> MetricDefinitions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<MetricDefinition> |
PageSize
Optional. The maximum number of DomainStats resources to return in the response. The server may return fewer than this value. If unspecified, a default value of 10 will be used. The maximum value is 200.
Declaration
[JsonProperty("pageSize")]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. The next_page_token value returned from a previous List request, if any. If the aggregation granularity is DAILY, the page token will be the encoded date + "/" + metric name. If the aggregation granularity is OVERALL, the page token will be the encoded metric name.
Declaration
[JsonProperty("pageToken")]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. The parent resource name where the stats are queried. Format: domains/{domain}
Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TimeQuery
Required. The time range or specific dates for which to retrieve the metrics.
Declaration
[JsonProperty("timeQuery")]
public virtual TimeQuery TimeQuery { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeQuery |