gogol-apps-activity-0.4.0: Google Drive 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: Drive 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 # 
Instance details

Defined in Network.Google.Resource.AppsActivity.Activities.List

Data ActivitiesList Source # 
Instance details

Defined in Network.Google.Resource.AppsActivity.Activities.List

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 # 
Instance details

Defined in Network.Google.Resource.AppsActivity.Activities.List

Generic ActivitiesList Source # 
Instance details

Defined in Network.Google.Resource.AppsActivity.Activities.List

Associated Types

type Rep ActivitiesList :: Type -> Type #

GoogleRequest ActivitiesList Source # 
Instance details

Defined in Network.Google.Resource.AppsActivity.Activities.List

Associated Types

type Rs ActivitiesList :: Type #

type Scopes ActivitiesList :: [Symbol] #

type Rep ActivitiesList Source # 
Instance details

Defined in Network.Google.Resource.AppsActivity.Activities.List

type Rep ActivitiesList = D1 (MetaData "ActivitiesList" "Network.Google.Resource.AppsActivity.Activities.List" "gogol-apps-activity-0.4.0-3XjYyCQw6cW3ga9xvxdE9g" False) (C1 (MetaCons "ActivitiesList'" PrefixI True) ((S1 (MetaSel (Just "_alDriveFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_alDriveAncestorId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_alGroupingStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ActivitiesListGroupingStrategy))) :*: ((S1 (MetaSel (Just "_alUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_alSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_alPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_alPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))))
type Scopes ActivitiesList Source # 
Instance details

Defined in Network.Google.Resource.AppsActivity.Activities.List

type Scopes ActivitiesList = "https://www.googleapis.com/auth/activity" ': ([] :: [Symbol])
type Rs ActivitiesList Source # 
Instance details

Defined in Network.Google.Resource.AppsActivity.Activities.List

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.