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.ManagedShortLinks.Create

Contents

Description

Creates a managed 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. This differs from CreateShortDynamicLink in the following ways: - The request will also contain a name for the link (non unique name for the front end). - The response must be authenticated with an auth token (generated with the admin service account). - The link will appear in the FDL list of links in the console front end. The Dynamic Link domain in the request must be owned by requester's Firebase project.

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

Synopsis

REST Resource

type ManagedShortLinksCreateResource = "v1" :> ("managedShortLinks:create" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateManagedShortLinkRequest :> Post '[JSON] CreateManagedShortLinkResponse)))))))) Source #

A resource alias for firebasedynamiclinks.managedShortLinks.create method which the ManagedShortLinksCreate request conforms to.

Creating a Request

managedShortLinksCreate Source #

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

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

data ManagedShortLinksCreate Source #

Creates a managed 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. This differs from CreateShortDynamicLink in the following ways: - The request will also contain a name for the link (non unique name for the front end). - The response must be authenticated with an auth token (generated with the admin service account). - The link will appear in the FDL list of links in the console front end. The Dynamic Link domain in the request must be owned by requester's Firebase project.

See: managedShortLinksCreate smart constructor.

Instances
Eq ManagedShortLinksCreate Source # 
Instance details

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

Data ManagedShortLinksCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ManagedShortLinksCreate -> Constr #

dataTypeOf :: ManagedShortLinksCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedShortLinksCreate Source # 
Instance details

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

Generic ManagedShortLinksCreate Source # 
Instance details

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

Associated Types

type Rep ManagedShortLinksCreate :: Type -> Type #

GoogleRequest ManagedShortLinksCreate Source # 
Instance details

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

type Rep ManagedShortLinksCreate Source # 
Instance details

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

type Rep ManagedShortLinksCreate = D1 (MetaData "ManagedShortLinksCreate" "Network.Google.Resource.FirebaseDynamicLinks.ManagedShortLinks.Create" "gogol-firebase-dynamiclinks-0.4.0-KpZx1tfRpXYLAjCU4MRODP" False) (C1 (MetaCons "ManagedShortLinksCreate'" PrefixI True) ((S1 (MetaSel (Just "_mslcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_mslcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mslcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_mslcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_mslcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateManagedShortLinkRequest) :*: S1 (MetaSel (Just "_mslcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ManagedShortLinksCreate Source # 
Instance details

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

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

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

Request Lenses

mslcUploadProtocol :: Lens' ManagedShortLinksCreate (Maybe Text) Source #

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

mslcUploadType :: Lens' ManagedShortLinksCreate (Maybe Text) Source #

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