Settings interface Stay organized with collections Save and categorize content based on your preferences.
Specifies custom configurations for your Cloud Firestore instance. You must set these before invoking any other methods.
Signature:
exportdeclareinterfaceSettingsProperties
| Property | Type | Description |
|---|---|---|
| host | string | The hostname to connect to. |
| ignoreUndefinedProperties | boolean | Whether to skip nested properties that are set toundefined during object serialization. If set totrue, these properties are skipped and not written to Firestore. If set tofalse or omitted, the SDK throws an exception when it encounters properties of typeundefined. |
| ssl | boolean | Whether to use SSL when connecting. |
Settings.host
The hostname to connect to.
Signature:
host?:string;Settings.ignoreUndefinedProperties
Whether to skip nested properties that are set toundefined during object serialization. If set totrue, these properties are skipped and not written to Firestore. If set tofalse or omitted, the SDK throws an exception when it encounters properties of typeundefined.
Signature:
ignoreUndefinedProperties?:boolean;Settings.ssl
Whether to use SSL when connecting.
Signature:
ssl?:boolean;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 2022-07-22 UTC.