Firebase.Functions.FirebaseFunctions

FirebaseFunctions is a service that supports calling Google Cloud Functions.

Summary

FirebaseFunctions is a service that supports calling Google Cloud Functions. Pass a custom instance of Firebase.FirebaseApp to GetInstance which will use Auth and InstanceID from the app.

Otherwise, if you call DefaultInstance without a FirebaseApp, the FirebaseFunctions instance will initialize with the default Firebase.FirebaseApp obtainable from FirebaseApp.DefaultInstance.

Entry point for the Firebase C++ SDK for Cloud Functions.

To use the SDK, call firebase::functions::Functions::GetInstance() to obtain an instance of Functions, then use GetHttpsCallable() to obtain references to callable functions. From there you can call them with CallableReference::Call().

Properties

App
The Firebase.FirebaseApp associated with this FirebaseFunctions instance.
DefaultInstance
Returns the FirebaseFunctions , initialized with the default Firebase.FirebaseApp

Public static functions

GetInstance(FirebaseApp app)
Returns the FirebaseFunctions , initialized with a custom Firebase.FirebaseApp

Public functions

GetHttpsCallable(string name)
Creates a HttpsCallableReference given a name.

Properties

App

FirebaseApp App

The Firebase.FirebaseApp associated with this FirebaseFunctions instance.

DefaultInstance

static FirebaseFunctions DefaultInstance

Returns the FirebaseFunctions , initialized with the default Firebase.FirebaseApp

a FirebaseFunctions instance.

Public static functions

GetInstance

FirebaseFunctions GetInstance(
  FirebaseApp app
)

Returns the FirebaseFunctions , initialized with a custom Firebase.FirebaseApp

Details
Parameters
app
The custom Firebase.FirebaseApp used for initialization.
Returns
a FirebaseFunctions instance.

Public functions

GetHttpsCallable

HttpsCallableReference GetHttpsCallable(
  string name
)

Creates a HttpsCallableReference given a name.

Send feedback about...

Need help? Visit our support page.