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.ProximityBeacon.Types

Contents

Description

 
Synopsis

Service Configuration

proximityBeaconService :: ServiceConfig Source #

Default request referring to version v1beta1 of the Proximity Beacon API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

userlocationBeaconRegistryScope :: Proxy '["https://www.googleapis.com/auth/userlocation.beacon.registry"] Source #

View and modify your beacons

LatLng

data LatLng Source #

An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

See: latLng smart constructor.

Instances
Eq LatLng Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

Data LatLng Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: LatLng -> Constr #

dataTypeOf :: LatLng -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LatLng Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic LatLng Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep LatLng :: Type -> Type #

Methods

from :: LatLng -> Rep LatLng x #

to :: Rep LatLng x -> LatLng #

ToJSON LatLng Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON LatLng Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep LatLng Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep LatLng = D1 (MetaData "LatLng" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "LatLng'" PrefixI True) (S1 (MetaSel (Just "_llLatitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_llLongitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))

latLng :: LatLng Source #

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

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

llLatitude :: Lens' LatLng (Maybe Double) Source #

The latitude in degrees. It must be in the range [-90.0, +90.0].

llLongitude :: Lens' LatLng (Maybe Double) Source #

The longitude in degrees. It must be in the range [-180.0, +180.0].

AttachmentInfo

data AttachmentInfo Source #

A subset of attachment information served via the `beaconinfo.getforobserved` method, used when your users encounter your beacons.

See: attachmentInfo smart constructor.

Instances
Eq AttachmentInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data AttachmentInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: AttachmentInfo -> Constr #

dataTypeOf :: AttachmentInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AttachmentInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic AttachmentInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep AttachmentInfo :: Type -> Type #

ToJSON AttachmentInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON AttachmentInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep AttachmentInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep AttachmentInfo = D1 (MetaData "AttachmentInfo" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "AttachmentInfo'" PrefixI True) (S1 (MetaSel (Just "_aiMaxDistanceMeters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: (S1 (MetaSel (Just "_aiData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_aiNamespacedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

attachmentInfo :: AttachmentInfo Source #

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

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

aiMaxDistanceMeters :: Lens' AttachmentInfo (Maybe Double) Source #

The distance away from the beacon at which this attachment should be delivered to a mobile app. Setting this to a value greater than zero indicates that the app should behave as if the beacon is "seen" when the mobile device is less than this distance away from the beacon. Different attachments on the same beacon can have different max distances. Note that even though this value is expressed with fractional meter precision, real-world behavior is likley to be much less precise than one meter, due to the nature of current Bluetooth radio technology. Optional. When not set or zero, the attachment should be delivered at the beacon's outer limit of detection.

aiData :: Lens' AttachmentInfo (Maybe ByteString) Source #

An opaque data container for client-provided data.

aiNamespacedType :: Lens' AttachmentInfo (Maybe Text) Source #

Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type, for example 'scrupulous-wombat-12345\/welcome-message'

BeaconExpectedStability

data BeaconExpectedStability Source #

Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.

Constructors

StabilityUnspecified

STABILITY_UNSPECIFIED Do not use this value.

Stable

STABLE Not expected to move, for example a store's front door.

Portable

PORTABLE Usually stable but may move rarely, usually within a single place, for example a store display.

Mobile

MOBILE Moves frequently, for example a personal item or food truck.

Roving

ROVING Moves continuously in service, for example a bus or train.

Instances
Enum BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Eq BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Data BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

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

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

toConstr :: BeaconExpectedStability -> Constr #

dataTypeOf :: BeaconExpectedStability -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Read BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Show BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Generic BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Associated Types

type Rep BeaconExpectedStability :: Type -> Type #

Hashable BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToJSON BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromJSON BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromHttpApiData BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToHttpApiData BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep BeaconExpectedStability Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep BeaconExpectedStability = D1 (MetaData "BeaconExpectedStability" "Network.Google.ProximityBeacon.Types.Sum" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) ((C1 (MetaCons "StabilityUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Stable" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Portable" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Mobile" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Roving" PrefixI False) (U1 :: Type -> Type))))

NamespaceServingVisibility

data NamespaceServingVisibility Source #

Specifies what clients may receive attachments under this namespace via `beaconinfo.getforobserved`.

Constructors

VisibilityUnspecified

VISIBILITY_UNSPECIFIED Do not use this value.

UnListed

UNLISTED Served only to the project that owns the namespace.

Public

PUBLIC Any project can subscribe to attachments under the namespace.

Instances
Enum NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Eq NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Data NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

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

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

toConstr :: NamespaceServingVisibility -> Constr #

dataTypeOf :: NamespaceServingVisibility -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Read NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Show NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Generic NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Associated Types

type Rep NamespaceServingVisibility :: Type -> Type #

Hashable NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToJSON NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromJSON NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromHttpApiData NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToHttpApiData NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep NamespaceServingVisibility Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep NamespaceServingVisibility = D1 (MetaData "NamespaceServingVisibility" "Network.Google.ProximityBeacon.Types.Sum" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "VisibilityUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "UnListed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Public" PrefixI False) (U1 :: Type -> Type)))

BeaconProperties

data BeaconProperties Source #

Properties of the beacon device, for example battery type or firmware version. Optional.

See: beaconProperties smart constructor.

Instances
Eq BeaconProperties Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data BeaconProperties Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: BeaconProperties -> Constr #

dataTypeOf :: BeaconProperties -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BeaconProperties Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic BeaconProperties Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep BeaconProperties :: Type -> Type #

ToJSON BeaconProperties Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON BeaconProperties Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep BeaconProperties Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep BeaconProperties = D1 (MetaData "BeaconProperties" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" True) (C1 (MetaCons "BeaconProperties'" PrefixI True) (S1 (MetaSel (Just "_bpAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

beaconProperties Source #

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

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

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

Data Empty Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Empty Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

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

DeleteAttachmentsResponse

data DeleteAttachmentsResponse Source #

Response for a request to delete attachments.

See: deleteAttachmentsResponse smart constructor.

Instances
Eq DeleteAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data DeleteAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: DeleteAttachmentsResponse -> Constr #

dataTypeOf :: DeleteAttachmentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeleteAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic DeleteAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep DeleteAttachmentsResponse :: Type -> Type #

ToJSON DeleteAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON DeleteAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep DeleteAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep DeleteAttachmentsResponse = D1 (MetaData "DeleteAttachmentsResponse" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" True) (C1 (MetaCons "DeleteAttachmentsResponse'" PrefixI True) (S1 (MetaSel (Just "_darNumDeleted") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Textual Int32)))))

deleteAttachmentsResponse :: DeleteAttachmentsResponse Source #

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

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

darNumDeleted :: Lens' DeleteAttachmentsResponse (Maybe Int32) Source #

The number of attachments that were deleted.

GetInfoForObservedBeaconsRequest

data GetInfoForObservedBeaconsRequest Source #

Request for beacon and attachment information about beacons that a mobile client has encountered "in the wild".

See: getInfoForObservedBeaconsRequest smart constructor.

Instances
Eq GetInfoForObservedBeaconsRequest Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data GetInfoForObservedBeaconsRequest Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: GetInfoForObservedBeaconsRequest -> Constr #

dataTypeOf :: GetInfoForObservedBeaconsRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetInfoForObservedBeaconsRequest Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic GetInfoForObservedBeaconsRequest Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep GetInfoForObservedBeaconsRequest :: Type -> Type #

ToJSON GetInfoForObservedBeaconsRequest Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON GetInfoForObservedBeaconsRequest Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep GetInfoForObservedBeaconsRequest Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep GetInfoForObservedBeaconsRequest = D1 (MetaData "GetInfoForObservedBeaconsRequest" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "GetInfoForObservedBeaconsRequest'" PrefixI True) (S1 (MetaSel (Just "_gifobrObservations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Observation])) :*: S1 (MetaSel (Just "_gifobrNamespacedTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

getInfoForObservedBeaconsRequest :: GetInfoForObservedBeaconsRequest Source #

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

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

gifobrObservations :: Lens' GetInfoForObservedBeaconsRequest [Observation] Source #

The beacons that the client has encountered. At least one must be given.

gifobrNamespacedTypes :: Lens' GetInfoForObservedBeaconsRequest [Text] Source #

Specifies what kind of attachments to include in the response. When given, the response will include only attachments of the given types. When empty, no attachments will be returned. Must be in the format namespace/type. Accepts `*` to specify all types in all namespaces owned by the client. Optional.

Namespace

data Namespace Source #

An attachment namespace defines read and write access for all the attachments created under it. Each namespace is globally unique, and owned by one project which is the only project that can create attachments under it.

See: namespace smart constructor.

Instances
Eq Namespace Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data Namespace Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: Namespace -> Constr #

dataTypeOf :: Namespace -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Namespace Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic Namespace Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep Namespace :: Type -> Type #

ToJSON Namespace Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON Namespace Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Namespace Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Namespace = D1 (MetaData "Namespace" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "Namespace'" PrefixI True) (S1 (MetaSel (Just "_nServingVisibility") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NamespaceServingVisibility)) :*: S1 (MetaSel (Just "_nNamespaceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

namespace :: Namespace Source #

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

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

nServingVisibility :: Lens' Namespace (Maybe NamespaceServingVisibility) Source #

Specifies what clients may receive attachments under this namespace via `beaconinfo.getforobserved`.

nNamespaceName :: Lens' Namespace (Maybe Text) Source #

Resource name of this namespace. Namespaces names have the format: 'namespaces\/namespace'.

EphemeralIdRegistration

data EphemeralIdRegistration Source #

Write-only registration parameters for beacons using Eddystone-EID format. Two ways of securely registering an Eddystone-EID beacon with the service are supported: 1. Perform an ECDH key exchange via this API, including a previous call to `GET /v1beta1/eidparams`. In this case the fields `beacon_ecdh_public_key` and `service_ecdh_public_key` should be populated and `beacon_identity_key` should not be populated. This method ensures that only the two parties in the ECDH key exchange can compute the identity key, which becomes a secret between them. 2. Derive or obtain the beacon's identity key via other secure means (perhaps an ECDH key exchange between the beacon and a mobile device or any other secure method), and then submit the resulting identity key to the service. In this case `beacon_identity_key` field should be populated, and neither of `beacon_ecdh_public_key` nor `service_ecdh_public_key` fields should be. The security of this method depends on how securely the parties involved (in particular the bluetooth client) handle the identity key, and obviously on how securely the identity key was generated. See the Eddystone specification at GitHub.

See: ephemeralIdRegistration smart constructor.

Instances
Eq EphemeralIdRegistration Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data EphemeralIdRegistration Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: EphemeralIdRegistration -> Constr #

dataTypeOf :: EphemeralIdRegistration -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EphemeralIdRegistration Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic EphemeralIdRegistration Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep EphemeralIdRegistration :: Type -> Type #

ToJSON EphemeralIdRegistration Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON EphemeralIdRegistration Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep EphemeralIdRegistration Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep EphemeralIdRegistration = D1 (MetaData "EphemeralIdRegistration" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "EphemeralIdRegistration'" PrefixI True) ((S1 (MetaSel (Just "_eirRotationPeriodExponent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))) :*: (S1 (MetaSel (Just "_eirInitialClockValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))) :*: S1 (MetaSel (Just "_eirBeaconIdentityKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)))) :*: (S1 (MetaSel (Just "_eirBeaconEcdhPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_eirInitialEid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_eirServiceEcdhPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))))))

ephemeralIdRegistration :: EphemeralIdRegistration Source #

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

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

eirRotationPeriodExponent :: Lens' EphemeralIdRegistration (Maybe Word32) Source #

Indicates the nominal period between each rotation of the beacon's ephemeral ID. "Nominal" because the beacon should randomize the actual interval. See the spec at github for details. This value corresponds to a power-of-two scaler on the beacon's clock: when the scaler value is K, the beacon will begin broadcasting a new ephemeral ID on average every 2^K seconds.

eirInitialClockValue :: Lens' EphemeralIdRegistration (Maybe Word64) Source #

The initial clock value of the beacon. The beacon's clock must have begun counting at this value immediately prior to transmitting this value to the resolving service. Significant delay in transmitting this value to the service risks registration or resolution failures. If a value is not provided, the default is zero.

eirBeaconIdentityKey :: Lens' EphemeralIdRegistration (Maybe ByteString) Source #

The private key of the beacon. If this field is populated, `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be populated.

eirBeaconEcdhPublicKey :: Lens' EphemeralIdRegistration (Maybe ByteString) Source #

The beacon's public key used for the Elliptic curve Diffie-Hellman key exchange. When this field is populated, `service_ecdh_public_key` must also be populated, and `beacon_identity_key` must not be.

eirInitialEid :: Lens' EphemeralIdRegistration (Maybe ByteString) Source #

An initial ephemeral ID calculated using the clock value submitted as `initial_clock_value`, and the secret key generated by the Diffie-Hellman key exchange using `service_ecdh_public_key` and `service_ecdh_public_key`. This initial EID value will be used by the service to confirm that the key exchange process was successful.

eirServiceEcdhPublicKey :: Lens' EphemeralIdRegistration (Maybe ByteString) Source #

The service's public key used for the Elliptic curve Diffie-Hellman key exchange. When this field is populated, `beacon_ecdh_public_key` must also be populated, and `beacon_identity_key` must not be.

AdvertisedIdType

data AdvertisedIdType Source #

Specifies the identifier type. Required.

Constructors

TypeUnspecified

TYPE_UNSPECIFIED Do not use this value.

Eddystone

EDDYSTONE Eddystone, an open beacon format that supports Android and iOS devices https://github.com/google/eddystone/wiki/Beacon-Specification

Ibeacon

IBEACON Apple iBeacon compatible beacon

Altbeacon

ALTBEACON See http://altbeacon.org and/or https://github.com/AltBeacon/spec.

EddystoneEid

EDDYSTONE_EID Eddystone Ephemeral ID

Instances
Enum AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Eq AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Data AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

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

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

toConstr :: AdvertisedIdType -> Constr #

dataTypeOf :: AdvertisedIdType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Read AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Show AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Generic AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Associated Types

type Rep AdvertisedIdType :: Type -> Type #

Hashable AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToJSON AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromJSON AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromHttpApiData AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToHttpApiData AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep AdvertisedIdType Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep AdvertisedIdType = D1 (MetaData "AdvertisedIdType" "Network.Google.ProximityBeacon.Types.Sum" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) ((C1 (MetaCons "TypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Eddystone" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Ibeacon" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Altbeacon" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EddystoneEid" PrefixI False) (U1 :: Type -> Type))))

ListNamespacesResponse

data ListNamespacesResponse Source #

Response to ListNamespacesRequest that contains all the project's namespaces.

See: listNamespacesResponse smart constructor.

Instances
Eq ListNamespacesResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data ListNamespacesResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: ListNamespacesResponse -> Constr #

dataTypeOf :: ListNamespacesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListNamespacesResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic ListNamespacesResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep ListNamespacesResponse :: Type -> Type #

ToJSON ListNamespacesResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON ListNamespacesResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep ListNamespacesResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep ListNamespacesResponse = D1 (MetaData "ListNamespacesResponse" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" True) (C1 (MetaCons "ListNamespacesResponse'" PrefixI True) (S1 (MetaSel (Just "_lnrNamespaces") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Namespace]))))

listNamespacesResponse :: ListNamespacesResponse Source #

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

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

lnrNamespaces :: Lens' ListNamespacesResponse [Namespace] Source #

The attachments that corresponded to the request params.

Date

data Date Source #

Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.

See: date smart constructor.

Instances
Eq Date Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

Data Date Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: Date -> Constr #

dataTypeOf :: Date -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Date Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

showsPrec :: Int -> Date -> ShowS #

show :: Date -> String #

showList :: [Date] -> ShowS #

Generic Date Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep Date :: Type -> Type #

Methods

from :: Date -> Rep Date x #

to :: Rep Date x -> Date #

ToJSON Date Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON Date Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Date Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Date = D1 (MetaData "Date" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "Date'" PrefixI True) (S1 (MetaSel (Just "_dDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_dYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_dMonth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

date :: Date Source #

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

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

dDay :: Lens' Date (Maybe Int32) Source #

Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.

dYear :: Lens' Date (Maybe Int32) Source #

Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.

dMonth :: Lens' Date (Maybe Int32) Source #

Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.

Beacon

data Beacon Source #

Details of a beacon device.

See: beacon smart constructor.

Instances
Eq Beacon Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

Data Beacon Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: Beacon -> Constr #

dataTypeOf :: Beacon -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Beacon Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic Beacon Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep Beacon :: Type -> Type #

Methods

from :: Beacon -> Rep Beacon x #

to :: Rep Beacon x -> Beacon #

ToJSON Beacon Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON Beacon Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Beacon Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

beacon :: Beacon Source #

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

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

beaLatLng :: Lens' Beacon (Maybe LatLng) Source #

The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional.

beaStatus :: Lens' Beacon (Maybe BeaconStatus) Source #

Current status of the beacon. Required.

beaBeaconName :: Lens' Beacon (Maybe Text) Source #

Resource name of this beacon. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.

beaEphemeralIdRegistration :: Lens' Beacon (Maybe EphemeralIdRegistration) Source #

Write-only registration parameters for beacons using Eddystone-EID (remotely resolved ephemeral ID) format. This information will not be populated in API responses. When submitting this data, the `advertised_id` field must contain an ID of type Eddystone-UID. Any other ID type will result in an error.

beaIndoorLevel :: Lens' Beacon (Maybe IndoorLevel) Source #

The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional.

beaExpectedStability :: Lens' Beacon (Maybe BeaconExpectedStability) Source #

Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.

beaProvisioningKey :: Lens' Beacon (Maybe ByteString) Source #

Some beacons may require a user to provide an authorization key before changing any of its configuration (e.g. broadcast frames, transmit power). This field provides a place to store and control access to that key. This field is populated in responses to `GET /v1beta1/beacons/3!beaconId` from users with write access to the given beacon. That is to say: If the user is authorized to write the beacon's confidential data in the service, the service considers them authorized to configure the beacon. Note that this key grants nothing on the service, only on the beacon itself.

beaDescription :: Lens' Beacon (Maybe Text) Source #

Free text used to identify and describe the beacon. Maximum length 140 characters. Optional.

beaPlaceId :: Lens' Beacon (Maybe Text) Source #

The Google Places API Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional.

beaAdvertisedId :: Lens' Beacon (Maybe AdvertisedId) Source #

The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates. When registering a beacon that broadcasts Eddystone-EID, this field should contain a "stable" Eddystone-UID that identifies the beacon and links it to its attachments. The stable Eddystone-UID is only used for administering the beacon.

beaProperties :: Lens' Beacon (Maybe BeaconProperties) Source #

Properties of the beacon device, for example battery type or firmware version. Optional.

Diagnostics

data Diagnostics Source #

Diagnostics for a single beacon.

See: diagnostics smart constructor.

Instances
Eq Diagnostics Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data Diagnostics Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: Diagnostics -> Constr #

dataTypeOf :: Diagnostics -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Diagnostics Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic Diagnostics Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep Diagnostics :: Type -> Type #

ToJSON Diagnostics Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON Diagnostics Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Diagnostics Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Diagnostics = D1 (MetaData "Diagnostics" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "Diagnostics'" PrefixI True) (S1 (MetaSel (Just "_dAlerts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_dBeaconName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dEstimatedLowBatteryDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Date)))))

diagnostics :: Diagnostics Source #

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

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

dAlerts :: Lens' Diagnostics [Text] Source #

An unordered list of Alerts that the beacon has.

dBeaconName :: Lens' Diagnostics (Maybe Text) Source #

Resource name of the beacon. For Eddystone-EID beacons, this may be the beacon's current EID, or the beacon's "stable" Eddystone-UID.

dEstimatedLowBatteryDate :: Lens' Diagnostics (Maybe Date) Source #

The date when the battery is expected to be low. If the value is missing then there is no estimate for when the battery will be low. This value is only an estimate, not an exact date.

ListBeaconAttachmentsResponse

data ListBeaconAttachmentsResponse Source #

Response to `ListBeaconAttachments` that contains the requested attachments.

See: listBeaconAttachmentsResponse smart constructor.

Instances
Eq ListBeaconAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data ListBeaconAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: ListBeaconAttachmentsResponse -> Constr #

dataTypeOf :: ListBeaconAttachmentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListBeaconAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic ListBeaconAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep ListBeaconAttachmentsResponse :: Type -> Type #

ToJSON ListBeaconAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON ListBeaconAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep ListBeaconAttachmentsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep ListBeaconAttachmentsResponse = D1 (MetaData "ListBeaconAttachmentsResponse" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" True) (C1 (MetaCons "ListBeaconAttachmentsResponse'" PrefixI True) (S1 (MetaSel (Just "_lbarAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [BeaconAttachment]))))

listBeaconAttachmentsResponse :: ListBeaconAttachmentsResponse Source #

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

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

lbarAttachments :: Lens' ListBeaconAttachmentsResponse [BeaconAttachment] Source #

The attachments that corresponded to the request params.

IndoorLevel

data IndoorLevel Source #

Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on.

See: indoorLevel smart constructor.

Instances
Eq IndoorLevel Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data IndoorLevel Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: IndoorLevel -> Constr #

dataTypeOf :: IndoorLevel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show IndoorLevel Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic IndoorLevel Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep IndoorLevel :: Type -> Type #

ToJSON IndoorLevel Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON IndoorLevel Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep IndoorLevel Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep IndoorLevel = D1 (MetaData "IndoorLevel" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" True) (C1 (MetaCons "IndoorLevel'" PrefixI True) (S1 (MetaSel (Just "_ilName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

indoorLevel :: IndoorLevel Source #

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

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

ilName :: Lens' IndoorLevel (Maybe Text) Source #

The name of this level.

EphemeralIdRegistrationParams

data EphemeralIdRegistrationParams Source #

Information a client needs to provision and register beacons that broadcast Eddystone-EID format beacon IDs, using Elliptic curve Diffie-Hellman key exchange. See the Eddystone specification at GitHub.

See: ephemeralIdRegistrationParams smart constructor.

Instances
Eq EphemeralIdRegistrationParams Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data EphemeralIdRegistrationParams Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: EphemeralIdRegistrationParams -> Constr #

dataTypeOf :: EphemeralIdRegistrationParams -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EphemeralIdRegistrationParams Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic EphemeralIdRegistrationParams Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep EphemeralIdRegistrationParams :: Type -> Type #

ToJSON EphemeralIdRegistrationParams Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON EphemeralIdRegistrationParams Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep EphemeralIdRegistrationParams Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep EphemeralIdRegistrationParams = D1 (MetaData "EphemeralIdRegistrationParams" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "EphemeralIdRegistrationParams'" PrefixI True) (S1 (MetaSel (Just "_eirpMinRotationPeriodExponent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))) :*: (S1 (MetaSel (Just "_eirpMaxRotationPeriodExponent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))) :*: S1 (MetaSel (Just "_eirpServiceEcdhPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)))))

ephemeralIdRegistrationParams :: EphemeralIdRegistrationParams Source #

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

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

eirpMinRotationPeriodExponent :: Lens' EphemeralIdRegistrationParams (Maybe Word32) Source #

Indicates the minimum rotation period supported by the service. See EddystoneEidRegistration.rotation_period_exponent

eirpMaxRotationPeriodExponent :: Lens' EphemeralIdRegistrationParams (Maybe Word32) Source #

Indicates the maximum rotation period supported by the service. See EddystoneEidRegistration.rotation_period_exponent

eirpServiceEcdhPublicKey :: Lens' EphemeralIdRegistrationParams (Maybe ByteString) Source #

The beacon service's public key for use by a beacon to derive its Identity Key using Elliptic Curve Diffie-Hellman key exchange.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

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

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.ProximityBeacon.Types.Sum" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

BeaconInfo

data BeaconInfo Source #

A subset of beacon information served via the `beaconinfo.getforobserved` method, which you call when users of your app encounter your beacons.

See: beaconInfo smart constructor.

Instances
Eq BeaconInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data BeaconInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: BeaconInfo -> Constr #

dataTypeOf :: BeaconInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BeaconInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic BeaconInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep BeaconInfo :: Type -> Type #

ToJSON BeaconInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON BeaconInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep BeaconInfo Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep BeaconInfo = D1 (MetaData "BeaconInfo" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "BeaconInfo'" PrefixI True) (S1 (MetaSel (Just "_biAttachments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AttachmentInfo])) :*: (S1 (MetaSel (Just "_biBeaconName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_biAdvertisedId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdvertisedId)))))

beaconInfo :: BeaconInfo Source #

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

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

biAttachments :: Lens' BeaconInfo [AttachmentInfo] Source #

Attachments matching the type(s) requested. May be empty if no attachment types were requested.

biBeaconName :: Lens' BeaconInfo (Maybe Text) Source #

The name under which the beacon is registered.

biAdvertisedId :: Lens' BeaconInfo (Maybe AdvertisedId) Source #

The ID advertised by the beacon.

Observation

data Observation Source #

Represents one beacon observed once.

See: observation smart constructor.

Instances
Eq Observation Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data Observation Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: Observation -> Constr #

dataTypeOf :: Observation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Observation Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic Observation Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep Observation :: Type -> Type #

ToJSON Observation Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON Observation Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Observation Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep Observation = D1 (MetaData "Observation" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "Observation'" PrefixI True) (S1 (MetaSel (Just "_oTelemetry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_oTimestampMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_oAdvertisedId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdvertisedId)))))

observation :: Observation Source #

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

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

oTelemetry :: Lens' Observation (Maybe ByteString) Source #

The array of telemetry bytes received from the beacon. The server is responsible for parsing it. This field may frequently be empty, as with a beacon that transmits telemetry only occasionally.

oTimestampMs :: Lens' Observation (Maybe UTCTime) Source #

Time when the beacon was observed.

oAdvertisedId :: Lens' Observation (Maybe AdvertisedId) Source #

The ID advertised by the beacon the client has encountered. If the submitted `advertised_id` type is Eddystone-EID, then the client must be authorized to resolve the given beacon. Otherwise no data will be returned for that beacon. Required.

BeaconAttachment

data BeaconAttachment Source #

Project-specific data associated with a beacon.

See: beaconAttachment smart constructor.

Instances
Eq BeaconAttachment Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data BeaconAttachment Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: BeaconAttachment -> Constr #

dataTypeOf :: BeaconAttachment -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BeaconAttachment Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic BeaconAttachment Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep BeaconAttachment :: Type -> Type #

ToJSON BeaconAttachment Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON BeaconAttachment Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep BeaconAttachment Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep BeaconAttachment = D1 (MetaData "BeaconAttachment" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "BeaconAttachment'" PrefixI True) ((S1 (MetaSel (Just "_baMaxDistanceMeters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_baCreationTimeMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_baData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_baAttachmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_baNamespacedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

beaconAttachment :: BeaconAttachment Source #

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

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

baMaxDistanceMeters :: Lens' BeaconAttachment (Maybe Double) Source #

The distance away from the beacon at which this attachment should be delivered to a mobile app. Setting this to a value greater than zero indicates that the app should behave as if the beacon is "seen" when the mobile device is less than this distance away from the beacon. Different attachments on the same beacon can have different max distances. Note that even though this value is expressed with fractional meter precision, real-world behavior is likley to be much less precise than one meter, due to the nature of current Bluetooth radio technology. Optional. When not set or zero, the attachment should be delivered at the beacon's outer limit of detection. Negative values are invalid and return an error.

baCreationTimeMs :: Lens' BeaconAttachment (Maybe UTCTime) Source #

The UTC time when this attachment was created, in milliseconds since the UNIX epoch.

baData :: Lens' BeaconAttachment (Maybe ByteString) Source #

An opaque data container for client-provided data. Must be base64 encoded in HTTP requests, and will be so encoded (with padding) in responses. Required.

baAttachmentName :: Lens' BeaconAttachment (Maybe Text) Source #

Resource name of this attachment. Attachment names have the format: 'beacons\/beacon_id\/attachments\/attachment_id'. Leave this empty on creation.

baNamespacedType :: Lens' BeaconAttachment (Maybe Text) Source #

Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type. Namespace provides type separation between clients. Type describes the type of `data`, for use by the client when parsing the `data` field. Required.

ListDiagnosticsResponse

data ListDiagnosticsResponse Source #

Response that contains the requested diagnostics.

See: listDiagnosticsResponse smart constructor.

Instances
Eq ListDiagnosticsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data ListDiagnosticsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: ListDiagnosticsResponse -> Constr #

dataTypeOf :: ListDiagnosticsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListDiagnosticsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic ListDiagnosticsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep ListDiagnosticsResponse :: Type -> Type #

ToJSON ListDiagnosticsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON ListDiagnosticsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep ListDiagnosticsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep ListDiagnosticsResponse = D1 (MetaData "ListDiagnosticsResponse" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "ListDiagnosticsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldrDiagnostics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Diagnostics]))))

listDiagnosticsResponse :: ListDiagnosticsResponse Source #

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

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

ldrNextPageToken :: Lens' ListDiagnosticsResponse (Maybe Text) Source #

Token that can be used for pagination. Returned only if the request matches more beacons than can be returned in this response.

ldrDiagnostics :: Lens' ListDiagnosticsResponse [Diagnostics] Source #

The diagnostics matching the given request.

BeaconStatus

data BeaconStatus Source #

Current status of the beacon. Required.

Constructors

StatusUnspecified

STATUS_UNSPECIFIED Do not use this value.

Active

ACTIVE The "normal" in-use state of a beacon.

Decommissioned

DECOMMISSIONED Beacon should no longer be used for any purpose. This is irreversible.

Inactive

INACTIVE The beacon should not be visible to mobile devices. This is reversible.

Instances
Enum BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Eq BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Data BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Methods

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

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

toConstr :: BeaconStatus -> Constr #

dataTypeOf :: BeaconStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Read BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Show BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Generic BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

Associated Types

type Rep BeaconStatus :: Type -> Type #

Hashable BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToJSON BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromJSON BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

FromHttpApiData BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

ToHttpApiData BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep BeaconStatus Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Sum

type Rep BeaconStatus = D1 (MetaData "BeaconStatus" "Network.Google.ProximityBeacon.Types.Sum" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) ((C1 (MetaCons "StatusUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Decommissioned" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Inactive" PrefixI False) (U1 :: Type -> Type)))

AdvertisedId

data AdvertisedId Source #

Defines a unique identifier of a beacon as broadcast by the device.

See: advertisedId smart constructor.

Instances
Eq AdvertisedId Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data AdvertisedId Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: AdvertisedId -> Constr #

dataTypeOf :: AdvertisedId -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdvertisedId Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic AdvertisedId Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep AdvertisedId :: Type -> Type #

ToJSON AdvertisedId Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON AdvertisedId Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep AdvertisedId Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep AdvertisedId = D1 (MetaData "AdvertisedId" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "AdvertisedId'" PrefixI True) (S1 (MetaSel (Just "_aiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_aiType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdvertisedIdType))))

advertisedId :: AdvertisedId Source #

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

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

aiId :: Lens' AdvertisedId (Maybe ByteString) Source #

The actual beacon identifier, as broadcast by the beacon hardware. Must be base64 encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.

aiType :: Lens' AdvertisedId (Maybe AdvertisedIdType) Source #

Specifies the identifier type. Required.

ListBeaconsResponse

data ListBeaconsResponse Source #

Response that contains list beacon results and pagination help.

See: listBeaconsResponse smart constructor.

Instances
Eq ListBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data ListBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: ListBeaconsResponse -> Constr #

dataTypeOf :: ListBeaconsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic ListBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep ListBeaconsResponse :: Type -> Type #

ToJSON ListBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON ListBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep ListBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep ListBeaconsResponse = D1 (MetaData "ListBeaconsResponse" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "ListBeaconsResponse'" PrefixI True) (S1 (MetaSel (Just "_lbrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lbrBeacons") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Beacon])) :*: S1 (MetaSel (Just "_lbrTotalCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))

listBeaconsResponse :: ListBeaconsResponse Source #

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

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

lbrNextPageToken :: Lens' ListBeaconsResponse (Maybe Text) Source #

An opaque pagination token that the client may provide in their next request to retrieve the next page of results.

lbrBeacons :: Lens' ListBeaconsResponse [Beacon] Source #

The beacons that matched the search criteria.

lbrTotalCount :: Lens' ListBeaconsResponse (Maybe Int64) Source #

Estimate of the total number of beacons matched by the query. Higher values may be less accurate.

GetInfoForObservedBeaconsResponse

data GetInfoForObservedBeaconsResponse Source #

Information about the requested beacons, optionally including attachment data.

See: getInfoForObservedBeaconsResponse smart constructor.

Instances
Eq GetInfoForObservedBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Data GetInfoForObservedBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Methods

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

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

toConstr :: GetInfoForObservedBeaconsResponse -> Constr #

dataTypeOf :: GetInfoForObservedBeaconsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetInfoForObservedBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Generic GetInfoForObservedBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

Associated Types

type Rep GetInfoForObservedBeaconsResponse :: Type -> Type #

ToJSON GetInfoForObservedBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

FromJSON GetInfoForObservedBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep GetInfoForObservedBeaconsResponse Source # 
Instance details

Defined in Network.Google.ProximityBeacon.Types.Product

type Rep GetInfoForObservedBeaconsResponse = D1 (MetaData "GetInfoForObservedBeaconsResponse" "Network.Google.ProximityBeacon.Types.Product" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" True) (C1 (MetaCons "GetInfoForObservedBeaconsResponse'" PrefixI True) (S1 (MetaSel (Just "_gifobrBeacons") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [BeaconInfo]))))

getInfoForObservedBeaconsResponse :: GetInfoForObservedBeaconsResponse Source #

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

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

gifobrBeacons :: Lens' GetInfoForObservedBeaconsResponse [BeaconInfo] Source #

Public information about beacons. May be empty if the request matched no beacons.