import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomSensitiveRuleType } from "./customsensitiveruletype.js"; /** * Likelihood threshold for BUILT_IN infotypes (e.g., LIKELY, VERY_LIKELY). Only applicable for BUILT_IN type. */ export declare const CustomSensitiveRuleLikelihoodThreshold: { readonly Likely: "LIKELY"; readonly VeryLikely: "VERY_LIKELY"; readonly Possible: "POSSIBLE"; readonly Unlikely: "UNLIKELY"; readonly VeryUnlikely: "VERY_UNLIKELY"; }; /** * Likelihood threshold for BUILT_IN infotypes (e.g., LIKELY, VERY_LIKELY). Only applicable for BUILT_IN type. */ export type CustomSensitiveRuleLikelihoodThreshold = OpenEnum; export type CustomSensitiveRule = { /** * Identifier for the custom sensitive expression. */ id?: string | undefined; /** * The value of the custom sensitive rule. For REGEX type, this is the regex pattern; for TERM type, it is the term to match; and for INFO_TYPE type, it refers to predefined categories of sensitive content. See https://cloud.google.com/dlp/docs/infotypes-reference for available options. */ value?: string | undefined; /** * Type of the custom sensitive rule. */ type?: CustomSensitiveRuleType | undefined; /** * Likelihood threshold for BUILT_IN infotypes (e.g., LIKELY, VERY_LIKELY). Only applicable for BUILT_IN type. */ likelihoodThreshold?: CustomSensitiveRuleLikelihoodThreshold | undefined; }; /** @internal */ export declare const CustomSensitiveRuleLikelihoodThreshold$inboundSchema: z.ZodType; /** @internal */ export declare const CustomSensitiveRuleLikelihoodThreshold$outboundSchema: z.ZodType; /** @internal */ export declare const CustomSensitiveRule$inboundSchema: z.ZodType; /** @internal */ export type CustomSensitiveRule$Outbound = { id?: string | undefined; value?: string | undefined; type?: string | undefined; likelihoodThreshold?: string | undefined; }; /** @internal */ export declare const CustomSensitiveRule$outboundSchema: z.ZodType; export declare function customSensitiveRuleToJSON(customSensitiveRule: CustomSensitiveRule): string; export declare function customSensitiveRuleFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customsensitiverule.d.ts.map