listPersistentResources method
Future<ListPersistentResourcesResponse>
listPersistentResources(
- ListPersistentResourcesRequest request
override
Lists PersistentResources 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<ListPersistentResourcesResponse> listPersistentResources(
ListPersistentResourcesRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_listPersistentResources case final listPersistentResources?) {
return listPersistentResources(request);
}
throw UnsupportedError('listPersistentResources');
}