Do firebase cloud functions involve costs for realtime db and firestore?

前端 未结 1 1694
耶瑟儿~
耶瑟儿~ 2021-01-14 19:19

I am running a cloud function whenever a firestore document is updated. The function reads the document, gets the user IDs and then takes the user token IDs from the realtim

1条回答
  •  深忆病人
    2021-01-14 19:54

    According to the links below, all reads and writes are billable (or count toward reading count), even in cases of evaluating security rules, so Cloud functions should also be "billable".

    1. According to Understand Realtime Database Billing,

      All traffic to and from your database, including operations denied by security rules, leads to billable costs.

    2. According to Cloud Firestore Pricing,

      You are charged for each document read, write, and delete that you perform with Cloud Firestore.

    0 讨论(0)
提交回复
热议问题