gogol-admin-reports-0.4.0: Google Admin Reports 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.Reports.Activities.List

Contents

Description

Retrieves a list of activities for a specific customer and application.

See: Admin Reports API Reference for reports.activities.list.

Synopsis

REST Resource

type ActivitiesListResource = "admin" :> ("reports" :> ("v1" :> ("activity" :> ("users" :> (Capture "userKey" Text :> ("applications" :> (Capture "applicationName" Text :> (QueryParam "startTime" Text :> (QueryParam "filters" Text :> (QueryParam "customerId" Text :> (QueryParam "actorIpAddress" Text :> (QueryParam "endTime" Text :> (QueryParam "pageToken" Text :> (QueryParam "eventName" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "orgUnitID" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Activities))))))))))))))))) Source #

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

Creating a Request

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 #

Retrieves a list of activities for a specific customer and application.

See: activitiesList smart constructor.

Instances
Eq ActivitiesList Source # 
Instance details

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

Data ActivitiesList Source # 
Instance details

Defined in Network.Google.Resource.Reports.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.Reports.Activities.List

Generic ActivitiesList Source # 
Instance details

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

Associated Types

type Rep ActivitiesList :: Type -> Type #

GoogleRequest ActivitiesList Source # 
Instance details

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

Associated Types

type Rs ActivitiesList :: Type #

type Scopes ActivitiesList :: [Symbol] #

type Rep ActivitiesList Source # 
Instance details

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

type Scopes ActivitiesList Source # 
Instance details

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

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

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

Request Lenses

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

Return events which occurred at or after this time.

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

Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2 name][operator][parameter2 value],...

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

Represents the customer for which the data is to be fetched.

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

IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.

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

Return events which occurred at or before this time.

alApplicationName :: Lens' ActivitiesList Text Source #

Application name for which the events are to be retrieved.

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

Token to specify next page.

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

Name of the event being queried.

alUserKey :: Lens' ActivitiesList Text Source #

Represents the profile id or the user email for which the data should be filtered. When 'all' is specified as the userKey, it returns usageReports for all users.

alMaxResults :: Lens' ActivitiesList (Maybe Int32) Source #

Number of activity records to be shown in each page.

alOrgUnitId :: Lens' ActivitiesList Text Source #

the organizational unit's(OU) ID to filter activities from users belonging to a specific OU or one of its sub-OU(s)