updateRagMetadata method
Updates a RagMetadata.
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
Future<RagMetadata> updateRagMetadata(
UpdateRagMetadataRequest request,
) async {
final url = _endPoint.replace(
path: '/v1beta1/${request.ragMetadata!.name}',
);
final response = await _client.patch(url, body: request.ragMetadata);
return RagMetadata.fromJson(response);
}