Show / Hide Table of Contents

Class ActivitiesResource

The "activities" collection of methods.

Inheritance
object
ActivitiesResource
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 ActivitiesResource

Constructors

ActivitiesResource(IClientService)

Constructs a new resource.

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

Methods

List(string, ApplicationNameEnum)

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.

Declaration
public virtual ActivitiesResource.ListRequest List(string userKey, ActivitiesResource.ListRequest.ApplicationNameEnum applicationName)
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.

ActivitiesResource.ListRequest.ApplicationNameEnum applicationName

Application name for which the events are to be retrieved.

Returns
Type Description
ActivitiesResource.ListRequest

Watch(Channel, string, ApplicationNameEnum)

Start receiving notifications for account activities. For more information, see Receiving Push Notifications.

Declaration
public virtual ActivitiesResource.WatchRequest Watch(Channel body, string userKey, ActivitiesResource.WatchRequest.ApplicationNameEnum applicationName)
Parameters
Type Name Description
Channel body

The body of the request.

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.

ActivitiesResource.WatchRequest.ApplicationNameEnum applicationName

Application name for which the events are to be retrieved.

Returns
Type Description
ActivitiesResource.WatchRequest
In this article
Back to top Generated by DocFX