Created
April 13, 2022 18:59
-
-
Save Geremie/8c77b7075341f4615bbbda5358fa3288 to your computer and use it in GitHub Desktop.
Manage your Private Python Packages with Artifact Registry (Part 1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get the function url | |
| function_url=$(gcloud functions describe <your_function_name> --region <your_function_location> --format="get(httpsTrigger.url)") | |
| # Call the function to compute the haversine distance | |
| curl -X POST -d '{"x1": 1, "y1": 2, "x2": 3, "y2": 4}' $function_url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment