Skip to content

Commit 30bfcbb

Browse files
committed
Add private cloud func diagram
1 parent 7af9a84 commit 30bfcbb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
288 KB
Loading

docs/resources/control-flow/backend-logic/api/rest-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -639,16 +639,16 @@ To use a predefined JSON Path, first, select your API response. Then, set the **
639639

640640
You can make the API call private and change the proxy settings using advanced settings.
641641

642-
### Making an API call private
642+
### Private API Calls
643643

644644
Making an API call private is helpful if it uses tokens or secrets you don't want to expose in your app. Enabling this setting will route this API call securely via the Firebase Cloud Functions.
645645

646-
To make the API call private, open the **Advanced Settings** tab, turn on the **Make Private** toggle, Click **Save,** and then **Deploy APIs**.
646+
![private-cloud-func.png](imgs/private-cloud-func.png)
647647

648-
Optionally, you can force a user to be authenticated via the Firebase authentication to make this API call. To do so, turn on the **Require Authentication** toggle.
648+
To make an API Call Private, open the **Advanced Settings** tab, turn on the **Make Private** toggle, Click **Save,** and then **Deploy APIs**.
649649

650+
Optionally, you can force a user to be authenticated via the Firebase authentication to make this API call. To do so, turn on the **Require Authentication** toggle.
650651

651-
:::info
652652

653653
Private APIs are deployed as [**Cloud Functions**](https://firebase.google.com/docs/functions) within your Firebase project. While deploying, you can configure the following options:
654654

@@ -659,7 +659,7 @@ Private APIs are deployed as [**Cloud Functions**](https://firebase.google.com/d
659659

660660
**Note**: To minimize costs, you can set the **Min Instances** value to 0. For detailed pricing information, refer to the [**Cloud Functions Pricing page**](https://cloud.google.com/functions/pricing-overview).
661661

662-
:::
662+
663663

664664
<div style={{
665665
position: 'relative',

0 commit comments

Comments
 (0)