gogol-urlshortener-1.0.0: Google URL Shortener SDK.
Copyright(c) 2015-2025 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+gogol@gmail.com> Toni Cebrián <toni@tonicebrian.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageGHC2021

Gogol.URLShortener.Url.Get

Description

Expands a short URL or gets creation time and analytics.

See: URL Shortener API Reference for urlshortener.url.get.

Synopsis

Resource

type URLShortenerUrlGetResource = "urlshortener" :> ("v1" :> ("url" :> (QueryParam "shortUrl" Text :> (QueryParam "projection" UrlGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] Url))))) Source #

A resource alias for urlshortener.url.get method which the URLShortenerUrlGet request conforms to.

Constructing a Request

data URLShortenerUrlGet Source #

Expands a short URL or gets creation time and analytics.

See: newURLShortenerUrlGet smart constructor.

Constructors

URLShortenerUrlGet 

Fields

Instances

Instances details
Generic URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

Associated Types

type Rep URLShortenerUrlGet 
Instance details

Defined in Gogol.URLShortener.Url.Get

type Rep URLShortenerUrlGet = D1 ('MetaData "URLShortenerUrlGet" "Gogol.URLShortener.Url.Get" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "URLShortenerUrlGet" 'PrefixI 'True) (S1 ('MetaSel ('Just "projection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UrlGetProjection)) :*: S1 ('MetaSel ('Just "shortUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
Show URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

Eq URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

GoogleRequest URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

type Rep URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

type Rep URLShortenerUrlGet = D1 ('MetaData "URLShortenerUrlGet" "Gogol.URLShortener.Url.Get" "gogol-urlshortener-1.0.0-Eavoe52yh8RBZydGcJO1Xz" 'False) (C1 ('MetaCons "URLShortenerUrlGet" 'PrefixI 'True) (S1 ('MetaSel ('Just "projection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UrlGetProjection)) :*: S1 ('MetaSel ('Just "shortUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type Rs URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

type Scopes URLShortenerUrlGet Source # 
Instance details

Defined in Gogol.URLShortener.Url.Get

newURLShortenerUrlGet Source #

Arguments

:: Text

The short URL, including the protocol. See shortUrl.

-> URLShortenerUrlGet 

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