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.

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
GetInstance(string region)
Returns the FirebaseFunctions , initialized with the default Firebase.FirebaseApp.
GetInstance(FirebaseApp app, string region)
Returns the FirebaseFunctions , initialized with a custom Firebase.FirebaseApp and region.

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.

GetInstance

FirebaseFunctions GetInstance(
  string region
)

Returns the FirebaseFunctions , initialized with the default Firebase.FirebaseApp.

Details
Parameters
region
The region to call Cloud Functions in.
Returns
a FirebaseFunctions instance.

GetInstance

FirebaseFunctions GetInstance(
  FirebaseApp app,
  string region
)

Returns the FirebaseFunctions , initialized with a custom Firebase.FirebaseApp and region.

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.