简体   繁体   中英

Google Cloud Function Permalink

I am using a Google Cloud Function as a URI in a blockchain contract. As such the URI can never be changed. So I am wondering if there is any reason the trigger (http address) for the function might ever be changed or if this is a guaranteed permalink?

If not then I'll setup a domain name and direct it there, but I would rather not have to do that if the link is guaranteed permanent. Any information in this regard would be super helpful.

I imagine they wouldn't change this just for fun since many services depend on those links, but of course an app can always be updated and unfortunately a smart contract cannot:(

The URLs don't change unless you change the function name or region. In fact, you get to know the URL even before creating the function. They follow the same pattern:

https://[FN_REGION]-[PROJECT_ID].cloudfunctions.net/[FN_NAME]

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM