ProjectsIndexesResourceApi class

Constructors

ProjectsIndexesResourceApi(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

create(GoogleDatastoreAdminV1Index request, String projectId, {String $fields}) Future<GoogleLongrunningOperation>
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. [...]
delete(String projectId, String indexId, {String $fields}) Future<GoogleLongrunningOperation>
Deletes an existing index. An index can only be deleted if it is in a READY or ERROR state. On successful execution of the request, the index will be in a DELETING state. And on completion of the returned google.longrunning.Operation, the index will be removed. During index deletion, 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, followed by calling delete again. [...]
get(String projectId, String indexId, {String $fields}) Future<GoogleDatastoreAdminV1Index>
Gets an index. [...]
list(String projectId, {int pageSize, String pageToken, String filter, String $fields}) Future<GoogleDatastoreAdminV1ListIndexesResponse>
Lists the indexes that match the specified filters. Datastore uses an eventually consistent query to fetch the list of indexes and may occasionally return stale results. [...]
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 ==(Object other) bool
The equality operator. [...]
inherited