Documentation ¶
Overview ¶
Package gsmreports implements the Reports API of Admin SDK
Index ¶
- func GetCustomerUsageReport(date, customerID, parameters, fields string, cap int) (<-chan *reports.UsageReport, <-chan error)
- func GetEntityUsageReport(entityType, entityKey, date, customerID, filters, parameters, fields string, ...) (<-chan *reports.UsageReport, <-chan error)
- func GetUserUsageReport(...) (<-chan *reports.UsageReport, <-chan error)
- func ListActivities(...) (<-chan *reports.Activity, <-chan error)
- func SetClient(c *http.Client)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomerUsageReport ¶
func GetCustomerUsageReport(date, customerID, parameters, fields string, cap int) (<-chan *reports.UsageReport, <-chan error)
GetCustomerUsageReport retrieves a report which is a collection of properties and statistics for a specific customer's account. For more information, see the Customers Usage Report guide. For more information about the customer report's parameters, see the Customers Usage parameters reference guides.
func GetEntityUsageReport ¶
func GetEntityUsageReport(entityType, entityKey, date, customerID, filters, parameters, fields string, cap int) (<-chan *reports.UsageReport, <-chan error)
GetEntityUsageReport retrieves a report which is a collection of properties and statistics for entities used by users within the account. For more information, see the Entities Usage Report guide. For more information about the entities report's parameters, see the Entities Usage parameters reference guides.
func GetUserUsageReport ¶
func GetUserUsageReport(userKey, date, customerID, filters, orgUnitID, parameters, groupIDFilter, fields string, cap int) (<-chan *reports.UsageReport, <-chan error)
GetUserUsageReport Retrieves a report which is a collection of properties and statistics for a set of users with the account. For more information, see the User Usage Report guide. For more information about the user report's parameters, see the Users Usage parameters reference guides.
func ListActivities ¶
func ListActivities(userKey, applicationName, actorIPAddress, customerID, endTime, eventName, filters, groupIDFilter, orgUnitID, startTime, fields string, cap int) (<-chan *reports.Activity, <-chan error)
ListActivities retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides.
Types ¶
This section is empty.