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 the collection IDs underneath a document.
See: Cloud Firestore API Reference for firestore.projects.databases.documents.listCollectionIds
.
Synopsis
- type ProjectsDatabasesDocumentsListCollectionIdsResource = "v1" :> (CaptureMode "parent" "listCollectionIds" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ListCollectionIdsRequest :> Post '[JSON] ListCollectionIdsResponse))))))))
- projectsDatabasesDocumentsListCollectionIds :: Text -> ListCollectionIdsRequest -> ProjectsDatabasesDocumentsListCollectionIds
- data ProjectsDatabasesDocumentsListCollectionIds
- pddlciParent :: Lens' ProjectsDatabasesDocumentsListCollectionIds Text
- pddlciXgafv :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Xgafv)
- pddlciUploadProtocol :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Text)
- pddlciAccessToken :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Text)
- pddlciUploadType :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Text)
- pddlciPayload :: Lens' ProjectsDatabasesDocumentsListCollectionIds ListCollectionIdsRequest
- pddlciCallback :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Text)
REST Resource
type ProjectsDatabasesDocumentsListCollectionIdsResource = "v1" :> (CaptureMode "parent" "listCollectionIds" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ListCollectionIdsRequest :> Post '[JSON] ListCollectionIdsResponse)))))))) Source #
A resource alias for firestore.projects.databases.documents.listCollectionIds
method which the
ProjectsDatabasesDocumentsListCollectionIds
request conforms to.
Creating a Request
projectsDatabasesDocumentsListCollectionIds Source #
Creates a value of ProjectsDatabasesDocumentsListCollectionIds
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDatabasesDocumentsListCollectionIds Source #
Lists all the collection IDs underneath a document.
See: projectsDatabasesDocumentsListCollectionIds
smart constructor.
Instances
Request Lenses
pddlciParent :: Lens' ProjectsDatabasesDocumentsListCollectionIds Text Source #
The parent document. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
pddlciXgafv :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Xgafv) Source #
V1 error format.
pddlciUploadProtocol :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pddlciAccessToken :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Text) Source #
OAuth access token.
pddlciUploadType :: Lens' ProjectsDatabasesDocumentsListCollectionIds (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pddlciPayload :: Lens' ProjectsDatabasesDocumentsListCollectionIds ListCollectionIdsRequest Source #
Multipart request metadata.