Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))))))
- beaconsDiagnosticsList :: Text -> BeaconsDiagnosticsList
- data BeaconsDiagnosticsList
- bdlXgafv :: Lens' BeaconsDiagnosticsList (Maybe Xgafv)
- bdlUploadProtocol :: Lens' BeaconsDiagnosticsList (Maybe Text)
- bdlAccessToken :: Lens' BeaconsDiagnosticsList (Maybe Text)
- bdlBeaconName :: Lens' BeaconsDiagnosticsList Text
- bdlUploadType :: Lens' BeaconsDiagnosticsList (Maybe Text)
- bdlPageToken :: Lens' BeaconsDiagnosticsList (Maybe Text)
- bdlProjectId :: Lens' BeaconsDiagnosticsList (Maybe Text)
- bdlPageSize :: Lens' BeaconsDiagnosticsList (Maybe Int32)
- bdlAlertFilter :: Lens' BeaconsDiagnosticsList (Maybe Text)
- bdlCallback :: Lens' BeaconsDiagnosticsList (Maybe Text)
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
Request Lenses
bdlUploadProtocol :: Lens' BeaconsDiagnosticsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
bdlAccessToken :: Lens' BeaconsDiagnosticsList (Maybe Text) Source #
OAuth access token.
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`.
bdlCallback :: Lens' BeaconsDiagnosticsList (Maybe Text) Source #
JSONP