Copyright | (c) 2015-2016 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. Authenticate using an OAuth access token from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project.
See: Proximity Beacon API Reference for proximitybeacon.namespaces.list
.
Synopsis
- type NamespacesListResource = "v1beta1" :> ("namespaces" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListNamespacesResponse))))))))
- namespacesList :: NamespacesList
- data NamespacesList
- nlXgafv :: Lens' NamespacesList (Maybe Xgafv)
- nlUploadProtocol :: Lens' NamespacesList (Maybe Text)
- nlAccessToken :: Lens' NamespacesList (Maybe Text)
- nlUploadType :: Lens' NamespacesList (Maybe Text)
- nlProjectId :: Lens' NamespacesList (Maybe Text)
- nlCallback :: Lens' NamespacesList (Maybe Text)
REST Resource
type NamespacesListResource = "v1beta1" :> ("namespaces" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" 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. Authenticate using an OAuth access token from a signed-in user with **viewer**, **Is owner** or **Can edit** permissions in the Google Developers Console project.
See: namespacesList
smart constructor.
Instances
Request Lenses
nlUploadProtocol :: Lens' NamespacesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
nlAccessToken :: Lens' NamespacesList (Maybe Text) Source #
OAuth access token.
nlUploadType :: Lens' NamespacesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
nlProjectId :: Lens' NamespacesList (Maybe Text) Source #
The project id to list namespaces under. Optional.
nlCallback :: Lens' NamespacesList (Maybe Text) Source #
JSONP