gogol-firebase-dynamiclinks-0.4.0: Google Firebase Dynamic Links 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.FirebaseDynamicLinks.GetLinkStats

Contents

Description

Fetches analytics stats of a short Dynamic Link for a given duration. Metrics include number of clicks, redirects, installs, app first opens, and app reopens.

See: Firebase Dynamic Links API Reference for firebasedynamiclinks.getLinkStats.

Synopsis

REST Resource

type GetLinkStatsResource = "v1" :> (Capture "dynamicLink" Text :> ("linkStats" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "sdkVersion" Text :> (QueryParam "durationDays" (Textual Int64) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DynamicLinkStats)))))))))) Source #

A resource alias for firebasedynamiclinks.getLinkStats method which the GetLinkStats request conforms to.

Creating a Request

getLinkStats Source #

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

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

data GetLinkStats Source #

Fetches analytics stats of a short Dynamic Link for a given duration. Metrics include number of clicks, redirects, installs, app first opens, and app reopens.

See: getLinkStats smart constructor.

Instances
Eq GetLinkStats Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats

Data GetLinkStats Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats

Methods

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

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

toConstr :: GetLinkStats -> Constr #

dataTypeOf :: GetLinkStats -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetLinkStats Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats

Generic GetLinkStats Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats

Associated Types

type Rep GetLinkStats :: Type -> Type #

GoogleRequest GetLinkStats Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats

Associated Types

type Rs GetLinkStats :: Type #

type Scopes GetLinkStats :: [Symbol] #

type Rep GetLinkStats Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats

type Rep GetLinkStats = D1 (MetaData "GetLinkStats" "Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats" "gogol-firebase-dynamiclinks-0.4.0-KpZx1tfRpXYLAjCU4MRODP" False) (C1 (MetaCons "GetLinkStats'" PrefixI True) (((S1 (MetaSel (Just "_glsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_glsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_glsDynamicLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_glsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_glsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_glsSdkVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_glsDurationDays") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_glsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GetLinkStats Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats

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

Defined in Network.Google.Resource.FirebaseDynamicLinks.GetLinkStats

Request Lenses

glsUploadProtocol :: Lens' GetLinkStats (Maybe Text) Source #

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

glsDynamicLink :: Lens' GetLinkStats Text Source #

Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz

glsUploadType :: Lens' GetLinkStats (Maybe Text) Source #

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

glsSdkVersion :: Lens' GetLinkStats (Maybe Text) Source #

Google SDK version. Version takes the form "major.minor.$patch"

glsDurationDays :: Lens' GetLinkStats (Maybe Int64) Source #

The span of time requested in days.