Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
.
- 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)))))))))))
- beaconsAttachmentsBatchDelete :: Text -> BeaconsAttachmentsBatchDelete
- data BeaconsAttachmentsBatchDelete
- babdXgafv :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text)
- babdUploadProtocol :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text)
- babdPp :: Lens' BeaconsAttachmentsBatchDelete Bool
- babdAccessToken :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text)
- babdBeaconName :: Lens' BeaconsAttachmentsBatchDelete Text
- babdUploadType :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text)
- babdBearerToken :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text)
- babdNamespacedType :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text)
- babdCallback :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text)
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").
babdPp :: Lens' BeaconsAttachmentsBatchDelete Bool Source
Pretty-print response.
babdAccessToken :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text) Source
OAuth access token.
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").
babdBearerToken :: Lens' BeaconsAttachmentsBatchDelete (Maybe Text) Source
OAuth bearer token.
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.