FirebaseFunctions lets you call Cloud Functions for Firebase.
| HttpsCallableReference |
getHttpsCallable(String name)
Returns a reference to the Callable HTTPS trigger with the given name.
|
| static FirebaseFunctions | |
| static FirebaseFunctions |
getInstance()
Creates a Cloud Functions client with the default app.
|
| static FirebaseFunctions |
getInstance(FirebaseApp app, String region)
Creates a Cloud Functions client with the given app and region.
|
| static FirebaseFunctions | |
| void |
useFunctionsEmulator(String origin)
Changes this instance to point to a Cloud Functions emulator running locally.
|
Returns a reference to the Callable HTTPS trigger with the given name.
| name |
|---|
Creates a Cloud Functions client with the default app and given region.
| region | The region for the HTTPS trigger, such as "us-central1". |
|---|
Creates a Cloud Functions client with the default app.
Creates a Cloud Functions client with the given app and region.
| app | The app for the Firebase project. |
|---|---|
| region | The region for the HTTPS trigger, such as "us-central1". |
Creates a Cloud Functions client with the given app.
| app | The app for the Firebase project. |
|---|
Changes this instance to point to a Cloud Functions emulator running locally. See https://firebase.google.com/docs/functions/local-emulator
| origin | The origin of the local emulator, such as "http://10.0.2.2:5005". |
|---|