ProjectsDatabasesDocumentsResourceApi class


ProjectsDatabasesDocumentsResourceApi(ApiRequester client)


hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


batchGet(BatchGetDocumentsRequest request, String database, {String $fields}) → Future<BatchGetDocumentsResponse>
Gets multiple documents. [...]
beginTransaction(BeginTransactionRequest request, String database, {String $fields}) → Future<BeginTransactionResponse>
Starts a new transaction. [...]
commit(CommitRequest request, String database, {String $fields}) → Future<CommitResponse>
Commits a transaction, while optionally updating documents. [...]
createDocument(Document request, String parent, String collectionId, {List<String> mask_fieldPaths, String documentId, String $fields}) → Future<Document>
Creates a new document. [...]
delete(String name, {String currentDocument_updateTime, bool currentDocument_exists, String $fields}) → Future<Empty>
Deletes a document. [...]
get(String name, {List<String> mask_fieldPaths, String readTime, String transaction, String $fields}) → Future<Document>
Gets a single document. [...]
list(String parent, String collectionId, {bool showMissing, List<String> mask_fieldPaths, String pageToken, int pageSize, String transaction, String readTime, String orderBy, String $fields}) → Future<ListDocumentsResponse>
Lists documents. [...]
listCollectionIds(ListCollectionIdsRequest request, String parent, {String $fields}) → Future<ListCollectionIdsResponse>
Lists all the collection IDs underneath a document. [...]
listen(ListenRequest request, String database, {String $fields}) → Future<ListenResponse>
Listens to changes. [...]
patch(Document request, String name, {List<String> updateMask_fieldPaths, List<String> mask_fieldPaths, String currentDocument_updateTime, bool currentDocument_exists, String $fields}) → Future<Document>
Updates or inserts a document. [...]
rollback(RollbackRequest request, String database, {String $fields}) → Future<Empty>
Rolls back a transaction. [...]
runQuery(RunQueryRequest request, String parent, {String $fields}) → Future<RunQueryResponse>
Runs a query. [...]
write(WriteRequest request, String database, {String $fields}) → Future<WriteResponse>
Streams batches of document updates and deletes, in order. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.