File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1384,6 +1384,15 @@ message ContentItem {
13841384 // Content data to inspect or redact. Replaces `type` and `data`.
13851385 ByteContentItem byte_item = 5 ;
13861386 }
1387+
1388+ // User provided metadata for the content.
1389+ ContentMetadata content_metadata = 6 ;
1390+ }
1391+
1392+ // Metadata on content to be scanned.
1393+ message ContentMetadata {
1394+ // User provided key-value pairs of content metadata.
1395+ repeated KeyValueMetadataProperty properties = 2 ;
13871396}
13881397
13891398// Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
@@ -1403,6 +1412,15 @@ message Table {
14031412 repeated Row rows = 2 ;
14041413}
14051414
1415+ // A key-value pair in the Metadata.
1416+ message KeyValueMetadataProperty {
1417+ // The key of the property.
1418+ string key = 1 ;
1419+
1420+ // The value of the property.
1421+ string value = 2 ;
1422+ }
1423+
14061424// All the findings for a single scanned item.
14071425message InspectResult {
14081426 // List of findings for an item.
@@ -7478,6 +7496,9 @@ enum MetadataType {
74787496
74797497 // Metadata extracted from the files.
74807498 CONTENT_METADATA = 3 ;
7499+
7500+ // Metadata provided by the client.
7501+ CLIENT_PROVIDED_METADATA = 4 ;
74817502}
74827503
74837504// Parts of the APIs which use certain infoTypes.
You can’t perform that action at this time.
0 commit comments