gogol-driveactivity-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.DriveActivity.Activity.Query

Contents

Description

Query past activity in Google Drive.

See: Drive Activity API Reference for driveactivity.activity.query.

Synopsis

REST Resource

type ActivityQueryResource = "v2" :> ("activity:query" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] QueryDriveActivityRequest :> Post '[JSON] QueryDriveActivityResponse)))))))) Source #

A resource alias for driveactivity.activity.query method which the ActivityQuery request conforms to.

Creating a Request

activityQuery Source #

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

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

data ActivityQuery Source #

Query past activity in Google Drive.

See: activityQuery smart constructor.

Instances
Eq ActivityQuery Source # 
Instance details

Defined in Network.Google.Resource.DriveActivity.Activity.Query

Data ActivityQuery Source # 
Instance details

Defined in Network.Google.Resource.DriveActivity.Activity.Query

Methods

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

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

toConstr :: ActivityQuery -> Constr #

dataTypeOf :: ActivityQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ActivityQuery Source # 
Instance details

Defined in Network.Google.Resource.DriveActivity.Activity.Query

Generic ActivityQuery Source # 
Instance details

Defined in Network.Google.Resource.DriveActivity.Activity.Query

Associated Types

type Rep ActivityQuery :: Type -> Type #

GoogleRequest ActivityQuery Source # 
Instance details

Defined in Network.Google.Resource.DriveActivity.Activity.Query

Associated Types

type Rs ActivityQuery :: Type #

type Scopes ActivityQuery :: [Symbol] #

type Rep ActivityQuery Source # 
Instance details

Defined in Network.Google.Resource.DriveActivity.Activity.Query

type Rep ActivityQuery = D1 (MetaData "ActivityQuery" "Network.Google.Resource.DriveActivity.Activity.Query" "gogol-driveactivity-0.4.0-JXmrcCuZqjs5RiG7kTtWGd" False) (C1 (MetaCons "ActivityQuery'" PrefixI True) ((S1 (MetaSel (Just "_aqXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_aqUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aqAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_aqUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aqPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 QueryDriveActivityRequest) :*: S1 (MetaSel (Just "_aqCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ActivityQuery Source # 
Instance details

Defined in Network.Google.Resource.DriveActivity.Activity.Query

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

Defined in Network.Google.Resource.DriveActivity.Activity.Query

Request Lenses

aqUploadProtocol :: Lens' ActivityQuery (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

aqUploadType :: Lens' ActivityQuery (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").