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

Contents

Description

Returns the attachments for the specified beacon that match the specified namespaced-type pattern. To control which namespaced types are returned, you add the `namespacedType` query parameter to the request. You must either use `*/*`, to return all attachments, or the namespace must be one of the ones returned from the `namespaces` endpoint.

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

Synopsis

REST Resource

type BeaconsAttachmentsListResource = "v1beta1" :> (Capture "beaconName" Text :> ("attachments" :> (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 :> Get `[JSON]` ListBeaconAttachmentsResponse))))))))))) Source

A resource alias for proximitybeacon.beacons.attachments.list method which the BeaconsAttachmentsList request conforms to.

Creating a Request

beaconsAttachmentsList Source

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

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

data BeaconsAttachmentsList Source

Returns the attachments for the specified beacon that match the specified namespaced-type pattern. To control which namespaced types are returned, you add the `namespacedType` query parameter to the request. You must either use `*/*`, to return all attachments, or the namespace must be one of the ones returned from the `namespaces` endpoint.

See: beaconsAttachmentsList smart constructor.

Request Lenses

balUploadProtocol :: Lens' BeaconsAttachmentsList (Maybe Text) Source

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

balPp :: Lens' BeaconsAttachmentsList Bool Source

Pretty-print response.

balBeaconName :: Lens' BeaconsAttachmentsList Text Source

The beacon whose attachments are to be fetched. Required.

balUploadType :: Lens' BeaconsAttachmentsList (Maybe Text) Source

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

balNamespacedType :: Lens' BeaconsAttachmentsList (Maybe Text) Source

Specifies the namespace and type of attachment to include in response in namespace/type format. Accepts `*/*` to specify "all types in all namespaces".