title: Cloud Run get public URL
body: <p>Inside my code, how can I get the public URL of my Cloud Run project?</p>
  <p>Let's suppose that my Cloud Run is hosted at:</p>
  <pre><code>https://my-cloud-run-a7jtmot2uw-uc.a.run.app
  </code></pre>
  <p>And I want to get this information in my code.</p>
  <p>For example. I am using App Engine and I do the same thing in Python with the following code:</p>
  <pre class="lang-py prettyprint-override"><code>public_url = &quot;https://%s.uc.r.appspot.com&quot; % os.environ[&quot;GOOGLE_CLOUD_PROJECT&quot;]
  </code></pre>