Ruleset class

A set of Firebase security rules.

Signature:

export declare class Ruleset implements RulesetMetadata 

Implements: RulesetMetadata

Properties

Property Modifiers Type Description
createTime string Creation time of the Ruleset as a UTC timestamp string.
name string Name of the Ruleset as a short string. This can be directly passed into APIs like SecurityRules.getRuleset() and SecurityRules.deleteRuleset().
source RulesFile[]

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[];