title: Serverless GCP function whitelist cloud scheduler ip
body: <p>I'm wondering how to extend <a href="https://github.com/serverless/examples/tree/master/google-python-simple-http-endpoint" rel="nofollow noreferrer">this GCP HTTP example</a> to only be callable by a Google Cloud Scheduler IP address or some way to limit it to being called from inside the specific GCP project. </p>
  
  <p>Maybe the easiest would be some sort of resource or network config block in the <code>serverless.yml</code> but just not quite sure how to go about it and could not really find an example in the examples repository. </p>