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

GooglePrivacyDlpV2CloudStorageRegex

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

A pattern to match against one or more file stores. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.

interface GooglePrivacyDlpV2CloudStorageRegex {
bucketNameRegex?: string;
projectIdRegex?: string;
}

§Properties

§
bucketNameRegex?: string
[src]

Optional. Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021

§
projectIdRegex?: string
[src]

Optional. For organizations, if unset, will match all projects.