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










1















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










share|improve this question




























    1















    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










    share|improve this question


























      1












      1








      1








      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










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 21 at 18:36









      davidism

      65.9k12179192




      65.9k12179192










      asked Mar 21 at 17:08









      James BaylissJames Bayliss

      62




      62






















          1 Answer
          1






          active

          oldest

          votes


















          1














          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.






          share|improve this answer























            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
            );



            );













            draft saved

            draft discarded


















            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









            1














            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.






            share|improve this answer



























              1














              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.






              share|improve this answer

























                1












                1








                1







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 21 at 17:34









                Doug StevensonDoug Stevenson

                82.9k1099117




                82.9k1099117





























                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript