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 |
Decommissions the specified beacon in the service. This beacon will no longer be returned from `beaconinfo.getforobserved`. This operation is permanent -- you will not be able to re-register a beacon with this ID again.
See: Google Proximity Beacon API Reference for proximitybeacon.beacons.decommission
.
- type BeaconsDecommissionResource = "v1beta1" :> (CaptureMode "beaconName" "decommission" 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 :> Post `[JSON]` Empty)))))))))
- beaconsDecommission :: Text -> BeaconsDecommission
- data BeaconsDecommission
- beaXgafv :: Lens' BeaconsDecommission (Maybe Text)
- beaUploadProtocol :: Lens' BeaconsDecommission (Maybe Text)
- beaPp :: Lens' BeaconsDecommission Bool
- beaAccessToken :: Lens' BeaconsDecommission (Maybe Text)
- beaBeaconName :: Lens' BeaconsDecommission Text
- beaUploadType :: Lens' BeaconsDecommission (Maybe Text)
- beaBearerToken :: Lens' BeaconsDecommission (Maybe Text)
- beaCallback :: Lens' BeaconsDecommission (Maybe Text)
REST Resource
type BeaconsDecommissionResource = "v1beta1" :> (CaptureMode "beaconName" "decommission" 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 :> Post `[JSON]` Empty))))))))) Source
A resource alias for proximitybeacon.beacons.decommission
method which the
BeaconsDecommission
request conforms to.
Creating a Request
Creates a value of BeaconsDecommission
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BeaconsDecommission Source
Decommissions the specified beacon in the service. This beacon will no longer be returned from `beaconinfo.getforobserved`. This operation is permanent -- you will not be able to re-register a beacon with this ID again.
See: beaconsDecommission
smart constructor.
Request Lenses
beaUploadProtocol :: Lens' BeaconsDecommission (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
beaPp :: Lens' BeaconsDecommission Bool Source
Pretty-print response.
beaAccessToken :: Lens' BeaconsDecommission (Maybe Text) Source
OAuth access token.
beaBeaconName :: Lens' BeaconsDecommission Text Source
Beacon that should be decommissioned. Required.
beaUploadType :: Lens' BeaconsDecommission (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
beaBearerToken :: Lens' BeaconsDecommission (Maybe Text) Source
OAuth bearer token.
beaCallback :: Lens' BeaconsDecommission (Maybe Text) Source
JSONP