init

splunkjs.Service.DataModelConstraint.init

Constructor for a data model constraint. SDK users are not expected to invoke this constructor directly.

Syntax

init: function(props)

Parameters

Name Type Description
props Object

A dictionary of properties to set:
- search (string): The Splunk search query this constraint specifies.
- owner (string): The lineage of the data model object that owns this
constraint, items are delimited by a dot. This is converted into
an array of strings upon construction.