listIndexes method

  1. @override
Future<ListIndexesResponse> listIndexes(
  1. ListIndexesRequest request
)
override

Lists Indexes in a Location.

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<ListIndexesResponse> listIndexes(ListIndexesRequest request) async {
  if (isClosed) throw StateError('Service is closed');

  if (_listIndexes case final listIndexes?) {
    return listIndexes(request);
  }
  throw UnsupportedError('listIndexes');
}