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

Condition

import type { Condition } from "https://googleapis.deno.dev/v1/tagmanager:v2.ts";

Represents a predicate.

interface Condition {
parameter?: Parameter[];
type?:
| "conditionTypeUnspecified"
| "equals"
| "contains"
| "startsWith"
| "endsWith"
| "matchRegex"
| "greater"
| "greaterOrEquals"
| "less"
| "lessOrEquals"
| "cssSelector"
| "urlMatches";
}

§Properties

§
parameter?: Parameter[]
[src]

A list of named parameters (key/value), depending on the condition's type. Notes: - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - At this time, the left operand (arg0) must be a reference to a variable. - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. @mutable tagmanager.accounts.containers.workspaces.triggers.create

§
type?: "conditionTypeUnspecified" | "equals" | "contains" | "startsWith" | "endsWith" | "matchRegex" | "greater" | "greaterOrEquals" | "less" | "lessOrEquals" | "cssSelector" | "urlMatches"
[src]

The type of operator for this condition. @mutable tagmanager.accounts.containers.workspaces.triggers.create @mutable tagmanager.accounts.containers.workspaces.triggers.update