title: Restric GCP API Key To A Subset Of Endpoints For A Given API
body: <p>As per the docs on <a href="https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions" rel="nofollow noreferrer">Adding API Restrictions</a> to API keys, I have specified a single GCP API that I'd like a particular API key to be able to operate on (in my case; Error Reporting).</p>
  <p>However the <a href="https://cloud.google.com/error-reporting/reference/rest" rel="nofollow noreferrer">Error Reporting REST API</a> has a lot of capabilities that I'd rather not allow this API key to operate on ... in fact, there's only a single endpoint in that REST API that I'd like to allow my API key to call.</p>
  <p>Thus, how do I restrict an API key to only access a subset of endpoints for a given GCP API.</p>