How can I limit the access to the Google Translation API to only a specific IP, the IP of my server? Because someone else is using my API and I hit the limit of requests frequently
The authentication to Translation API can be done with two main methods:
Using an API key: it is a simple encrypted string that can be used for authentication when calling certain Google Cloud APIs. When using this method, you should follow the best practices, which include the method you ask for in your question, restricting API key usage by IP address. You can do that following the guide in this documentation page, which consists in:
Go to the Credentials page inside the APIs & Services tab in your Console.
Select the Create credentials drop-down menu and then on API key.