deleteView method
Deletes a view on a log bucket.
If an UNAVAILABLE error is returned, this indicates that system is not in
a state where it can delete the view. If this occurs, please try again in a
few minutes.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a StatusException if the API failed with a
Status message. Throws a ServiceException for any other failure.
Implementation
Future<void> deleteView(DeleteViewRequest request) async {
final url = Uri.https(_host, '/v2/${request.name}');
await _client.delete(url);
}