Copyright | (c) 2015 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 |
Returns detailed information about the specified beacon.
See: Google Proximity Beacon API Reference for proximitybeacon.beacons.get
.
- type BeaconsGetResource = "v1beta1" :> (Capture "beaconName" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Beacon)))))))))
- beaconsGet :: Text -> BeaconsGet
- data BeaconsGet
- bgXgafv :: Lens' BeaconsGet (Maybe Text)
- bgUploadProtocol :: Lens' BeaconsGet (Maybe Text)
- bgPp :: Lens' BeaconsGet Bool
- bgAccessToken :: Lens' BeaconsGet (Maybe Text)
- bgBeaconName :: Lens' BeaconsGet Text
- bgUploadType :: Lens' BeaconsGet (Maybe Text)
- bgBearerToken :: Lens' BeaconsGet (Maybe Text)
- bgCallback :: Lens' BeaconsGet (Maybe Text)
REST Resource
type BeaconsGetResource = "v1beta1" :> (Capture "beaconName" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Beacon))))))))) Source
A resource alias for proximitybeacon.beacons.get
method which the
BeaconsGet
request conforms to.
Creating a Request
Creates a value of BeaconsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BeaconsGet Source
Returns detailed information about the specified beacon.
See: beaconsGet
smart constructor.
Request Lenses
bgUploadProtocol :: Lens' BeaconsGet (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
bgPp :: Lens' BeaconsGet Bool Source
Pretty-print response.
bgAccessToken :: Lens' BeaconsGet (Maybe Text) Source
OAuth access token.
bgBeaconName :: Lens' BeaconsGet Text Source
Beacon that is requested.
bgUploadType :: Lens' BeaconsGet (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
bgBearerToken :: Lens' BeaconsGet (Maybe Text) Source
OAuth bearer token.
bgCallback :: Lens' BeaconsGet (Maybe Text) Source
JSONP