gogol-proximitybeacon-0.4.0: Google Proximity Beacon SDK.

Copyright(c) 2015-2016 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.Delete

Contents

Description

Deletes the specified beacon including all diagnostics data for the beacon as well as any attachments on the beacon (including those belonging to other projects). This operation cannot be undone. Authenticate using an OAuth access token from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.

See: Proximity Beacon API Reference for proximitybeacon.beacons.delete.

Synopsis

REST Resource

type BeaconsDeleteResource = "v1beta1" :> (Capture "beaconName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #

A resource alias for proximitybeacon.beacons.delete method which the BeaconsDelete request conforms to.

Creating a Request

beaconsDelete Source #

Creates a value of BeaconsDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data BeaconsDelete Source #

Deletes the specified beacon including all diagnostics data for the beacon as well as any attachments on the beacon (including those belonging to other projects). This operation cannot be undone. Authenticate using an OAuth access token from a signed-in user with **Is owner** or **Can edit** permissions in the Google Developers Console project.

See: beaconsDelete smart constructor.

Instances
Eq BeaconsDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Delete

Data BeaconsDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Delete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BeaconsDelete -> c BeaconsDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BeaconsDelete #

toConstr :: BeaconsDelete -> Constr #

dataTypeOf :: BeaconsDelete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BeaconsDelete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BeaconsDelete) #

gmapT :: (forall b. Data b => b -> b) -> BeaconsDelete -> BeaconsDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BeaconsDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BeaconsDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> BeaconsDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BeaconsDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BeaconsDelete -> m BeaconsDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BeaconsDelete -> m BeaconsDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BeaconsDelete -> m BeaconsDelete #

Show BeaconsDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Delete

Generic BeaconsDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Delete

Associated Types

type Rep BeaconsDelete :: Type -> Type #

GoogleRequest BeaconsDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Delete

Associated Types

type Rs BeaconsDelete :: Type #

type Scopes BeaconsDelete :: [Symbol] #

type Rep BeaconsDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Delete

type Rep BeaconsDelete = D1 (MetaData "BeaconsDelete" "Network.Google.Resource.ProximityBeacon.Beacons.Delete" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "BeaconsDelete'" PrefixI True) ((S1 (MetaSel (Just "_bXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_bUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_bBeaconName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_bProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BeaconsDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Delete

type Scopes BeaconsDelete = "https://www.googleapis.com/auth/userlocation.beacon.registry" ': ([] :: [Symbol])
type Rs BeaconsDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Delete

Request Lenses

bUploadProtocol :: Lens' BeaconsDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

bBeaconName :: Lens' BeaconsDelete Text Source #

Beacon that should be deleted. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID beacons, you may use either the current EID or the beacon's "stable" UID. Required.

bUploadType :: Lens' BeaconsDelete (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

bProjectId :: Lens' BeaconsDelete (Maybe Text) Source #

The project id of the beacon to delete. If not provided, the project that is making the request is used. Optional.