Show / Hide Table of Contents

Class DomainsResource.TrafficStatsResource

The "trafficStats" collection of methods.

Inheritance
object
DomainsResource.TrafficStatsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PostmasterTools.v1
Assembly: Google.Apis.PostmasterTools.v1.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 domains/{domain_name}, where domain_name is the fully qualified domain name.

Returns
Type Description
DomainsResource.TrafficStatsResource.ListRequest
In this article
Back to top Generated by DocFX