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

Contents

Description

Deletes the specified attachment for the given beacon. Each attachment has a unique attachment name (`attachmentName`) which is returned when you fetch the attachment data via this API. You specify this with the delete request to control which attachment is removed. This operation cannot be undone.

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

Synopsis

REST Resource

type BeaconsAttachmentsDeleteResource = "v1beta1" :> (Capture "attachmentName" 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 :> Delete `[JSON]` Empty))))))))) Source

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

Creating a Request

beaconsAttachmentsDelete Source

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

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

data BeaconsAttachmentsDelete Source

Deletes the specified attachment for the given beacon. Each attachment has a unique attachment name (`attachmentName`) which is returned when you fetch the attachment data via this API. You specify this with the delete request to control which attachment is removed. This operation cannot be undone.

See: beaconsAttachmentsDelete smart constructor.

Request Lenses

badUploadProtocol :: Lens' BeaconsAttachmentsDelete (Maybe Text) Source

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

badUploadType :: Lens' BeaconsAttachmentsDelete (Maybe Text) Source

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

badAttachmentName :: Lens' BeaconsAttachmentsDelete Text Source

The attachment name (`attachmentName`) of the attachment to remove. For example: `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738` Required.