AppOptions extension type
Available options to pass to {@link firebase-admin.app#initializeApp}.
- on
- Implemented types
- Available extensions
Constructors
- AppOptions({Credential? credential, JSObject? databaseAuthVariableOverride, String? databaseURL, String? serviceAccountId, String? storageBucket, String? projectId, Agent? httpAgent})
-
Constructor
factory
Properties
- credential → Credential?
-
A {@link firebase-admin.app#Credential} object used to
authenticate the Admin SDK.
no setter
- databaseAuthVariableOverride → JSObject?
-
The object to use as the {@link https://firebase.google.com/docs/reference/security/database/#auth | auth}
variable in your Realtime Database Rules when the Admin SDK reads from or
writes to the Realtime Database. This allows you to downscope the Admin SDK
from its default full read and write privileges.
no setter
- databaseURL → String?
-
The URL of the Realtime Database from which to read and write data.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpAgent → Agent?
-
An {@link https://nodejs.org/api/http.html#http_class_http_agent | HTTP Agent}
to be used when making outgoing HTTP calls. This Agent instance is used
by all services that make REST calls (e.g.
auth
,messaging
,projectManagement
).no setter - projectId → String?
-
The ID of the Google Cloud project associated with the App.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAccountId → String?
-
The ID of the service account to be used for signing custom tokens. This
can be found in the
client_email
field of a service account JSON file.no setter - storageBucket → String?
-
The name of the Google Cloud Storage bucket used for storing application data.
Use only the bucket name without any prefixes or additions (do not prefix
the name with "gs://").
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited