Constructor
new SecurityPolicy(nodeIdsopt, sourceIdsopt, aggregationsopt, minAggregationopt, locationPrecisionsopt, minLocationPrecisionopt, nodeMetadataPathsopt, userMetadataPathsopt)
Constructor.
Name | Type | Attributes | Description |
---|---|---|---|
nodeIds | Array.<number> | | <optional> | the node IDs to restrict to, or |
sourceIds | Array.<string> | | <optional> | the source ID to restrict to, or |
aggregations | Array.<module:domain~Aggregation> | | <optional> | the aggregation names to restrict to, or |
minAggregation | module:domain~Aggregation | <optional> | if specified, a minimum aggregation level that is allowed |
locationPrecisions | Set.<module:domain~LocationPrecision> | <optional> | the location precision names to restrict to, or |
minLocationPrecision | module:domain~LocationPrecision | <optional> | if specified, a minimum location precision that is allowed |
nodeMetadataPaths | Set.<string> | <optional> | the |
userMetadataPaths | Set.<string> | <optional> | the |
- Source
Members
aggregations
Get the aggregations.
- Source
locationPrecisions
Get the location precisions.
- Source
minAggregation
Get the minimum aggregation.
- Source
minLocationPrecision
Get the minimum location precision.
- Source
nodeIds
Get the node IDs.
- Source
nodeMetadataPaths
Get the node metadata paths.
- Source
sourceIds
Get the source IDs.
- Source
userMetadataPaths
Get the user metadata paths.
- Source
Methods
toJsonEncoding() → {string}
Get this object as a standard JSON encoded string value.
- Source
the JSON encoded string
- Type:
- string