Once you've logged-in to your Google Cloud Console, you may set the restrictions to each API keys. This is a security measure provided by Google so that your API keys are protected from unauthorized use.
Following are the API key restrictions available in Google. You may use the any type that best suit your restriction needs.
HTTP Referrers
IP Addresses
Advanced User: You may further read on how to use API keys with Google Cloud APIs.