Back to Firebase Js Sdk

Functions interface

docs-devsite/functions.functions.md

12.12.11.5 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

Functions interface

A Functions instance.

<b>Signature:</b>

typescript
export interface Functions 

Properties

PropertyTypeDescription
appFirebaseAppThe FirebaseApp this <code>Functions</code> instance is associated with.
customDomainstring | nullA custom domain hosting the callable Cloud Functions. ex: https://mydomain.com
regionstringThe region the callable Cloud Functions are located in. Default is <code>us-central-1</code>.

Functions.app

The FirebaseApp this Functions instance is associated with.

<b>Signature:</b>

typescript
app: FirebaseApp;

Functions.customDomain

A custom domain hosting the callable Cloud Functions. ex: https://mydomain.com

<b>Signature:</b>

typescript
customDomain: string | null;

Functions.region

The region the callable Cloud Functions are located in. Default is us-central-1<!-- -->.

<b>Signature:</b>

typescript
region: string;