forked from GoogleCloudPlatform/professional-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gcs2bq.avsc
36 lines (36 loc) · 1.52 KB
/
gcs2bq.avsc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"type": "record",
"name": "AvroFile",
"fields" : [
{"name": "project_id", "type": "string"},
{"name": "bucket", "type": "string"},
{"name": "name", "type": "string"},
{"name": "content_type", "type": "string"},
{"name": "content_language", "type": "string"},
{"name": "cache_control", "type": "string"},
{"name": "event_based_hold", "type": "boolean"},
{"name": "temporary_hold", "type": "boolean"},
{"name": "retention_expiration_time", "type": "long", "logicalType": "timestamp-millis"},
{"name": "acl", "type": {
"type": "array", "items" : {"type": "map", "values": "string"}
}
},
{"name": "predefined_acl", "type": "string"},
{"name": "owner", "type": "string"},
{"name": "size", "type": "long"},
{"name": "content_encoding", "type": "string"},
{"name": "content_disposition", "type": "string"},
{"name": "md5", "type": "string"},
{"name": "crc32c", "type": "int"},
{"name": "media_link", "type": "string"},
{"name": "generation", "type": "long"},
{"name": "metageneration", "type": "long"},
{"name": "storage_class", "type": "string"},
{"name": "created", "type": ["null", "long"], "logicalType": "timestamp-millis"},
{"name": "deleted", "type": ["null", "long"], "logicalType": "timestamp-millis"},
{"name": "updated", "type": ["null", "long"], "logicalType": "timestamp-millis"},
{"name": "customer_key_sha256", "type": "string"},
{"name": "kms_key_name", "type": "string"},
{"name": "etag", "type": "string"}
]
}