gogol-proximitybeacon-0.1.1: 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: Google Proximity Beacon API Reference for proximitybeacon.getEidparams.

Synopsis

REST Resource

type GetEidparamsResource = "v1beta1" :> ("eidparams" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 # 
Data GetEidparams Source # 

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 # 
Generic GetEidparams Source # 

Associated Types

type Rep GetEidparams :: * -> * #

GoogleRequest GetEidparams Source # 

Associated Types

type Rs GetEidparams :: * #

type Scopes GetEidparams :: [Symbol] #

type Rep GetEidparams Source # 
type Rep GetEidparams = D1 (MetaData "GetEidparams" "Network.Google.Resource.ProximityBeacon.GetEidparams" "gogol-proximitybeacon-0.1.1-GrTXM8v1LnxEo3VfozzFv1" False) (C1 (MetaCons "GetEidparams'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_geXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_geUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gePp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_geAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_geUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_geBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_geCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes GetEidparams Source # 
type Scopes GetEidparams = (:) Symbol "https://www.googleapis.com/auth/userlocation.beacon.registry" ([] Symbol)
type Rs GetEidparams Source # 

Request Lenses

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

V1 error format.

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

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

gePp :: Lens' GetEidparams Bool Source #

Pretty-print response.

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

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