Skip to content

Commit

Permalink
feat: add avro support (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored and JustinBeckwith committed Jun 19, 2019
1 parent 6ddf840 commit 38906dc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,8 @@ message ByteContentItem {
IMAGE_SVG = 4;

TEXT_UTF8 = 5;

AVRO = 11;
}

// The type of data stored in the bytes string. Default will be TEXT_UTF8.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,10 @@ enum FileType {
// bmp, gif, jpg, jpeg, jpe, png.
// bytes_limit_per_file has no effect on image files.
IMAGE = 3;

// Included file extensions:
// avro
AVRO = 7;
}

// Row key for identifying a record in BigQuery table.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ const ByteContentItem = {
IMAGE_BMP: 2,
IMAGE_PNG: 3,
IMAGE_SVG: 4,
TEXT_UTF8: 5
TEXT_UTF8: 5,
AVRO: 11
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,13 @@ const FileType = {
* bmp, gif, jpg, jpeg, jpe, png.
* bytes_limit_per_file has no effect on image files.
*/
IMAGE: 3
IMAGE: 3,

/**
* Included file extensions:
* avro
*/
AVRO: 7
};

/**
Expand Down
10 changes: 5 additions & 5 deletions packages/google-privacy-dlp/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-06-12T11:14:34.105356Z",
"updateTime": "2019-06-18T01:00:40.446641Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.24.1",
"dockerImage": "googleapis/artman@sha256:6018498e15310260dc9b03c9d576608908ed9fbabe42e1494ff3d827fea27b19"
"version": "0.26.0",
"dockerImage": "googleapis/artman@sha256:6db0735b0d3beec5b887153a2a7c7411fc7bb53f73f6f389a822096bd14a3a15"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "f117dac435e96ebe58d85280a3faf2350c4d4219",
"internalRef": "252714985"
"sha": "384aa843867c4d17756d14a01f047b6368494d32",
"internalRef": "253675319"
}
},
{
Expand Down

0 comments on commit 38906dc

Please sign in to comment.