Google Cloud Functions - Python - HTTP Trigger URL Without Function Name The Next CEO of Stack OverflowCalling a function of a module by using its name (a string)What is the naming convention in Python for variable and function names?What is the quickest way to HTTP GET in Python?What are “named tuples” in Python?Google Cloud Endpoints with Google Cloud FunctionsSecure Google Cloud Functions http trigger with authAuthentication in HTTP Google Cloud Functionsus-central1 firestore functions are no longer triggeringadd token to endpoint for goolge cloud function pythonHTTP Triggering Cloud Function with Cloud Scheduler
Is 'diverse range' a pleonastic phrase?
How do I make a variable always equal to the result of some calculations?
In excess I'm lethal
Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?
Multiple labels for a single equation
Why didn't Khan get resurrected in the Genesis Explosion?
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
Sending manuscript to multiple publishers
How do scammers retract money, while you can’t?
What was the first Unix version to run on a microcomputer?
If the heap is initialized for security, then why is the stack uninitialized?
Why do professional authors make "consistency" mistakes? And how to avoid them?
Is micro rebar a better way to reinforce concrete than rebar?
Why do we use the plural of movies in this phrase "We went to the movies last night."?
How to solve a differential equation with a term to a power?
Does it take more energy to get to Venus or to Mars?
What exact does MIB represent in SNMP? How is it different from OID?
If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?
Why do remote companies require working in the US?
Can I run my washing machine drain line into a condensate pump so it drains better?
Won the lottery - how do I keep the money?
Several mode to write the symbol of a vector
Make solar eclipses exceedingly rare, but still have new moons
Interfacing a button to MCU (and PC) with 50m long cable
Google Cloud Functions - Python - HTTP Trigger URL Without Function Name
The Next CEO of Stack OverflowCalling a function of a module by using its name (a string)What is the naming convention in Python for variable and function names?What is the quickest way to HTTP GET in Python?What are “named tuples” in Python?Google Cloud Endpoints with Google Cloud FunctionsSecure Google Cloud Functions http trigger with authAuthentication in HTTP Google Cloud Functionsus-central1 firestore functions are no longer triggeringadd token to endpoint for goolge cloud function pythonHTTP Triggering Cloud Function with Cloud Scheduler
I have a Google Cloud Function triggered via HTTP.
The trigger URL is in the format:
https://europe-west1-PROJECT-NAME.cloudfunctions.net/FUNCTION-NAME
This works fine, however I need to beable to access it at:
https://europe-west1-PROJECT-NAME.cloudfunctions.net/
Is there a way of doing this? I have not been able to find a definitive answer for this via their documentation or Google Search.
Thanks
python google-cloud-functions
add a comment |
I have a Google Cloud Function triggered via HTTP.
The trigger URL is in the format:
https://europe-west1-PROJECT-NAME.cloudfunctions.net/FUNCTION-NAME
This works fine, however I need to beable to access it at:
https://europe-west1-PROJECT-NAME.cloudfunctions.net/
Is there a way of doing this? I have not been able to find a definitive answer for this via their documentation or Google Search.
Thanks
python google-cloud-functions
add a comment |
I have a Google Cloud Function triggered via HTTP.
The trigger URL is in the format:
https://europe-west1-PROJECT-NAME.cloudfunctions.net/FUNCTION-NAME
This works fine, however I need to beable to access it at:
https://europe-west1-PROJECT-NAME.cloudfunctions.net/
Is there a way of doing this? I have not been able to find a definitive answer for this via their documentation or Google Search.
Thanks
python google-cloud-functions
I have a Google Cloud Function triggered via HTTP.
The trigger URL is in the format:
https://europe-west1-PROJECT-NAME.cloudfunctions.net/FUNCTION-NAME
This works fine, however I need to beable to access it at:
https://europe-west1-PROJECT-NAME.cloudfunctions.net/
Is there a way of doing this? I have not been able to find a definitive answer for this via their documentation or Google Search.
Thanks
python google-cloud-functions
python google-cloud-functions
edited Mar 21 at 18:36
davidism
65.9k12179192
65.9k12179192
asked Mar 21 at 17:08
James BaylissJames Bayliss
62
62
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This is not possible. You must use the URL that was assigned to your function at the time of deployment. You can't rewrite the URL on the hostname/domain that's given to your project.
You can, however, use Firebase Hosting to proxy URLs to Cloud Functions in the same project. You will need to use the domain given to you by Firebase Hosting, or bring your own domain.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55285732%2fgoogle-cloud-functions-python-http-trigger-url-without-function-name%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is not possible. You must use the URL that was assigned to your function at the time of deployment. You can't rewrite the URL on the hostname/domain that's given to your project.
You can, however, use Firebase Hosting to proxy URLs to Cloud Functions in the same project. You will need to use the domain given to you by Firebase Hosting, or bring your own domain.
add a comment |
This is not possible. You must use the URL that was assigned to your function at the time of deployment. You can't rewrite the URL on the hostname/domain that's given to your project.
You can, however, use Firebase Hosting to proxy URLs to Cloud Functions in the same project. You will need to use the domain given to you by Firebase Hosting, or bring your own domain.
add a comment |
This is not possible. You must use the URL that was assigned to your function at the time of deployment. You can't rewrite the URL on the hostname/domain that's given to your project.
You can, however, use Firebase Hosting to proxy URLs to Cloud Functions in the same project. You will need to use the domain given to you by Firebase Hosting, or bring your own domain.
This is not possible. You must use the URL that was assigned to your function at the time of deployment. You can't rewrite the URL on the hostname/domain that's given to your project.
You can, however, use Firebase Hosting to proxy URLs to Cloud Functions in the same project. You will need to use the domain given to you by Firebase Hosting, or bring your own domain.
answered Mar 21 at 17:34
Doug StevensonDoug Stevenson
82.9k1099117
82.9k1099117
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55285732%2fgoogle-cloud-functions-python-http-trigger-url-without-function-name%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown