Skip to content
Open
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
3 changes: 2 additions & 1 deletion packages/google-privacy-dlp/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"extends": "./node_modules/gts"
"extends": "./node_modules/gts",
"root": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -1384,6 +1384,15 @@ message ContentItem {
// Content data to inspect or redact. Replaces `type` and `data`.
ByteContentItem byte_item = 5;
}

// User provided metadata for the content.
ContentMetadata content_metadata = 6;
}

// Metadata on content to be scanned.
message ContentMetadata {
// User provided key-value pairs of content metadata.
repeated KeyValueMetadataProperty properties = 2;
}

// Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
Expand All @@ -1403,6 +1412,15 @@ message Table {
repeated Row rows = 2;
}

// A key-value pair in the Metadata.
message KeyValueMetadataProperty {
// The key of the property.
string key = 1;

// The value of the property.
string value = 2;
}

// All the findings for a single scanned item.
message InspectResult {
// List of findings for an item.
Expand Down Expand Up @@ -7478,6 +7496,9 @@ enum MetadataType {

// Metadata extracted from the files.
CONTENT_METADATA = 3;

// Metadata provided by the client.
CLIENT_PROVIDED_METADATA = 4;
}

// Parts of the APIs which use certain infoTypes.
Expand Down
209 changes: 208 additions & 1 deletion packages/google-privacy-dlp/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading