gogol-admin-reports-0.3.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.Watch

Contents

Description

Push changes to activities

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

Synopsis

REST Resource

type ActivitiesWatchResource = "admin" :> ("reports" :> ("v1" :> ("activity" :> ("users" :> (Capture "userKey" Text :> ("applications" :> (Capture "applicationName" Text :> ("watch" :> (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 "alt" AltJSON :> (ReqBody '[JSON] Channel :> Post '[JSON] Channel)))))))))))))))))) Source #

A resource alias for reports.activities.watch method which the ActivitiesWatch request conforms to.

Creating a Request

activitiesWatch Source #

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

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

data ActivitiesWatch Source #

Push changes to activities

See: activitiesWatch smart constructor.

Instances

Eq ActivitiesWatch Source # 
Data ActivitiesWatch Source # 

Methods

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

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

toConstr :: ActivitiesWatch -> Constr #

dataTypeOf :: ActivitiesWatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ActivitiesWatch Source # 
Generic ActivitiesWatch Source # 
GoogleRequest ActivitiesWatch Source # 
type Rep ActivitiesWatch Source # 
type Rep ActivitiesWatch = D1 (MetaData "ActivitiesWatch" "Network.Google.Resource.Reports.Activities.Watch" "gogol-admin-reports-0.3.0-9T0Omjs9auuL0tv5S7EhZy" False) (C1 (MetaCons "ActivitiesWatch'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_awStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_awFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_awPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Channel)) ((:*:) (S1 (MetaSel (Just Symbol "_awCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_awActorIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_awEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_awApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_awPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_awEventName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_awUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_awMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))))
type Scopes ActivitiesWatch Source # 
type Scopes ActivitiesWatch = (:) Symbol "https://www.googleapis.com/auth/admin.reports.audit.readonly" ([] Symbol)
type Rs ActivitiesWatch Source # 

Request Lenses

awStartTime :: Lens' ActivitiesWatch (Maybe Text) Source #

Return events which occured at or after this time.

awFilters :: Lens' ActivitiesWatch (Maybe Text) Source #

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

awPayload :: Lens' ActivitiesWatch Channel Source #

Multipart request metadata.

awCustomerId :: Lens' ActivitiesWatch (Maybe Text) Source #

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

awActorIPAddress :: Lens' ActivitiesWatch (Maybe Text) Source #

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

awEndTime :: Lens' ActivitiesWatch (Maybe Text) Source #

Return events which occured at or before this time.

awApplicationName :: Lens' ActivitiesWatch Text Source #

Application name for which the events are to be retrieved.

awPageToken :: Lens' ActivitiesWatch (Maybe Text) Source #

Token to specify next page.

awEventName :: Lens' ActivitiesWatch (Maybe Text) Source #

Name of the event being queried.

awUserKey :: Lens' ActivitiesWatch 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.

awMaxResults :: Lens' ActivitiesWatch (Maybe Int32) Source #

Number of activity records to be shown in each page.