gogol-proximitybeacon-0.0.1: Google Proximity Beacon SDK.

Copyright(c) 2015 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/-`.

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

See: beaconsDiagnosticsList smart constructor.

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.

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