removeDatapoints method

  1. @override
Future<RemoveDatapointsResponse> removeDatapoints(
  1. RemoveDatapointsRequest request
)
override

Remove Datapoints from an Index.

Throws a http.ClientException if there were problems communicating with the API service. Throws a ServiceException if the API method failed for any reason.

Implementation

@override
Future<RemoveDatapointsResponse> removeDatapoints(
  RemoveDatapointsRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_removeDatapoints case final removeDatapoints?) {
    return removeDatapoints(request);
  }
  throw UnsupportedError('removeDatapoints');
}