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

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

See: beaconsAttachmentsBatchDelete smart constructor.

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 are to be deleted. 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.