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

SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig

import type { SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig } from "https://googleapis.deno.dev/v1/compute:v1.ts";

Configurations to specifc granular traffic units processed by Adaptive Protection.

interface SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig {
enableEachUniqueValue?: boolean;
type?: "HTTP_HEADER_HOST" | "HTTP_PATH" | "UNSPECIFIED_TYPE";
value?: string;
}

§Properties

§
enableEachUniqueValue?: boolean
[src]

If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if value is empty.

§
type?: "HTTP_HEADER_HOST" | "HTTP_PATH" | "UNSPECIFIED_TYPE"
[src]

Type of this configuration.

§
value?: string
[src]

Requests that match this value constitute a granular traffic unit.