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.Attachments.BatchDelete

Contents

Description

Deletes multiple attachments on a given beacon. This operation is permanent and cannot be undone. You can optionally specify `namespacedType` to choose which attachments should be deleted. If you do not specify `namespacedType`, all your attachments on the given beacon will be deleted. You also may explicitly specify `*/*` to delete all. 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.attachments.batchDelete.

Synopsis

REST Resource

type BeaconsAttachmentsBatchDeleteResource = "v1beta1" :> (Capture "beaconName" Text :> ("attachments:batchDelete" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "namespacedType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] DeleteAttachmentsResponse)))))))))) Source #

A resource alias for proximitybeacon.beacons.attachments.batchDelete method which the BeaconsAttachmentsBatchDelete request conforms to.

Creating a Request

beaconsAttachmentsBatchDelete Source #

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

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

data BeaconsAttachmentsBatchDelete Source #

Deletes multiple attachments on a given beacon. This operation is permanent and cannot be undone. You can optionally specify `namespacedType` to choose which attachments should be deleted. If you do not specify `namespacedType`, all your attachments on the given beacon will be deleted. You also may explicitly specify `*/*` to delete all. 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: beaconsAttachmentsBatchDelete smart constructor.

Instances
Eq BeaconsAttachmentsBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete

Data BeaconsAttachmentsBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete

Methods

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

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

toConstr :: BeaconsAttachmentsBatchDelete -> Constr #

dataTypeOf :: BeaconsAttachmentsBatchDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BeaconsAttachmentsBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete

Generic BeaconsAttachmentsBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete

Associated Types

type Rep BeaconsAttachmentsBatchDelete :: Type -> Type #

GoogleRequest BeaconsAttachmentsBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete

type Rep BeaconsAttachmentsBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete

type Rep BeaconsAttachmentsBatchDelete = D1 (MetaData "BeaconsAttachmentsBatchDelete" "Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete" "gogol-proximitybeacon-0.4.0-81RQBGEh3ZRFwA4LNDaUi1" False) (C1 (MetaCons "BeaconsAttachmentsBatchDelete'" PrefixI True) (((S1 (MetaSel (Just "_babdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_babdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_babdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_babdBeaconName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_babdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_babdNamespacedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_babdProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_babdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BeaconsAttachmentsBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete

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

Defined in Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete

Request Lenses

babdUploadProtocol :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text) Source #

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

babdBeaconName :: Lens' BeaconsAttachmentsBatchDelete Text Source #

The beacon whose attachments 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.

babdUploadType :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text) Source #

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

babdNamespacedType :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text) Source #

Specifies the namespace and type of attachments to delete in `namespace/type` format. Accepts `*/*` to specify "all types in all namespaces". Optional.

babdProjectId :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text) Source #

The project id to delete beacon attachments under. This field can be used when "*" is specified to mean all attachment namespaces. Projects may have multiple attachments with multiple namespaces. If "*" is specified and the projectId string is empty, then the project making the request is used. Optional.