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

Contents

Description

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.

Synopsis

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

beaconsDecommission Source

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.

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").