gogol-apps-activity-0.2.0: Google Apps Activity SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AppsActivity.Activities.List

Contents

Description

Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity 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.

See: Google Apps Activity API Reference for appsactivity.activities.list.

Synopsis

REST Resource

type ActivitiesListResource = "appsactivity" :> ("v1" :> ("activities" :> (QueryParam "drive.fileId" Text :> (QueryParam "drive.ancestorId" Text :> (QueryParam "groupingStrategy" ActivitiesListGroupingStrategy :> (QueryParam "userId" Text :> (QueryParam "source" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ListActivitiesResponse)))))))))) Source #

A resource alias for appsactivity.activities.list method which the ActivitiesList request conforms to.

Creating a Request

activitiesList :: ActivitiesList Source #

Creates a value of ActivitiesList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ActivitiesList Source #

Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity 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.

See: activitiesList smart constructor.

Instances

Eq ActivitiesList Source # 
Data ActivitiesList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ActivitiesList -> c ActivitiesList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ActivitiesList #

toConstr :: ActivitiesList -> Constr #

dataTypeOf :: ActivitiesList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ActivitiesList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ActivitiesList) #

gmapT :: (forall b. Data b => b -> b) -> ActivitiesList -> ActivitiesList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ActivitiesList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ActivitiesList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ActivitiesList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ActivitiesList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ActivitiesList -> m ActivitiesList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ActivitiesList -> m ActivitiesList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ActivitiesList -> m ActivitiesList #

Show ActivitiesList Source # 
Generic ActivitiesList Source # 

Associated Types

type Rep ActivitiesList :: * -> * #

GoogleRequest ActivitiesList Source # 
type Rep ActivitiesList Source # 
type Scopes ActivitiesList Source # 
type Scopes ActivitiesList = (:) Symbol "https://www.googleapis.com/auth/activity" ((:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/drive.metadata" ((:) Symbol "https://www.googleapis.com/auth/drive.metadata.readonly" ((:) Symbol "https://www.googleapis.com/auth/drive.readonly" ([] Symbol)))))
type Rs ActivitiesList Source # 

Request Lenses

alDriveFileId :: Lens' ActivitiesList (Maybe Text) Source #

Identifies the Drive item to return activities for.

alDriveAncestorId :: Lens' ActivitiesList (Maybe Text) Source #

Identifies the Drive folder containing the items for which to return activities.

alGroupingStrategy :: Lens' ActivitiesList ActivitiesListGroupingStrategy Source #

Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object.

alUserId :: Lens' ActivitiesList Text Source #

Indicates the user to return activity for. Use the special value me to indicate the currently authenticated user.

alSource :: Lens' ActivitiesList (Maybe Text) Source #

The Google service from which to return activities. Possible values of source are: - drive.google.com

alPageToken :: Lens' ActivitiesList (Maybe Text) Source #

A token to retrieve a specific page of results.

alPageSize :: Lens' ActivitiesList Int32 Source #

The maximum number of events to return on a page. The response includes a continuation token if there are more events.