gogol-proximitybeacon-0.1.1: 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.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. 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.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 "projectId" 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. 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: beaconsAttachmentsDelete smart constructor.

Instances

Eq BeaconsAttachmentsDelete Source # 
Data BeaconsAttachmentsDelete Source # 

Methods

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

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

toConstr :: BeaconsAttachmentsDelete -> Constr #

dataTypeOf :: BeaconsAttachmentsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BeaconsAttachmentsDelete Source # 
Generic BeaconsAttachmentsDelete Source # 
GoogleRequest BeaconsAttachmentsDelete Source # 
type Rep BeaconsAttachmentsDelete Source # 
type Rep BeaconsAttachmentsDelete = D1 (MetaData "BeaconsAttachmentsDelete" "Network.Google.Resource.ProximityBeacon.Beacons.Attachments.Delete" "gogol-proximitybeacon-0.1.1-GrTXM8v1LnxEo3VfozzFv1" False) (C1 (MetaCons "BeaconsAttachmentsDelete'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_badXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_badUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_badPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_badAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_badUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_badAttachmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_badBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_badProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_badCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes BeaconsAttachmentsDelete Source # 
type Scopes BeaconsAttachmentsDelete = (:) Symbol "https://www.googleapis.com/auth/userlocation.beacon.registry" ([] Symbol)
type Rs BeaconsAttachmentsDelete Source # 

Request Lenses

badUploadProtocol :: Lens' BeaconsAttachmentsDelete (Maybe Text) Source #

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

badPp :: Lens' BeaconsAttachmentsDelete Bool Source #

Pretty-print response.

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`. For Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the beacon's current EID, or its "stable" Eddystone-UID. Required.

badProjectId :: Lens' BeaconsAttachmentsDelete (Maybe Text) Source #

The project id of the attachment to delete. If not provided, the project that is making the request is used. Optional.