Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API enum DiscoveryCloudStorageConditions.Types.CloudStorageBucketAttribute.
Buckets with Autoclass
disabled. Only one of
AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set.
AutoclassEnabled
Buckets with Autoclass
enabled. Only one of
AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set. Scanning
Autoclass-enabled buckets can affect object storage classes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eDiscoveryCloudStorageConditions.Types.CloudStorageBucketAttribute\u003c/code\u003e is 4.16.0, and older versions are accessible, dating back to version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides reference information for the Google Cloud Data Loss Prevention v2 API enum \u003ccode\u003eDiscoveryCloudStorageConditions.Types.CloudStorageBucketAttribute\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudStorageBucketAttribute\u003c/code\u003e has four fields: \u003ccode\u003eAllSupportedBuckets\u003c/code\u003e, \u003ccode\u003eAutoclassDisabled\u003c/code\u003e, \u003ccode\u003eAutoclassEnabled\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each defining different bucket attributes or states for scanning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoclassEnabled\u003c/code\u003e and \u003ccode\u003eAutoclassDisabled\u003c/code\u003e fields are mutually exclusive and when \u003ccode\u003eAutoclassEnabled\u003c/code\u003e is selected, scanning can affect object storage classes.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e, and it is contained within the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]