gogol-proximitybeacon-0.4.0: Google Proximity Beacon SDK.

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

Network.Google.Resource.ProximityBeacon.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: Proximity Beacon API Reference for proximitybeacon.beacons.diagnostics.list.

Synopsis

REST Resource

type BeaconsDiagnosticsListResource = "v1beta1" :> (Capture "beaconName" Text :> ("diagnostics" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

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

Data BeaconsDiagnosticsList Source # 
Instance details

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

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 # 
Instance details

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

Generic BeaconsDiagnosticsList Source # 
Instance details

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

Associated Types

type Rep BeaconsDiagnosticsList :: Type -> Type #

GoogleRequest BeaconsDiagnosticsList Source # 
Instance details

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

type Rep BeaconsDiagnosticsList Source # 
Instance details

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

type Rep BeaconsDiagnosticsList = D1 (MetaData "BeaconsDiagnosticsList" "Network.Google.Resource.ProximityBeacon.Beacons.Diagnostics.List" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "BeaconsDiagnosticsList'" PrefixI True) (((S1 (MetaSel (Just "_bdlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_bdlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_bdlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bdlBeaconName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bdlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_bdlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bdlProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_bdlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_bdlAlertFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bdlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes BeaconsDiagnosticsList Source # 
Instance details

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

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

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

Request Lenses

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

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

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`.