Ruleset class
Stay organized with collections
Save and categorize content based on your preferences.
A set of Firebase security rules.
Signature:
export declare class Ruleset implements RulesetMetadata
Implements: RulesetMetadata
Properties
Ruleset.createTime
Creation time of the Ruleset
as a UTC timestamp string.
Signature:
readonly createTime: string;
Ruleset.name
Name of the Ruleset
as a short string. This can be directly passed into APIs like SecurityRules.getRuleset() and SecurityRules.deleteRuleset().
Signature:
readonly name: string;
Ruleset.source
Signature:
readonly source: RulesFile[];
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 2022-07-29 UTC.
[null,null,["Last updated 2022-07-29 UTC."],[],[],null,["# Ruleset class\n\nA set of Firebase security rules.\n\n**Signature:** \n\n export declare class Ruleset implements RulesetMetadata \n\n**Implements:** [RulesetMetadata](./firebase-admin.security-rules.rulesetmetadata.md#rulesetmetadata_interface)\n\nProperties\n----------\n\n| Property | Modifiers | Type | Description |\n|----------------------------------------------------------------------------|-----------|-----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [createTime](./firebase-admin.security-rules.ruleset.md#rulesetcreatetime) | | string | Creation time of the `Ruleset` as a UTC timestamp string. |\n| [name](./firebase-admin.security-rules.ruleset.md#rulesetname) | | string | Name of the `Ruleset` as a short string. This can be directly passed into APIs like [SecurityRules.getRuleset()](./firebase-admin.security-rules.securityrules.md#securityrulesgetruleset) and [SecurityRules.deleteRuleset()](./firebase-admin.security-rules.securityrules.md#securityrulesdeleteruleset). |\n| [source](./firebase-admin.security-rules.ruleset.md#rulesetsource) | | [RulesFile](./firebase-admin.security-rules.rulesfile.md#rulesfile_interface)\\[\\] | |\n\nRuleset.createTime\n------------------\n\nCreation time of the `Ruleset` as a UTC timestamp string.\n\n**Signature:** \n\n readonly createTime: string;\n\nRuleset.name\n------------\n\nName of the `Ruleset` as a short string. This can be directly passed into APIs like [SecurityRules.getRuleset()](./firebase-admin.security-rules.securityrules.md#securityrulesgetruleset) and [SecurityRules.deleteRuleset()](./firebase-admin.security-rules.securityrules.md#securityrulesdeleteruleset).\n\n**Signature:** \n\n readonly name: string;\n\nRuleset.source\n--------------\n\n**Signature:** \n\n readonly source: RulesFile[];"]]