reset method
Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, seeResetting an instance.
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<Operation> reset(ResetInstanceRequest request) async {
if (isClosed) throw StateError('Service is closed');
if (_reset case final reset?) {
return reset(request);
}
throw UnsupportedError('reset');
}