Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AlgorithmRulesRuleset

import type { AlgorithmRulesRuleset } from "https://googleapis.deno.dev/v1/displayvideo:v3.ts";

A ruleset consisting of a list of rules and how to aggregate the resulting values.

interface AlgorithmRulesRuleset {
aggregationType?:
| "RULE_AGGREGATION_TYPE_UNSPECIFIED"
| "SUM_OF_VALUES"
| "PRODUCT_OF_VALUES"
| "MAXIMUM_VALUE";
maxValue?: number;
}

§Properties

§
aggregationType?: "RULE_AGGREGATION_TYPE_UNSPECIFIED" | "SUM_OF_VALUES" | "PRODUCT_OF_VALUES" | "MAXIMUM_VALUE"
[src]

How to aggregate values of evaluated rules.

§
maxValue?: number
[src]

Maximum value the ruleset can evaluate to.

§

List of rules to generate the impression value.