gogol-core-0.3.0: Core data types and functionality for Gogol libraries.

Copyright(c) 2015-2016 Brendan Hay <brendan.g.hay@gmail.com>
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Types

Description

 
Synopsis

Documentation

data AltJSON Source #

Constructors

AltJSON 
Instances
Eq AltJSON Source # 
Instance details

Defined in Network.Google.Types

Methods

(==) :: AltJSON -> AltJSON -> Bool #

(/=) :: AltJSON -> AltJSON -> Bool #

Ord AltJSON Source # 
Instance details

Defined in Network.Google.Types

Read AltJSON Source # 
Instance details

Defined in Network.Google.Types

Show AltJSON Source # 
Instance details

Defined in Network.Google.Types

Generic AltJSON Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep AltJSON :: * -> * #

Methods

from :: AltJSON -> Rep AltJSON x #

to :: Rep AltJSON x -> AltJSON #

ToHttpApiData AltJSON Source # 
Instance details

Defined in Network.Google.Types

type Rep AltJSON Source # 
Instance details

Defined in Network.Google.Types

type Rep AltJSON = D1 (MetaData "AltJSON" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" False) (C1 (MetaCons "AltJSON" PrefixI False) (U1 :: * -> *))

data AltMedia Source #

Constructors

AltMedia 
Instances
Eq AltMedia Source # 
Instance details

Defined in Network.Google.Types

Ord AltMedia Source # 
Instance details

Defined in Network.Google.Types

Read AltMedia Source # 
Instance details

Defined in Network.Google.Types

Show AltMedia Source # 
Instance details

Defined in Network.Google.Types

Generic AltMedia Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep AltMedia :: * -> * #

Methods

from :: AltMedia -> Rep AltMedia x #

to :: Rep AltMedia x -> AltMedia #

ToHttpApiData AltMedia Source # 
Instance details

Defined in Network.Google.Types

GoogleClient fn => GoogleClient (AltMedia :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (AltMedia :> fn) :: * Source #

Methods

buildClient :: Proxy (AltMedia :> fn) -> Request -> Fn (AltMedia :> fn) Source #

type Rep AltMedia Source # 
Instance details

Defined in Network.Google.Types

type Rep AltMedia = D1 (MetaData "AltMedia" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" False) (C1 (MetaCons "AltMedia" PrefixI False) (U1 :: * -> *))
type Fn (AltMedia :> fn) Source # 
Instance details

Defined in Network.Google.Types

type Fn (AltMedia :> fn) = Body -> Fn fn

data Multipart Source #

Constructors

Multipart 
Instances
Eq Multipart Source # 
Instance details

Defined in Network.Google.Types

Ord Multipart Source # 
Instance details

Defined in Network.Google.Types

Read Multipart Source # 
Instance details

Defined in Network.Google.Types

Show Multipart Source # 
Instance details

Defined in Network.Google.Types

Generic Multipart Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep Multipart :: * -> * #

ToHttpApiData Multipart Source # 
Instance details

Defined in Network.Google.Types

type Rep Multipart Source # 
Instance details

Defined in Network.Google.Types

type Rep Multipart = D1 (MetaData "Multipart" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" False) (C1 (MetaCons "Multipart" PrefixI False) (U1 :: * -> *))

newtype OAuthScope Source #

An OAuth2 scope.

Constructors

OAuthScope Text 
Instances
Eq OAuthScope Source # 
Instance details

Defined in Network.Google.Types

Ord OAuthScope Source # 
Instance details

Defined in Network.Google.Types

Read OAuthScope Source # 
Instance details

Defined in Network.Google.Types

Show OAuthScope Source # 
Instance details

Defined in Network.Google.Types

IsString OAuthScope Source # 
Instance details

Defined in Network.Google.Types

Generic OAuthScope Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep OAuthScope :: * -> * #

FromJSON OAuthScope Source # 
Instance details

Defined in Network.Google.Types

Methods

parseJSON :: Value -> Parser OAuthScope #

parseJSONList :: Value -> Parser [OAuthScope] #

ToJSON OAuthScope Source # 
Instance details

Defined in Network.Google.Types

Methods

toJSON :: OAuthScope -> Value #

toEncoding :: OAuthScope -> Encoding #

toJSONList :: [OAuthScope] -> Value #

toEncodingList :: [OAuthScope] -> Encoding #

FromHttpApiData OAuthScope Source # 
Instance details

Defined in Network.Google.Types

ToHttpApiData OAuthScope Source # 
Instance details

Defined in Network.Google.Types

type Rep OAuthScope Source # 
Instance details

Defined in Network.Google.Types

type Rep OAuthScope = D1 (MetaData "OAuthScope" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "OAuthScope" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype AccessToken Source #

An OAuth2 access token.

Constructors

AccessToken Text 
Instances
Eq AccessToken Source # 
Instance details

Defined in Network.Google.Types

Ord AccessToken Source # 
Instance details

Defined in Network.Google.Types

Read AccessToken Source # 
Instance details

Defined in Network.Google.Types

Show AccessToken Source # 
Instance details

Defined in Network.Google.Types

IsString AccessToken Source # 
Instance details

Defined in Network.Google.Types

Generic AccessToken Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep AccessToken :: * -> * #

FromJSON AccessToken Source # 
Instance details

Defined in Network.Google.Types

Methods

parseJSON :: Value -> Parser AccessToken #

parseJSONList :: Value -> Parser [AccessToken] #

ToJSON AccessToken Source # 
Instance details

Defined in Network.Google.Types

Methods

toJSON :: AccessToken -> Value #

toEncoding :: AccessToken -> Encoding #

toJSONList :: [AccessToken] -> Value #

toEncodingList :: [AccessToken] -> Encoding #

FromHttpApiData AccessToken Source # 
Instance details

Defined in Network.Google.Types

ToHttpApiData AccessToken Source # 
Instance details

Defined in Network.Google.Types

type Rep AccessToken Source # 
Instance details

Defined in Network.Google.Types

type Rep AccessToken = D1 (MetaData "AccessToken" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "AccessToken" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype RefreshToken Source #

An OAuth2 refresh token.

Constructors

RefreshToken Text 
Instances
Eq RefreshToken Source # 
Instance details

Defined in Network.Google.Types

Ord RefreshToken Source # 
Instance details

Defined in Network.Google.Types

Read RefreshToken Source # 
Instance details

Defined in Network.Google.Types

Show RefreshToken Source # 
Instance details

Defined in Network.Google.Types

IsString RefreshToken Source # 
Instance details

Defined in Network.Google.Types

Generic RefreshToken Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep RefreshToken :: * -> * #

FromJSON RefreshToken Source # 
Instance details

Defined in Network.Google.Types

Methods

parseJSON :: Value -> Parser RefreshToken #

parseJSONList :: Value -> Parser [RefreshToken] #

ToJSON RefreshToken Source # 
Instance details

Defined in Network.Google.Types

Methods

toJSON :: RefreshToken -> Value #

toEncoding :: RefreshToken -> Encoding #

toJSONList :: [RefreshToken] -> Value #

toEncodingList :: [RefreshToken] -> Encoding #

FromHttpApiData RefreshToken Source # 
Instance details

Defined in Network.Google.Types

ToHttpApiData RefreshToken Source # 
Instance details

Defined in Network.Google.Types

type Rep RefreshToken Source # 
Instance details

Defined in Network.Google.Types

type Rep RefreshToken = D1 (MetaData "RefreshToken" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "RefreshToken" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype ClientId Source #

A client identifier.

Constructors

ClientId Text 
Instances
Eq ClientId Source # 
Instance details

Defined in Network.Google.Types

Ord ClientId Source # 
Instance details

Defined in Network.Google.Types

Read ClientId Source # 
Instance details

Defined in Network.Google.Types

Show ClientId Source # 
Instance details

Defined in Network.Google.Types

IsString ClientId Source # 
Instance details

Defined in Network.Google.Types

Generic ClientId Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep ClientId :: * -> * #

Methods

from :: ClientId -> Rep ClientId x #

to :: Rep ClientId x -> ClientId #

FromJSON ClientId Source # 
Instance details

Defined in Network.Google.Types

Methods

parseJSON :: Value -> Parser ClientId #

parseJSONList :: Value -> Parser [ClientId] #

ToJSON ClientId Source # 
Instance details

Defined in Network.Google.Types

Methods

toJSON :: ClientId -> Value #

toEncoding :: ClientId -> Encoding #

toJSONList :: [ClientId] -> Value #

toEncodingList :: [ClientId] -> Encoding #

FromHttpApiData ClientId Source # 
Instance details

Defined in Network.Google.Types

ToHttpApiData ClientId Source # 
Instance details

Defined in Network.Google.Types

type Rep ClientId Source # 
Instance details

Defined in Network.Google.Types

type Rep ClientId = D1 (MetaData "ClientId" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "ClientId" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype ServiceId Source #

A service identifier.

Constructors

ServiceId Text 
Instances
Eq ServiceId Source # 
Instance details

Defined in Network.Google.Types

Ord ServiceId Source # 
Instance details

Defined in Network.Google.Types

Read ServiceId Source # 
Instance details

Defined in Network.Google.Types

Show ServiceId Source # 
Instance details

Defined in Network.Google.Types

IsString ServiceId Source # 
Instance details

Defined in Network.Google.Types

Generic ServiceId Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep ServiceId :: * -> * #

FromJSON ServiceId Source # 
Instance details

Defined in Network.Google.Types

Methods

parseJSON :: Value -> Parser ServiceId #

parseJSONList :: Value -> Parser [ServiceId] #

ToJSON ServiceId Source # 
Instance details

Defined in Network.Google.Types

Methods

toJSON :: ServiceId -> Value #

toEncoding :: ServiceId -> Encoding #

toJSONList :: [ServiceId] -> Value #

toEncodingList :: [ServiceId] -> Encoding #

FromHttpApiData ServiceId Source # 
Instance details

Defined in Network.Google.Types

ToHttpApiData ServiceId Source # 
Instance details

Defined in Network.Google.Types

type Rep ServiceId Source # 
Instance details

Defined in Network.Google.Types

type Rep ServiceId = D1 (MetaData "ServiceId" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "ServiceId" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype Secret Source #

An opaque client secret.

Constructors

Secret Text 
Instances
Eq Secret Source # 
Instance details

Defined in Network.Google.Types

Methods

(==) :: Secret -> Secret -> Bool #

(/=) :: Secret -> Secret -> Bool #

Ord Secret Source # 
Instance details

Defined in Network.Google.Types

Read Secret Source # 
Instance details

Defined in Network.Google.Types

Show Secret Source # 
Instance details

Defined in Network.Google.Types

IsString Secret Source # 
Instance details

Defined in Network.Google.Types

Methods

fromString :: String -> Secret #

Generic Secret Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep Secret :: * -> * #

Methods

from :: Secret -> Rep Secret x #

to :: Rep Secret x -> Secret #

FromJSON Secret Source # 
Instance details

Defined in Network.Google.Types

Methods

parseJSON :: Value -> Parser Secret #

parseJSONList :: Value -> Parser [Secret] #

ToJSON Secret Source # 
Instance details

Defined in Network.Google.Types

Methods

toJSON :: Secret -> Value #

toEncoding :: Secret -> Encoding #

toJSONList :: [Secret] -> Value #

toEncodingList :: [Secret] -> Encoding #

FromHttpApiData Secret Source # 
Instance details

Defined in Network.Google.Types

ToHttpApiData Secret Source # 
Instance details

Defined in Network.Google.Types

type Rep Secret Source # 
Instance details

Defined in Network.Google.Types

type Rep Secret = D1 (MetaData "Secret" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "Secret" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype MediaDownload a Source #

Constructors

MediaDownload a 

data MediaUpload a Source #

Constructors

MediaUpload a Body 

_Coerce :: (Coercible a b, Coercible b a) => Iso' a b Source #

_Default :: Monoid a => Iso' (Maybe a) a Source #

Invalid Iso, exists for ease of composition with the current 'Lens . Iso' chaining to hide internal types from the user.

type Stream = ConduitM () ByteString (ResourceT IO) () Source #

class AsError a where Source #

Minimal complete definition

_Error

Methods

_Error :: Prism' a Error Source #

A general Amazonka error.

_TransportError :: Prism' a HttpException Source #

An error occured while communicating over HTTP with a remote service.

_SerializeError :: Prism' a SerializeError Source #

A serialisation error occured when attempting to deserialise a response.

_ServiceError :: Prism' a ServiceError Source #

A service specific error returned by the remote service.

serviceHost :: Lens' ServiceConfig ByteString Source #

The remote host name, used for both the IP address to connect to and the host request header.

servicePort :: Lens' ServiceConfig Int Source #

The remote port to connect to.

Defaults to 443.

servicePath :: Lens' ServiceConfig Builder Source #

A path prefix that is prepended to any sent HTTP request.

Defaults to mempty.

serviceSecure :: Lens' ServiceConfig Bool Source #

Whether to use HTTPS/SSL.

Defaults to True.

serviceTimeout :: Lens' ServiceConfig (Maybe Seconds) Source #

Number of seconds to wait for a response.

data Body Source #

A single part of a (potentially multipart) request body.

Note: The IsString instance defaults to a text/plain MIME type.

Constructors

Body !MediaType !RequestBody 
Instances
IsString Body Source # 
Instance details

Defined in Network.Google.Types

Methods

fromString :: String -> Body #

bodyContentType :: Lens' Body MediaType Source #

A lens into the MediaType of a request Body.

data Request Source #

An intermediary request builder.

Constructors

Request 

Fields

Instances
Semigroup Request Source # 
Instance details

Defined in Network.Google.Types

Monoid Request Source # 
Instance details

Defined in Network.Google.Types

appendHeader :: Request -> HeaderName -> Maybe Text -> Request Source #

data Client a Source #

A materialised 'http-client' request and associated response parser.

Constructors

Client 

Fields

mime :: FromStream c a => Proxy c -> Method -> [Int] -> Request -> ServiceConfig -> Client a Source #

discard :: Method -> [Int] -> Request -> ServiceConfig -> Client () Source #

client :: (Stream -> ResourceT IO (Either (String, ByteString) a)) -> Maybe MediaType -> Method -> [Int] -> Request -> ServiceConfig -> Client a Source #

class Accept c => ToBody c a where Source #

Minimal complete definition

toBody

Methods

toBody :: Proxy c -> a -> Body Source #

Instances
ToJSON a => ToBody JSON a Source # 
Instance details

Defined in Network.Google.Types

Methods

toBody :: Proxy JSON -> a -> Body Source #

ToBody OctetStream ByteString Source # 
Instance details

Defined in Network.Google.Types

ToBody OctetStream ByteString Source # 
Instance details

Defined in Network.Google.Types

ToBody PlainText ByteString Source # 
Instance details

Defined in Network.Google.Types

ToBody PlainText ByteString Source # 
Instance details

Defined in Network.Google.Types

class Accept c => FromStream c a where Source #

Minimal complete definition

fromStream

Methods

fromStream :: Proxy c -> Stream -> ResourceT IO (Either (String, ByteString) a) Source #

Instances
FromJSON a => FromStream JSON a Source # 
Instance details

Defined in Network.Google.Types

Methods

fromStream :: Proxy JSON -> Stream -> ResourceT IO (Either (String, ByteString) a) Source #

FromStream OctetStream Stream Source # 
Instance details

Defined in Network.Google.Types

class GoogleRequest a where Source #

Minimal complete definition

requestClient

Associated Types

type Rs a :: * Source #

type Scopes a :: [Symbol] Source #

Methods

requestClient :: a -> Client (Rs a) Source #

class GoogleClient fn where Source #

Minimal complete definition

buildClient

Associated Types

type Fn fn :: * Source #

Methods

buildClient :: Proxy fn -> Request -> Fn fn Source #

Instances
(GoogleClient a, GoogleClient b) => GoogleClient (a :<|> b) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (a :<|> b) :: * Source #

Methods

buildClient :: Proxy (a :<|> b) -> Request -> Fn (a :<|> b) Source #

FromStream c a => GoogleClient (Delete (c ': cs) a) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Delete (c ': cs) a) :: * Source #

Methods

buildClient :: Proxy (Delete (c ': cs) a) -> Request -> Fn (Delete (c ': cs) a) Source #

GoogleClient (Delete (c ': cs) ()) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Delete (c ': cs) ()) :: * Source #

Methods

buildClient :: Proxy (Delete (c ': cs) ()) -> Request -> Fn (Delete (c ': cs) ()) Source #

FromStream c a => GoogleClient (Get (c ': cs) a) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Get (c ': cs) a) :: * Source #

Methods

buildClient :: Proxy (Get (c ': cs) a) -> Request -> Fn (Get (c ': cs) a) Source #

GoogleClient (Get (c ': cs) ()) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Get (c ': cs) ()) :: * Source #

Methods

buildClient :: Proxy (Get (c ': cs) ()) -> Request -> Fn (Get (c ': cs) ()) Source #

FromStream c a => GoogleClient (Patch (c ': cs) a) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Patch (c ': cs) a) :: * Source #

Methods

buildClient :: Proxy (Patch (c ': cs) a) -> Request -> Fn (Patch (c ': cs) a) Source #

GoogleClient (Patch (c ': cs) ()) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Patch (c ': cs) ()) :: * Source #

Methods

buildClient :: Proxy (Patch (c ': cs) ()) -> Request -> Fn (Patch (c ': cs) ()) Source #

GoogleClient (Post cs ()) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Post cs ()) :: * Source #

Methods

buildClient :: Proxy (Post cs ()) -> Request -> Fn (Post cs ()) Source #

(FromStream c a, cs' ~ (c ': cs)) => GoogleClient (Post cs' a) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Post cs' a) :: * Source #

Methods

buildClient :: Proxy (Post cs' a) -> Request -> Fn (Post cs' a) Source #

FromStream c a => GoogleClient (Put (c ': cs) a) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Put (c ': cs) a) :: * Source #

Methods

buildClient :: Proxy (Put (c ': cs) a) -> Request -> Fn (Put (c ': cs) a) Source #

GoogleClient (Put (c ': cs) ()) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Put (c ': cs) ()) :: * Source #

Methods

buildClient :: Proxy (Put (c ': cs) ()) -> Request -> Fn (Put (c ': cs) ()) Source #

(KnownSymbol s, ToHttpApiData a, GoogleClient fn) => GoogleClient (Capture s a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Capture s a :> fn) :: * Source #

Methods

buildClient :: Proxy (Capture s a :> fn) -> Request -> Fn (Capture s a :> fn) Source #

(KnownSymbol s, ToHttpApiData a, GoogleClient fn) => GoogleClient (Header s a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Header s a :> fn) :: * Source #

Methods

buildClient :: Proxy (Header s a :> fn) -> Request -> Fn (Header s a :> fn) Source #

(KnownSymbol s, ToHttpApiData a, GoogleClient fn) => GoogleClient (QueryParam s a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (QueryParam s a :> fn) :: * Source #

Methods

buildClient :: Proxy (QueryParam s a :> fn) -> Request -> Fn (QueryParam s a :> fn) Source #

(KnownSymbol s, ToHttpApiData a, GoogleClient fn) => GoogleClient (QueryParams s a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (QueryParams s a :> fn) :: * Source #

Methods

buildClient :: Proxy (QueryParams s a :> fn) -> Request -> Fn (QueryParams s a :> fn) Source #

(ToBody c a, GoogleClient fn) => GoogleClient (ReqBody (c ': cs) a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (ReqBody (c ': cs) a :> fn) :: * Source #

Methods

buildClient :: Proxy (ReqBody (c ': cs) a :> fn) -> Request -> Fn (ReqBody (c ': cs) a :> fn) Source #

(ToBody c m, GoogleClient fn) => GoogleClient (MultipartRelated (c ': cs) m :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (MultipartRelated (c ': cs) m :> fn) :: * Source #

Methods

buildClient :: Proxy (MultipartRelated (c ': cs) m :> fn) -> Request -> Fn (MultipartRelated (c ': cs) m :> fn) Source #

(KnownSymbol s, KnownSymbol m, ToHttpApiData a, GoogleClient fn) => GoogleClient (CaptureMode s m a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (CaptureMode s m a :> fn) :: * Source #

Methods

buildClient :: Proxy (CaptureMode s m a :> fn) -> Request -> Fn (CaptureMode s m a :> fn) Source #

(KnownSymbol s, ToHttpApiData a, GoogleClient fn) => GoogleClient (Captures s a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Captures s a :> fn) :: * Source #

Methods

buildClient :: Proxy (Captures s a :> fn) -> Request -> Fn (Captures s a :> fn) Source #

GoogleClient fn => GoogleClient (AltMedia :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (AltMedia :> fn) :: * Source #

Methods

buildClient :: Proxy (AltMedia :> fn) -> Request -> Fn (AltMedia :> fn) Source #

(KnownSymbol s, GoogleClient fn) => GoogleClient (s :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (s :> fn) :: * Source #

Methods

buildClient :: Proxy (s :> fn) -> Request -> Fn (s :> fn) Source #

data Captures (s :: Symbol) a Source #

Multiple path captures, with [xs] forming x1x2x2....

Instances
(KnownSymbol s, ToHttpApiData a, GoogleClient fn) => GoogleClient (Captures s a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (Captures s a :> fn) :: * Source #

Methods

buildClient :: Proxy (Captures s a :> fn) -> Request -> Fn (Captures s a :> fn) Source #

type Fn (Captures s a :> fn) Source # 
Instance details

Defined in Network.Google.Types

type Fn (Captures s a :> fn) = [a] -> Fn fn

data CaptureMode (s :: Symbol) (m :: Symbol) a Source #

Form a Google style sub-resource, such as /capture:mode.

Instances
(KnownSymbol s, KnownSymbol m, ToHttpApiData a, GoogleClient fn) => GoogleClient (CaptureMode s m a :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (CaptureMode s m a :> fn) :: * Source #

Methods

buildClient :: Proxy (CaptureMode s m a :> fn) -> Request -> Fn (CaptureMode s m a :> fn) Source #

type Fn (CaptureMode s m a :> fn) Source # 
Instance details

Defined in Network.Google.Types

type Fn (CaptureMode s m a :> fn) = a -> Fn fn

data MultipartRelated (cs :: [*]) m Source #

Instances
(ToBody c m, GoogleClient fn) => GoogleClient (MultipartRelated (c ': cs) m :> fn) Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Fn (MultipartRelated (c ': cs) m :> fn) :: * Source #

Methods

buildClient :: Proxy (MultipartRelated (c ': cs) m :> fn) -> Request -> Fn (MultipartRelated (c ': cs) m :> fn) Source #

type Fn (MultipartRelated (c ': cs) m :> fn) Source # 
Instance details

Defined in Network.Google.Types

type Fn (MultipartRelated (c ': cs) m :> fn) = m -> Body -> Fn fn

buildSymbol :: forall n proxy. KnownSymbol n => proxy n -> Builder Source #

byteSymbol :: forall n proxy. KnownSymbol n => proxy n -> ByteString Source #

newtype Seconds Source #

An integral value representing seconds.

Constructors

Seconds Int 
Instances
Bounded Seconds Source # 
Instance details

Defined in Network.Google.Types

Enum Seconds Source # 
Instance details

Defined in Network.Google.Types

Eq Seconds Source # 
Instance details

Defined in Network.Google.Types

Methods

(==) :: Seconds -> Seconds -> Bool #

(/=) :: Seconds -> Seconds -> Bool #

Integral Seconds Source # 
Instance details

Defined in Network.Google.Types

Data Seconds Source # 
Instance details

Defined in Network.Google.Types

Methods

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

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

toConstr :: Seconds -> Constr #

dataTypeOf :: Seconds -> DataType #

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

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

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

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

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

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

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

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

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

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

Num Seconds Source # 
Instance details

Defined in Network.Google.Types

Ord Seconds Source # 
Instance details

Defined in Network.Google.Types

Read Seconds Source # 
Instance details

Defined in Network.Google.Types

Real Seconds Source # 
Instance details

Defined in Network.Google.Types

Show Seconds Source # 
Instance details

Defined in Network.Google.Types

Generic Seconds Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep Seconds :: * -> * #

Methods

from :: Seconds -> Rep Seconds x #

to :: Rep Seconds x -> Seconds #

type Rep Seconds Source # 
Instance details

Defined in Network.Google.Types

type Rep Seconds = D1 (MetaData "Seconds" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "Seconds" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

newtype FieldMask Source #

Constructors

FieldMask Text 
Instances
Eq FieldMask Source # 
Instance details

Defined in Network.Google.Types

Data FieldMask Source # 
Instance details

Defined in Network.Google.Types

Methods

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

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

toConstr :: FieldMask -> Constr #

dataTypeOf :: FieldMask -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord FieldMask Source # 
Instance details

Defined in Network.Google.Types

Read FieldMask Source # 
Instance details

Defined in Network.Google.Types

Show FieldMask Source # 
Instance details

Defined in Network.Google.Types

IsString FieldMask Source # 
Instance details

Defined in Network.Google.Types

Generic FieldMask Source # 
Instance details

Defined in Network.Google.Types

Associated Types

type Rep FieldMask :: * -> * #

FromJSON FieldMask Source # 
Instance details

Defined in Network.Google.Types

Methods

parseJSON :: Value -> Parser FieldMask #

parseJSONList :: Value -> Parser [FieldMask] #

ToJSON FieldMask Source # 
Instance details

Defined in Network.Google.Types

Methods

toJSON :: FieldMask -> Value #

toEncoding :: FieldMask -> Encoding #

toJSONList :: [FieldMask] -> Value #

toEncodingList :: [FieldMask] -> Encoding #

FromHttpApiData FieldMask Source # 
Instance details

Defined in Network.Google.Types

ToHttpApiData FieldMask Source # 
Instance details

Defined in Network.Google.Types

type Rep FieldMask Source # 
Instance details

Defined in Network.Google.Types

type Rep FieldMask = D1 (MetaData "FieldMask" "Network.Google.Types" "gogol-core-0.3.0-B7FUFgRjZduJ6WctkO583k" True) (C1 (MetaCons "FieldMask" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))