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.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 "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create

Data ShortLinksCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create

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 # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create

Generic ShortLinksCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create

Associated Types

type Rep ShortLinksCreate :: Type -> Type #

GoogleRequest ShortLinksCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create

Associated Types

type Rs ShortLinksCreate :: Type #

type Scopes ShortLinksCreate :: [Symbol] #

type Rep ShortLinksCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create

type Rep ShortLinksCreate = D1 (MetaData "ShortLinksCreate" "Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create" "gogol-firebase-dynamiclinks-0.4.0-KpZx1tfRpXYLAjCU4MRODP" False) (C1 (MetaCons "ShortLinksCreate'" PrefixI True) ((S1 (MetaSel (Just "_slcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_slcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_slcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_slcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_slcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateShortDynamicLinkRequest) :*: S1 (MetaSel (Just "_slcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ShortLinksCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create

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

Defined in Network.Google.Resource.FirebaseDynamicLinks.ShortLinks.Create

Request Lenses

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

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

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

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