listRagMetadata method
Lists RagMetadata in a RagFile.
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<ListRagMetadataResponse> listRagMetadata(
ListRagMetadataRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_listRagMetadata case final listRagMetadata?) {
return listRagMetadata(request);
}
throw UnsupportedError('listRagMetadata');
}