gogol-proximitybeacon-0.4.0: Google Proximity Beacon 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.ProximityBeacon.GetEidparams

Contents

Description

Gets the Proximity Beacon API's current public key and associated parameters used to initiate the Diffie-Hellman key exchange required to register a beacon that broadcasts the Eddystone-EID format. This key changes periodically; clients may cache it and re-use the same public key to provision and register multiple beacons. However, clients should be prepared to refresh this key when they encounter an error registering an Eddystone-EID beacon.

See: Proximity Beacon API Reference for proximitybeacon.getEidparams.

Synopsis

REST Resource

type GetEidparamsResource = "v1beta1" :> ("eidparams" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] EphemeralIdRegistrationParams))))))) Source #

A resource alias for proximitybeacon.getEidparams method which the GetEidparams request conforms to.

Creating a Request

getEidparams :: GetEidparams Source #

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

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

data GetEidparams Source #

Gets the Proximity Beacon API's current public key and associated parameters used to initiate the Diffie-Hellman key exchange required to register a beacon that broadcasts the Eddystone-EID format. This key changes periodically; clients may cache it and re-use the same public key to provision and register multiple beacons. However, clients should be prepared to refresh this key when they encounter an error registering an Eddystone-EID beacon.

See: getEidparams smart constructor.

Instances
Eq GetEidparams Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.GetEidparams

Data GetEidparams Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.GetEidparams

Methods

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

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

toConstr :: GetEidparams -> Constr #

dataTypeOf :: GetEidparams -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetEidparams Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.GetEidparams

Generic GetEidparams Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.GetEidparams

Associated Types

type Rep GetEidparams :: Type -> Type #

GoogleRequest GetEidparams Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.GetEidparams

Associated Types

type Rs GetEidparams :: Type #

type Scopes GetEidparams :: [Symbol] #

type Rep GetEidparams Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.GetEidparams

type Rep GetEidparams = D1 (MetaData "GetEidparams" "Network.Google.Resource.ProximityBeacon.GetEidparams" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "GetEidparams'" PrefixI True) ((S1 (MetaSel (Just "_geXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_geUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_geAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_geUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_geCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GetEidparams Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.GetEidparams

type Scopes GetEidparams = "https://www.googleapis.com/auth/userlocation.beacon.registry" ': ([] :: [Symbol])
type Rs GetEidparams Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.GetEidparams

Request Lenses

geUploadProtocol :: Lens' GetEidparams (Maybe Text) Source #

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

geUploadType :: Lens' GetEidparams (Maybe Text) Source #

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