gogol-proximitybeacon-0.1.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: Google Proximity Beacon API Reference for proximitybeacon.beacons.attachments.batchDelete.

Synopsis

REST Resource

type BeaconsAttachmentsBatchDeleteResource = "v1beta1" :> (Capture "beaconName" Text :> ("attachments:batchDelete" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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

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 # 
Data BeaconsAttachmentsBatchDelete Source # 

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 # 
Generic BeaconsAttachmentsBatchDelete Source # 
GoogleRequest BeaconsAttachmentsBatchDelete Source # 
type Rep BeaconsAttachmentsBatchDelete Source # 
type Rep BeaconsAttachmentsBatchDelete = D1 (MetaData "BeaconsAttachmentsBatchDelete" "Network.Google.Resource.ProximityBeacon.Beacons.Attachments.BatchDelete" "gogol-proximitybeacon-0.1.0-GUP5lyyEqNS8QJkEeyBOkl" False) (C1 (MetaCons "BeaconsAttachmentsBatchDelete'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_babdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_babdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_babdPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "_babdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_babdBeaconName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_babdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_babdBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_babdNamespacedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_babdProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_babdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes BeaconsAttachmentsBatchDelete Source # 
type Scopes BeaconsAttachmentsBatchDelete = (:) Symbol "https://www.googleapis.com/auth/userlocation.beacon.registry" ([] Symbol)
type Rs BeaconsAttachmentsBatchDelete Source # 

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.