datastore library

Classes

GetIndexArgs
Arguments for getIndex. Arguments for getIndex.
GetIndexResult
Result data returned by getIndex.
GoogleDatastoreAdminV1IndexedProperty
A property of an index.
GoogleDatastoreAdminV1IndexedPropertyResponse
A property of an index.
Index
Creates the specified index. A newly created index's initial state is CREATING. On completion of the returned google.longrunning.Operation, the state will be READY. If the index already exists, the call will return an ALREADY_EXISTS status. During index creation, the process could result in an error, in which case the index will move to the ERROR state. The process can be recovered by fixing the data that caused the error, removing the index with delete, then re-creating the index with create. Indexes with a single property cannot be created. Auto-naming is currently not supported for this resource.
IndexArgs
The set of arguments for Index. The set of arguments for Index.

Enums

GoogleDatastoreAdminV1IndexedPropertyDirection
Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.
IndexAncestor
Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.

Functions

getIndex(GetIndexArgs args, {InvokeOptions? options}) → Future<GetIndexResult>
Gets an index. args Arguments passed to this invoke. Arguments for getIndex. options Invoke options controlling this call.