OneOfCondition interface
Stay organized with collections
Save and categorize content based on your preferences.
Represents a condition that may be one of several types. Only the first defined field will be processed.
Signature:
export interface OneOfCondition
Properties
OneOfCondition.andCondition
Makes this condition an AND condition.
Signature:
andCondition?: AndCondition;
OneOfCondition.customSignal
Makes this condition a custom signal condition.
Signature:
customSignal?: CustomSignalCondition;
OneOfCondition.false
Makes this condition a constant false.
Signature:
false?: Record<string, never>;
OneOfCondition.orCondition
Makes this condition an OR condition.
Signature:
orCondition?: OrCondition;
OneOfCondition.percent
Makes this condition a percent condition.
Signature:
percent?: PercentCondition;
OneOfCondition.true
Makes this condition a constant true.
Signature:
true?: Record<string, never>;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-12 UTC.
[null,null,["Last updated 2024-09-12 UTC."],[],[],null,["# OneOfCondition interface\n\nRepresents a condition that may be one of several types. Only the first defined field will be processed.\n\n**Signature:** \n\n export interface OneOfCondition \n\nProperties\n----------\n\n| Property | Type | Description |\n|---------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|-------------------------------------------------|\n| [andCondition](./firebase-admin.remote-config.oneofcondition.md#oneofconditionandcondition) | [AndCondition](./firebase-admin.remote-config.andcondition.md#andcondition_interface) | Makes this condition an AND condition. |\n| [customSignal](./firebase-admin.remote-config.oneofcondition.md#oneofconditioncustomsignal) | [CustomSignalCondition](./firebase-admin.remote-config.customsignalcondition.md#customsignalcondition_interface) | Makes this condition a custom signal condition. |\n| [false](./firebase-admin.remote-config.oneofcondition.md#oneofconditionfalse) | Record\\\u003cstring, never\\\u003e | Makes this condition a constant false. |\n| [orCondition](./firebase-admin.remote-config.oneofcondition.md#oneofconditionorcondition) | [OrCondition](./firebase-admin.remote-config.orcondition.md#orcondition_interface) | Makes this condition an OR condition. |\n| [percent](./firebase-admin.remote-config.oneofcondition.md#oneofconditionpercent) | [PercentCondition](./firebase-admin.remote-config.percentcondition.md#percentcondition_interface) | Makes this condition a percent condition. |\n| [true](./firebase-admin.remote-config.oneofcondition.md#oneofconditiontrue) | Record\\\u003cstring, never\\\u003e | Makes this condition a constant true. |\n\nOneOfCondition.andCondition\n---------------------------\n\nMakes this condition an AND condition.\n\n**Signature:** \n\n andCondition?: AndCondition;\n\nOneOfCondition.customSignal\n---------------------------\n\nMakes this condition a custom signal condition.\n\n**Signature:** \n\n customSignal?: CustomSignalCondition;\n\nOneOfCondition.false\n--------------------\n\nMakes this condition a constant false.\n\n**Signature:** \n\n false?: Record\u003cstring, never\u003e;\n\nOneOfCondition.orCondition\n--------------------------\n\nMakes this condition an OR condition.\n\n**Signature:** \n\n orCondition?: OrCondition;\n\nOneOfCondition.percent\n----------------------\n\nMakes this condition a percent condition.\n\n**Signature:** \n\n percent?: PercentCondition;\n\nOneOfCondition.true\n-------------------\n\nMakes this condition a constant true.\n\n**Signature:** \n\n true?: Record\u003cstring, never\u003e;"]]