ProjectsResourceApi class


ProjectsResourceApi(ApiRequester client)


indexes ProjectsIndexesResourceApi
operations ProjectsOperationsResourceApi
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


allocateIds(AllocateIdsRequest request, String projectId, { String $fields }) → Future<AllocateIdsResponse>
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted. [...]
beginTransaction(BeginTransactionRequest request, String projectId, { String $fields }) → Future<BeginTransactionResponse>
Begins a new transaction. [...]
commit(CommitRequest request, String projectId, { String $fields }) → Future<CommitResponse>
Commits a transaction, optionally creating, deleting or modifying some entities. [...]
export(GoogleDatastoreAdminV1ExportEntitiesRequest request, String projectId, { String $fields }) → Future<GoogleLongrunningOperation>
Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage. [...]
import(GoogleDatastoreAdminV1ImportEntitiesRequest request, String projectId, { String $fields }) → Future<GoogleLongrunningOperation>
Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportEntities operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Datastore. [...]
lookup(LookupRequest request, String projectId, { String $fields }) → Future<LookupResponse>
Looks up entities by key. [...]
reserveIds(ReserveIdsRequest request, String projectId, { String $fields }) → Future<ReserveIdsResponse>
Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore. [...]
rollback(RollbackRequest request, String projectId, { String $fields }) → Future<RollbackResponse>
Rolls back a transaction. [...]
runQuery(RunQueryRequest request, String projectId, { String $fields }) → Future<RunQueryResponse>
Queries for entities. [...]
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.