ProjectsDatabasesDocumentsResourceApi class

Constructors

ProjectsDatabasesDocumentsResourceApi(ApiRequester client)

Properties

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

Methods

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, { bool currentDocument_exists, String currentDocument_updateTime, 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, { String orderBy, String readTime, bool showMissing, List<String> mask_fieldPaths, String pageToken, int pageSize, String transaction, 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, { bool currentDocument_exists, List<String> updateMask_fieldPaths, List<String> mask_fieldPaths, String currentDocument_updateTime, 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.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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