gogol-firebase-dynamiclinks-0.3.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.ShortLinks.Create

Contents

Description

Creates a short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. Repeated calls with the same long Dynamic Link or Dynamic Link information will produce the same short Dynamic Link. The Dynamic Link domain in the request must be owned by requester's Firebase project.

See: Firebase Dynamic Links API Reference for firebasedynamiclinks.shortLinks.create.

Synopsis

REST Resource

type ShortLinksCreateResource = "v1" :> ("shortLinks" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateShortDynamicLinkRequest :> Post '[JSON] CreateShortDynamicLinkResponse)))))))))) Source #

A resource alias for firebasedynamiclinks.shortLinks.create method which the ShortLinksCreate request conforms to.

Creating a Request

shortLinksCreate Source #

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

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

data ShortLinksCreate Source #

Creates a short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. Repeated calls with the same long Dynamic Link or Dynamic Link information will produce the same short Dynamic Link. The Dynamic Link domain in the request must be owned by requester's Firebase project.

See: shortLinksCreate smart constructor.

Instances

Eq ShortLinksCreate Source # 
Data ShortLinksCreate Source # 

Methods

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

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

toConstr :: ShortLinksCreate -> Constr #

dataTypeOf :: ShortLinksCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ShortLinksCreate Source # 
Generic ShortLinksCreate Source # 
GoogleRequest ShortLinksCreate Source # 
type Rep ShortLinksCreate Source # 
type Rep ShortLinksCreate = D1 (MetaData "ShortLinksCreate" "Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create" "gogol-firebase-dynamiclinks-0.3.0-CWR5KCZXAl48H1sKBDX7ZW" False) (C1 (MetaCons "ShortLinksCreate'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_slcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_slcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_slcPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_slcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_slcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_slcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateShortDynamicLinkRequest))) ((:*:) (S1 (MetaSel (Just Symbol "_slcBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_slcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ShortLinksCreate Source # 
type Scopes ShortLinksCreate = (:) Symbol "https://www.googleapis.com/auth/firebase" ([] Symbol)
type Rs ShortLinksCreate Source # 

Request Lenses

slcUploadProtocol :: Lens' ShortLinksCreate (Maybe Text) Source #

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

slcPp :: Lens' ShortLinksCreate Bool Source #

Pretty-print response.

slcUploadType :: Lens' ShortLinksCreate (Maybe Text) Source #

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