Google’s migration guide for developers lists what they’re supposed to switch to on Android phones and Wear OS. However, there is no replacement for the Goals API that lets Google Fit users set “how many steps and heart points they want to aim for each day.”
Well the current deprecation is the Android APIs. You can still use the web APIs.
For now
There are two kinds of Google APIs when it comes to Android: those already deprecated (stable), and those yet to be deprecated (early alpha)