Class DomainsResource.TrafficStatsResource
The "trafficStats" collection of methods.
Inherited Members
Namespace: Google.Apis.PostmasterTools.v1beta1
Assembly: Google.Apis.PostmasterTools.v1beta1.dll
Syntax
public class DomainsResource.TrafficStatsResource
Constructors
TrafficStatsResource(IClientService)
Constructs a new resource.
Declaration
public TrafficStatsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Get traffic statistics for a domain on a specific date. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain.
Declaration
public virtual DomainsResource.TrafficStatsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The resource name of the traffic statistics to get. E.g., domains/mymail.mydomain.com/trafficStats/20160807. |
Returns
Type | Description |
---|---|
DomainsResource.TrafficStatsResource.GetRequest |
List(string)
List traffic statistics for all available days. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain.
Declaration
public virtual DomainsResource.TrafficStatsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | The resource name of the domain whose traffic statistics we'd like to list. It should have the form
|
Returns
Type | Description |
---|---|
DomainsResource.TrafficStatsResource.ListRequest |