GooglePrivacyDlpV2DiscoveryCloudStorageConditions
import type { GooglePrivacyDlpV2DiscoveryCloudStorageConditions } from "https://googleapis.deno.dev/v1/dlp:v2.ts";
Requirements that must be true before a Cloud Storage bucket or object is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.
interface GooglePrivacyDlpV2DiscoveryCloudStorageConditions {
includedBucketAttributes?:
| "CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED"
| "ALL_SUPPORTED_BUCKETS"
| "AUTOCLASS_DISABLED"
| "AUTOCLASS_ENABLED"[];
includedObjectAttributes?:
} | "CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED"
| "ALL_SUPPORTED_OBJECTS"
| "STANDARD"
| "NEARLINE"
| "COLDLINE"
| "ARCHIVE"
| "REGIONAL"
| "MULTI_REGIONAL"
| "DURABLE_REDUCED_AVAILABILITY"[];
§Properties
§
includedBucketAttributes?: "CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED" | "ALL_SUPPORTED_BUCKETS" | "AUTOCLASS_DISABLED" | "AUTOCLASS_ENABLED"[]
[src]Required. Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
§
includedObjectAttributes?: "CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED" | "ALL_SUPPORTED_OBJECTS" | "STANDARD" | "NEARLINE" | "COLDLINE" | "ARCHIVE" | "REGIONAL" | "MULTI_REGIONAL" | "DURABLE_REDUCED_AVAILABILITY"[]
[src]Required. Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.