Skip to content
This repository was archived by the owner on Dec 10, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions google/cloud/dlp_v2/types/dlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,7 @@ class Container(proto.Message):
full_path (str):
A string representation of the full container
name. Examples:

- BigQuery: 'Project:DataSetId.TableId'
- Cloud Storage:
'gs://Bucket/folders/filename.txt'
Expand Down
9 changes: 9 additions & 0 deletions google/cloud/dlp_v2/types/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class FileType(proto.Enum):
storage scan.
TEXT_FILE (2):
Included file extensions:

asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv,
cxx, c++, cs, css, dart, dat, dot, eml,,
epbub, ged, go, h, hh, hpp, hxx, h++, hs, html,
Expand All @@ -112,27 +113,34 @@ class FileType(proto.Enum):
WORD (5):
Word files >30 MB will be scanned as binary
files. Included file extensions:

docx, dotx, docm, dotm
PDF (6):
PDF files >30 MB will be scanned as binary
files. Included file extensions:

pdf
AVRO (7):
Included file extensions:

avro
CSV (8):
Included file extensions:

csv
TSV (9):
Included file extensions:

tsv
POWERPOINT (11):
Powerpoint files >30 MB will be scanned as
binary files. Included file extensions:

pptx, pptm, potx, potm, pot
EXCEL (12):
Excel files >30 MB will be scanned as binary
files. Included file extensions:

xlsx, xlsm, xltx, xltm
"""
FILE_TYPE_UNSPECIFIED = 0
Expand Down Expand Up @@ -626,6 +634,7 @@ class PartitionId(proto.Message):
is always by project and namespace, however the namespace ID may
be empty.
A partition ID contains several dimensions:

project ID and namespace ID.

Attributes:
Expand Down