gogol-mirror-0.4.0: Google Mirror 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.Mirror.Settings.Get

Contents

Description

Gets a single setting by ID.

See: Google Mirror API Reference for mirror.settings.get.

Synopsis

REST Resource

type SettingsGetResource = "mirror" :> ("v1" :> ("settings" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Setting)))) Source #

A resource alias for mirror.settings.get method which the SettingsGet request conforms to.

Creating a Request

settingsGet Source #

Arguments

:: Text

sgId

-> SettingsGet 

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

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

data SettingsGet Source #

Gets a single setting by ID.

See: settingsGet smart constructor.

Instances
Eq SettingsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Settings.Get

Data SettingsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Settings.Get

Methods

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

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

toConstr :: SettingsGet -> Constr #

dataTypeOf :: SettingsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SettingsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Settings.Get

Generic SettingsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Settings.Get

Associated Types

type Rep SettingsGet :: Type -> Type #

GoogleRequest SettingsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Settings.Get

Associated Types

type Rs SettingsGet :: Type #

type Scopes SettingsGet :: [Symbol] #

type Rep SettingsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Settings.Get

type Rep SettingsGet = D1 (MetaData "SettingsGet" "Network.Google.Resource.Mirror.Settings.Get" "gogol-mirror-0.4.0-9c962MxnB494MCOxCUtS1H" True) (C1 (MetaCons "SettingsGet'" PrefixI True) (S1 (MetaSel (Just "_sgId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes SettingsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Settings.Get

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

Defined in Network.Google.Resource.Mirror.Settings.Get

Request Lenses

sgId :: Lens' SettingsGet Text Source #

The ID of the setting. The following IDs are valid: - locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content. - timezone - The key to the user’s current time zone region as defined in the tz database. Example: America/Los_Angeles.