Show / Hide Table of Contents

Class UserUsageReportResource

The "userUsageReport" collection of methods.

Inheritance
object
UserUsageReportResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Admin.Reports.reports_v1
Assembly: Google.Apis.Admin.Reports.reports_v1.dll
Syntax
public class UserUsageReportResource

Constructors

UserUsageReportResource(IClientService)

Constructs a new resource.

Declaration
public UserUsageReportResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(string, string)

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.

Declaration
public virtual UserUsageReportResource.GetRequest Get(string userKey, string date)
Parameters
Type Name Description
string userKey

Represents the profile ID or the user email for which the data should be filtered. Can be all for all information, or userKey for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call users.list in Directory API with showDeleted=true, then use the returned ID as the userKey.

string date

Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the ISO 8601 format, yyyy-mm-dd.

Returns
Type Description
UserUsageReportResource.GetRequest
In this article
Back to top Generated by DocFX