Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new short URL.
See: URL Shortener API Reference for urlshortener.url.insert
.
REST Resource
type URLInsertResource = "urlshortener" :> ("v1" :> ("url" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URL :> Post '[JSON] URL)))) Source #
A resource alias for urlshortener.url.insert
method which the
URLInsert
request conforms to.
Creating a Request
Creates a new short URL.
See: urlInsert
smart constructor.
Instances
Eq URLInsert Source # | |
Data URLInsert Source # | |
Defined in Network.Google.Resource.URLShortener.URL.Insert gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> URLInsert -> c URLInsert # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URLInsert # toConstr :: URLInsert -> Constr # dataTypeOf :: URLInsert -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URLInsert) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URLInsert) # gmapT :: (forall b. Data b => b -> b) -> URLInsert -> URLInsert # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URLInsert -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URLInsert -> r # gmapQ :: (forall d. Data d => d -> u) -> URLInsert -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> URLInsert -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> URLInsert -> m URLInsert # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URLInsert -> m URLInsert # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URLInsert -> m URLInsert # | |
Show URLInsert Source # | |
Generic URLInsert Source # | |
GoogleRequest URLInsert Source # | |
type Rep URLInsert Source # | |
type Scopes URLInsert Source # | |
type Rs URLInsert Source # | |