ChangeType);

    OR

    dp.setLoggingTypeOnTsChange('DP_578141');

4. Set none type:

    var noneType =
    {
        "loggingType":"none"
    };

    dp.setLoggingType('DP_578141', noneType);

    OR

    dp.setLoggingTypeNone('DP_578141');

5. Set all logging type:

    var allType =
    {
        "loggingType":"all"
    };

    dp.setLoggingType('DP_578141', allType);

    OR

    dp.setLoggingTypeAll('DP_578141');

6. Set discard values:

    var discardValues =
    {
        "discardExtremeValues":t