getXpnResources method
Gets service resources (a.k.a service project) associated with this host project.
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<ProjectsGetXpnResources> getXpnResources(
GetXpnResourcesProjectsRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_getXpnResources case final getXpnResources?) {
return getXpnResources(request);
}
throw UnsupportedError('getXpnResources');
}