Class DomainsResource.TrafficStatsResource.ListRequest
List traffic statistics for all available days. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain.
Inheritance
Inherited Members
Namespace: Google.Apis.PostmasterTools.v1beta1
Assembly: Google.Apis.PostmasterTools.v1beta1.dll
Syntax
public class DomainsResource.TrafficStatsResource.ListRequest : PostmasterToolsBaseServiceRequest<ListTrafficStatsResponse>, IClientServiceRequest<ListTrafficStatsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
EndDateDay
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Declaration
[RequestParameter("endDate.day", RequestParameterType.Query)]
public virtual int? EndDateDay { get; set; }
Property Value
Type | Description |
---|---|
int? |
EndDateMonth
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Declaration
[RequestParameter("endDate.month", RequestParameterType.Query)]
public virtual int? EndDateMonth { get; set; }
Property Value
Type | Description |
---|---|
int? |
EndDateYear
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Declaration
[RequestParameter("endDate.year", RequestParameterType.Query)]
public virtual int? EndDateYear { get; set; }
Property Value
Type | Description |
---|---|
int? |
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
PageSize
Requested page size. Server may return fewer TrafficStats than requested. If unspecified, server will pick an appropriate default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The next_page_token value returned from a previous List request, if any. This is the value of
ListTrafficStatsResponse.next_page_token returned from the previous call to ListTrafficStats
method.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
The resource name of the domain whose traffic statistics we'd like to list. It should have the form
domains/{domain_name}
, where domain_name is the fully qualified domain name.
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
StartDateDay
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Declaration
[RequestParameter("startDate.day", RequestParameterType.Query)]
public virtual int? StartDateDay { get; set; }
Property Value
Type | Description |
---|---|
int? |
StartDateMonth
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Declaration
[RequestParameter("startDate.month", RequestParameterType.Query)]
public virtual int? StartDateMonth { get; set; }
Property Value
Type | Description |
---|---|
int? |
StartDateYear
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Declaration
[RequestParameter("startDate.year", RequestParameterType.Query)]
public virtual int? StartDateYear { get; set; }
Property Value
Type | Description |
---|---|
int? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()