google-cloud-functions

Do Firebase Cloud Functions require Billing to be enabled by April 20, 2020 because of the Cloud Build API?

南楼画角 提交于 2020-05-27 17:27:44
问题 Firebase: Enable the Google Cloud Build API for your Cloud Functions project? & understanding "action required" email from GCP, re: enable Cloud Build API ask for something different and I understand what Cloud Build means for Firebase Functions as described in the following. I am asking about the billing requirement - if that is a thing. This is not clear from the notice. Cloud Functions & Cloud Build I have received notice via email that I need to do the following for my Firebase project:

Do Firebase Cloud Functions require Billing to be enabled by April 20, 2020 because of the Cloud Build API?

做~自己de王妃 提交于 2020-05-27 17:26:18
问题 Firebase: Enable the Google Cloud Build API for your Cloud Functions project? & understanding "action required" email from GCP, re: enable Cloud Build API ask for something different and I understand what Cloud Build means for Firebase Functions as described in the following. I am asking about the billing requirement - if that is a thing. This is not clear from the notice. Cloud Functions & Cloud Build I have received notice via email that I need to do the following for my Firebase project:

Do Firebase Cloud Functions require Billing to be enabled by April 20, 2020 because of the Cloud Build API?

一笑奈何 提交于 2020-05-27 17:21:44
问题 Firebase: Enable the Google Cloud Build API for your Cloud Functions project? & understanding "action required" email from GCP, re: enable Cloud Build API ask for something different and I understand what Cloud Build means for Firebase Functions as described in the following. I am asking about the billing requirement - if that is a thing. This is not clear from the notice. Cloud Functions & Cloud Build I have received notice via email that I need to do the following for my Firebase project:

Firebase Cloud Function Authentication Trigger timing

痞子三分冷 提交于 2020-05-27 07:57:52
问题 Does anyone knows what the timing of the Firebase Cloud Functions onCreate Authentication Trigger is? Is it like: - User registers using SDK - Firebase creates user in and for Firebase Authentication - Firebase SDK sends login successful event - Function onCreate is invoked or like: - User registers using SDK - Firebase creates user in and for Firebase Authentication - Firebase onCreate is invoked - Firebase SDK sends login successful event Or in other words: Can I be sure that after a

CloudFunctions.getHttpsCallable parameters

只谈情不闲聊 提交于 2020-05-27 06:34:43
问题 Since the version 0.2.0 cloud_functions for Flutter use .getHttpsCallable() instead of .call() . The new method is defined as: /// @param functionName The name of the callable function being triggered. /// @param parameters Parameters to be passed to the callable function. HttpsCallable getHttpsCallable( {@required String functionName, Map<String, dynamic> parameters}) { return HttpsCallable._(this, functionName); } As we can see, the argument parameters is not used though declared and

Firebase cloud functions using Python?

我与影子孤独终老i 提交于 2020-05-26 10:47:09
问题 We are using GCP's Firebase with Firestore for a new mobile app we are developing. As part of this effort we need to deploy a number of cloud functions which will act as Firestore triggers for doing some back end processing. Our intention is to keep the deploys encapsulated inside of Firebase by using the firebase cli tools. However when we attempt to initiate the Firebase project for functions using the "firebase init functions" call the only two language options are "Javascript" and

Firebase cloud functions using Python?

ぃ、小莉子 提交于 2020-05-26 10:45:16
问题 We are using GCP's Firebase with Firestore for a new mobile app we are developing. As part of this effort we need to deploy a number of cloud functions which will act as Firestore triggers for doing some back end processing. Our intention is to keep the deploys encapsulated inside of Firebase by using the firebase cli tools. However when we attempt to initiate the Firebase project for functions using the "firebase init functions" call the only two language options are "Javascript" and

Setting NODE_ENV for firebase function

旧街凉风 提交于 2020-05-26 10:26:11
问题 I am moving some of my firebase-queue workers to Firebase Functions. I have used process.env.NODE_ENV to set some of the configuration for the workers depending on the environment in which I am running them. Is there a way to set the NODE_ENV for the functions while deploying them. I understand that the recommended way to provide such config options is via firebase.config.set which I have verified works as expected but just wanted to check if there is a way to set the NODE_ENV also. When I

Do Google Cloud Platform HTTP Functions Support Route Parameters?

强颜欢笑 提交于 2020-05-25 17:23:41
问题 This is a bit simpler a question than I tend to like to come here with but I've been driving myself up the wall trying to find an answer to this and I absolutely cannot- Do Google Cloud Platform HTTP Functions support Route Parameters, as here? http://expressjs.com/en/guide/routing.html#route-parameters Specifically, I see that Google Cloud Platform HTTP Functions appear to use Express as a base, yet all functions I see any example of already just run off of req and res parameters and nothing

Generating Swagger Docs in Firebase Cloud Functions project

自古美人都是妖i 提交于 2020-05-25 11:27:14
问题 Is it possible to generate Swagger Spec file from function comments in firebase cloud functions? If so, how can we do it? I see the cloud functions code to be more like serverless, so wondering if this is possible. 回答1: I haven't found an automatic way, but there are plenty of libraries to choose from. I'm using express and nodejs in my Firebase Function implementations, and for me, Swagger doc generation can be implemented via the following libraries: https://github.com/scottie1984/swagger