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 |
Lists all attachment namespaces owned by your Google Developers Console project. Attachment data associated with a beacon must include a namespaced type, and the namespace must be owned by your project.
See: Google Proximity Beacon API Reference for proximitybeacon.namespaces.list
.
- type NamespacesListResource = "v1beta1" :> ("namespaces" :> (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 :> Get `[JSON]` ListNamespacesResponse)))))))))
- namespacesList :: NamespacesList
- data NamespacesList
- nlXgafv :: Lens' NamespacesList (Maybe Text)
- nlUploadProtocol :: Lens' NamespacesList (Maybe Text)
- nlPp :: Lens' NamespacesList Bool
- nlAccessToken :: Lens' NamespacesList (Maybe Text)
- nlUploadType :: Lens' NamespacesList (Maybe Text)
- nlBearerToken :: Lens' NamespacesList (Maybe Text)
- nlCallback :: Lens' NamespacesList (Maybe Text)
REST Resource
type NamespacesListResource = "v1beta1" :> ("namespaces" :> (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 :> Get `[JSON]` ListNamespacesResponse))))))))) Source
A resource alias for proximitybeacon.namespaces.list
method which the
NamespacesList
request conforms to.
Creating a Request
namespacesList :: NamespacesList Source
Creates a value of NamespacesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NamespacesList Source
Lists all attachment namespaces owned by your Google Developers Console project. Attachment data associated with a beacon must include a namespaced type, and the namespace must be owned by your project.
See: namespacesList
smart constructor.
Request Lenses
nlUploadProtocol :: Lens' NamespacesList (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
nlPp :: Lens' NamespacesList Bool Source
Pretty-print response.
nlAccessToken :: Lens' NamespacesList (Maybe Text) Source
OAuth access token.
nlUploadType :: Lens' NamespacesList (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
nlBearerToken :: Lens' NamespacesList (Maybe Text) Source
OAuth bearer token.
nlCallback :: Lens' NamespacesList (Maybe Text) Source
JSONP