Class ActivitiesResource.ListRequest
Returns a list of activities visible to the current logged in user. Visible activities are determined by the visibility settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter.
Inheritance
Inherited Members
Namespace: Google.Apis.Appsactivity.v1
Assembly: Google.Apis.Appsactivity.v1.dll
Syntax
public class ListRequest : AppsactivityBaseServiceRequest<ListActivitiesResponse>, IClientServiceRequest<ListActivitiesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
DriveAncestorId
Identifies the Drive folder containing the items for which to return activities.
Declaration
[RequestParameter("drive.ancestorId", RequestParameterType.Query)]
public virtual string DriveAncestorId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DriveFileId
Identifies the Drive item to return activities for.
Declaration
[RequestParameter("drive.fileId", RequestParameterType.Query)]
public virtual string DriveFileId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GroupingStrategy
Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object.
Declaration
[RequestParameter("groupingStrategy", RequestParameterType.Query)]
public virtual ActivitiesResource.ListRequest.GroupingStrategyEnum? GroupingStrategy { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ActivitiesResource.ListRequest.GroupingStrategyEnum> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
PageSize
The maximum number of events to return on a page. The response includes a continuation token if there are more events.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
PageToken
A token to retrieve a specific page of results.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Source
The Google service from which to return activities. Possible values of source are: - drive.google.com
Declaration
[RequestParameter("source", RequestParameterType.Query)]
public virtual string Source { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserId
The ID used for ACL checks (does not filter the resulting event list by the assigned value). Use the special value me to indicate the currently authenticated user.
Declaration
[RequestParameter("userId", RequestParameterType.Query)]
public virtual string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()