Here are a few options to limit API consumption.
- To blocks all calls to the API, Disable the API for your project.
- To prevent daily cost overruns, Set a daily quota for the API.
- To protect API key from rogue usage, Set API key restrictions.
Note: Neither disabling APIs nor setting quotas are possible for Client IDs. See How are Client IDs managed differently from API keys?