gogol-proximitybeacon-0.1.1: Google Proximity Beacon SDK.

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

Network.Google.Resource.ProximityBeacon.Beacons.Diagnostics.List

Contents

Description

List the diagnostics for a single beacon. You can also list diagnostics for all the beacons owned by your Google Developers Console project by using the beacon name `beacons/-`. Authenticate using an OAuth access token from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project.

See: Google Proximity Beacon API Reference for proximitybeacon.beacons.diagnostics.list.

Synopsis

REST Resource

type BeaconsDiagnosticsListResource = "v1beta1" :> (Capture "beaconName" Text :> ("diagnostics" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alertFilter" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDiagnosticsResponse)))))))))))))) Source #

A resource alias for proximitybeacon.beacons.diagnostics.list method which the BeaconsDiagnosticsList request conforms to.

Creating a Request

beaconsDiagnosticsList Source #

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

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

data BeaconsDiagnosticsList Source #

List the diagnostics for a single beacon. You can also list diagnostics for all the beacons owned by your Google Developers Console project by using the beacon name `beacons/-`. Authenticate using an OAuth access token from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project.

See: beaconsDiagnosticsList smart constructor.

Instances

Eq BeaconsDiagnosticsList Source # 
Data BeaconsDiagnosticsList Source # 

Methods

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

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

toConstr :: BeaconsDiagnosticsList -> Constr #

dataTypeOf :: BeaconsDiagnosticsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BeaconsDiagnosticsList Source # 
Generic BeaconsDiagnosticsList Source # 
GoogleRequest BeaconsDiagnosticsList Source # 
type Rep BeaconsDiagnosticsList Source # 
type Rep BeaconsDiagnosticsList = D1 (MetaData "BeaconsDiagnosticsList" "Network.Google.Resource.ProximityBeacon.Beacons.Diagnostics.List" "gogol-proximitybeacon-0.1.1-GrTXM8v1LnxEo3VfozzFv1" False) (C1 (MetaCons "BeaconsDiagnosticsList'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bdlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bdlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bdlPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_bdlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bdlBeaconName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_bdlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bdlBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bdlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bdlProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_bdlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_bdlAlertFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bdlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes BeaconsDiagnosticsList Source # 
type Scopes BeaconsDiagnosticsList = (:) Symbol "https://www.googleapis.com/auth/userlocation.beacon.registry" ([] Symbol)
type Rs BeaconsDiagnosticsList Source # 

Request Lenses

bdlUploadProtocol :: Lens' BeaconsDiagnosticsList (Maybe Text) Source #

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

bdlPp :: Lens' BeaconsDiagnosticsList Bool Source #

Pretty-print response.

bdlBeaconName :: Lens' BeaconsDiagnosticsList Text Source #

Beacon that the diagnostics are for.

bdlUploadType :: Lens' BeaconsDiagnosticsList (Maybe Text) Source #

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

bdlPageToken :: Lens' BeaconsDiagnosticsList (Maybe Text) Source #

Requests results that occur after the `page_token`, obtained from the response to a previous request. Optional.

bdlProjectId :: Lens' BeaconsDiagnosticsList (Maybe Text) Source #

Requests only diagnostic records for the given project id. If not set, then the project making the request will be used for looking up diagnostic records. Optional.

bdlPageSize :: Lens' BeaconsDiagnosticsList (Maybe Int32) Source #

Specifies the maximum number of results to return. Defaults to 10. Maximum 1000. Optional.

bdlAlertFilter :: Lens' BeaconsDiagnosticsList (Maybe Text) Source #

Requests only beacons that have the given alert. For example, to find beacons that have low batteries use `alert_filter=LOW_BATTERY`.