Class CloudStorageOptions (0.15.1)

Stay organized with collections Save and categorize content based on your preferences.

Options defining a file or a set of files within a Google Cloud Storage bucket.

Max number of bytes to scan from a file. If a scanned file’s size is bigger than this value then the rest of the bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified.

List of file type groups to include in the scan. If empty, all files are scanned and available data format processors are applied. In addition, the binary content of the selected files is always scanned as well. Images are scanned only as binary if the specified region does not support image inspection and no file_types were specified. Image inspection is restricted to ‘global’, ‘us’, ‘asia’, and ‘europe’.


builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > CloudStorageOptions



Set of files to scan.

The regex-filtered set of files to scan. Exactly one of url or regex_file_set must be set.