com.google.firebase.functions

Classes

FirebaseFunctions

FirebaseFunctions lets you call Cloud Functions for Firebase.

HttpsCallableOptions

Options for configuring the callable function.

HttpsCallableOptions.Builder

A builder for creatingcom.google.firebase.functions.HttpsCallableOptions.

HttpsCallableReference

A reference to a particular Callable HTTPS trigger in Cloud Functions.

HttpsCallableResult

The result of calling aHttpsCallableReference function.

StreamResponse

Represents a response from a Server-Sent Event (SSE) stream.

StreamResponse.Message

An event message received during the stream.

StreamResponse.Result

The final result of the computation, marking the end of the stream.

Exceptions

FirebaseFunctionsException

The class for all Exceptions thrown by FirebaseFunctions.

Enums

FirebaseFunctionsException.Code

The set of error status codes that can be returned from a Callable HTTPS tigger.

Extension functions summary

FirebaseFunctions
Firebase.functions(app: FirebaseApp, regionOrCustomDomain: String)

Returns theFirebaseFunctions instance of a givenFirebaseApp andregionOrCustomDomain.

FirebaseFunctions

Returns theFirebaseFunctions instance of a givenFirebaseApp.

FirebaseFunctions
Firebase.functions(regionOrCustomDomain: String)

Returns theFirebaseFunctions instance of a givenregionOrCustomDomain.

HttpsCallableReference

Returns a reference to the Callable HTTPS trigger with the given name and call options.

HttpsCallableReference

Returns a reference to the Callable HTTPS trigger with the given URL and call options.

Extension properties summary

Extension functions

functions

fun Firebase.functions(app: FirebaseApp, regionOrCustomDomain: String): FirebaseFunctions

Returns theFirebaseFunctions instance of a givenFirebaseApp andregionOrCustomDomain.

functions

fun Firebase.functions(app: FirebaseApp): FirebaseFunctions

Returns theFirebaseFunctions instance of a givenFirebaseApp.

functions

fun Firebase.functions(regionOrCustomDomain: String): FirebaseFunctions

Returns theFirebaseFunctions instance of a givenregionOrCustomDomain.

getHttpsCallable

fun FirebaseFunctions.getHttpsCallable(name: String, init: HttpsCallableOptions.Builder.()->Unit): HttpsCallableReference

Returns a reference to the Callable HTTPS trigger with the given name and call options.

getHttpsCallableFromUrl

fun FirebaseFunctions.getHttpsCallableFromUrl(url: URL, init: HttpsCallableOptions.Builder.()->Unit): HttpsCallableReference

Returns a reference to the Callable HTTPS trigger with the given URL and call options.

Extension properties

functions

val Firebase.functionsFirebaseFunctions

Returns theFirebaseFunctions instance of the defaultFirebaseApp.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.