|
1274 | 1274 | - "overwrite"
|
1275 | 1275 | - "append"
|
1276 | 1276 | supportsNamespaces: true
|
1277 |
| -- dockerImage: "airbyte/destination-gcs:0.2.0" |
| 1277 | +- dockerImage: "airbyte/destination-gcs:0.2.1" |
1278 | 1278 | spec:
|
1279 | 1279 | documentationUrl: "https://docs.airbyte.io/integrations/destinations/gcs"
|
1280 | 1280 | connectionSpecification:
|
|
1284 | 1284 | required:
|
1285 | 1285 | - "gcs_bucket_name"
|
1286 | 1286 | - "gcs_bucket_path"
|
1287 |
| - - "gcs_bucket_region" |
1288 | 1287 | - "credential"
|
1289 | 1288 | - "format"
|
1290 | 1289 | additionalProperties: false
|
1291 | 1290 | properties:
|
1292 | 1291 | gcs_bucket_name:
|
1293 | 1292 | title: "GCS Bucket Name"
|
| 1293 | + order: 1 |
1294 | 1294 | type: "string"
|
1295 |
| - description: "You can find the bucket name in the App Engine Admin console\ |
1296 |
| - \ Application Settings page, under the label Google Cloud Storage Bucket." |
| 1295 | + description: "You can find the bucket name in the App Engine Admin console\ |
| 1296 | + \ Application Settings page, under the label Google Cloud Storage Bucket.\ |
| 1297 | + \ Read more <a href=\"https://cloud.google.com/storage/docs/naming-buckets\"\ |
| 1298 | + >here</a>." |
1297 | 1299 | examples:
|
1298 | 1300 | - "airbyte_sync"
|
1299 | 1301 | gcs_bucket_path:
|
| 1302 | + title: "GCS Bucket Path" |
1300 | 1303 | description: "GCS Bucket Path string Subdirectory under the above bucket\
|
1301 | 1304 | \ to sync the data into."
|
| 1305 | + order: 2 |
1302 | 1306 | type: "string"
|
1303 | 1307 | examples:
|
1304 | 1308 | - "data_sync/test"
|
1305 | 1309 | gcs_bucket_region:
|
1306 |
| - title: "GCS Bucket Region" |
| 1310 | + title: "GCS Bucket Region (Optional)" |
1307 | 1311 | type: "string"
|
1308 |
| - default: "" |
1309 |
| - description: "Select a Region of the GCS Bucket." |
| 1312 | + order: 3 |
| 1313 | + default: "us" |
| 1314 | + description: "Select a Region of the GCS Bucket. Read more <a href=\"https://cloud.google.com/storage/docs/locations\"\ |
| 1315 | + >here</a>." |
1310 | 1316 | enum:
|
1311 |
| - - "" |
1312 |
| - - "-- North America --" |
1313 | 1317 | - "northamerica-northeast1"
|
1314 | 1318 | - "northamerica-northeast2"
|
1315 | 1319 | - "us-central1"
|
|
1319 | 1323 | - "us-west2"
|
1320 | 1324 | - "us-west3"
|
1321 | 1325 | - "us-west4"
|
1322 |
| - - "-- South America --" |
1323 | 1326 | - "southamerica-east1"
|
1324 | 1327 | - "southamerica-west1"
|
1325 |
| - - "-- Europe --" |
1326 | 1328 | - "europe-central2"
|
1327 | 1329 | - "europe-north1"
|
1328 | 1330 | - "europe-west1"
|
1329 | 1331 | - "europe-west2"
|
1330 | 1332 | - "europe-west3"
|
1331 | 1333 | - "europe-west4"
|
1332 | 1334 | - "europe-west6"
|
1333 |
| - - "-- Asia --" |
1334 | 1335 | - "asia-east1"
|
1335 | 1336 | - "asia-east2"
|
1336 | 1337 | - "asia-northeast1"
|
|
1340 | 1341 | - "asia-south2"
|
1341 | 1342 | - "asia-southeast1"
|
1342 | 1343 | - "asia-southeast2"
|
1343 |
| - - "-- Australia --" |
1344 | 1344 | - "australia-southeast1"
|
1345 | 1345 | - "australia-southeast2"
|
1346 |
| - - "-- Multi-regions --" |
1347 | 1346 | - "asia"
|
1348 | 1347 | - "eu"
|
1349 | 1348 | - "us"
|
1350 |
| - - "-- Dual-regions --" |
1351 | 1349 | - "asia1"
|
1352 | 1350 | - "eur4"
|
1353 | 1351 | - "nam4"
|
1354 | 1352 | credential:
|
1355 |
| - title: "Credential" |
| 1353 | + title: "Authentication" |
| 1354 | + description: "An HMAC key is a type of credential and can be associated\ |
| 1355 | + \ with a service account or a user account in Cloud Storage. Read more\ |
| 1356 | + \ <a href=\"https://cloud.google.com/storage/docs/authentication/hmackeys\"\ |
| 1357 | + >here</a>." |
1356 | 1358 | type: "object"
|
| 1359 | + order: 0 |
1357 | 1360 | oneOf:
|
1358 | 1361 | - title: "HMAC Key"
|
1359 | 1362 | required:
|
|
1368 | 1371 | default: "HMAC_KEY"
|
1369 | 1372 | hmac_key_access_id:
|
1370 | 1373 | type: "string"
|
1371 |
| - description: "HMAC key access ID. When linked to a service account,\ |
1372 |
| - \ this ID is 61 characters long; when linked to a user account,\ |
1373 |
| - \ it is 24 characters long." |
1374 |
| - title: "HMAC Key Access ID" |
| 1374 | + description: "When linked to a service account, this ID is 61 characters\ |
| 1375 | + \ long; when linked to a user account, it is 24 characters long.\ |
| 1376 | + \ Read more <a href=\"https://cloud.google.com/storage/docs/authentication/hmackeys#overview\"\ |
| 1377 | + >here</a>." |
| 1378 | + title: "Access ID" |
1375 | 1379 | airbyte_secret: true
|
| 1380 | + order: 0 |
1376 | 1381 | examples:
|
1377 | 1382 | - "1234567890abcdefghij1234"
|
1378 | 1383 | hmac_key_secret:
|
1379 | 1384 | type: "string"
|
1380 | 1385 | description: "The corresponding secret for the access ID. It is a\
|
1381 |
| - \ 40-character base-64 encoded string." |
1382 |
| - title: "HMAC Key Secret" |
| 1386 | + \ 40-character base-64 encoded string. Read more <a href=\"https://cloud.google.com/storage/docs/authentication/hmackeys#secrets\"\ |
| 1387 | + >here</a>." |
| 1388 | + title: "Secret" |
1383 | 1389 | airbyte_secret: true
|
| 1390 | + order: 1 |
1384 | 1391 | examples:
|
1385 | 1392 | - "1234567890abcdefghij1234567890ABCDEFGHIJ"
|
1386 | 1393 | format:
|
1387 | 1394 | title: "Output Format"
|
1388 | 1395 | type: "object"
|
1389 |
| - description: "Output data format" |
| 1396 | + description: "Output data format. One of the following formats must be selected\ |
| 1397 | + \ - <a href=\"https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-avro#advantages_of_avro\"\ |
| 1398 | + >AVRO</a> format, <a href=\"https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-parquet#parquet_schemas\"\ |
| 1399 | + >PARQUET</a> format, <a href=\"https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-csv#loading_csv_data_into_a_table\"\ |
| 1400 | + >CSV</a> format, or <a href=\"https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-json#loading_json_data_into_a_new_table\"\ |
| 1401 | + >JSONL</a> format." |
| 1402 | + order: 4 |
1390 | 1403 | oneOf:
|
1391 | 1404 | - title: "Avro: Apache Avro"
|
1392 | 1405 | required:
|
|
1416 | 1429 | - title: "Deflate"
|
1417 | 1430 | required:
|
1418 | 1431 | - "codec"
|
1419 |
| - - "compression_level" |
1420 | 1432 | properties:
|
1421 | 1433 | codec:
|
1422 | 1434 | type: "string"
|
1423 | 1435 | enum:
|
1424 | 1436 | - "Deflate"
|
1425 | 1437 | default: "Deflate"
|
1426 | 1438 | compression_level:
|
1427 |
| - title: "Deflate level" |
| 1439 | + title: "Deflate level (Optional)" |
1428 | 1440 | description: "0: no compression & fastest, 9: best compression\
|
1429 | 1441 | \ & slowest."
|
1430 | 1442 | type: "integer"
|
|
1443 | 1455 | - title: "xz"
|
1444 | 1456 | required:
|
1445 | 1457 | - "codec"
|
1446 |
| - - "compression_level" |
1447 | 1458 | properties:
|
1448 | 1459 | codec:
|
1449 | 1460 | type: "string"
|
1450 | 1461 | enum:
|
1451 | 1462 | - "xz"
|
1452 | 1463 | default: "xz"
|
1453 | 1464 | compression_level:
|
1454 |
| - title: "Compression Level" |
1455 |
| - description: "See <a href=\"https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/xz/XZCompressorOutputStream.html#XZCompressorOutputStream-java.io.OutputStream-int-\"\ |
| 1465 | + title: "Compression Level (Optional)" |
| 1466 | + description: "The presets 0-3 are fast presets with medium compression.\ |
| 1467 | + \ The presets 4-6 are fairly slow presets with high compression.\ |
| 1468 | + \ The default preset is 6. The presets 7-9 are like the preset\ |
| 1469 | + \ 6 but use bigger dictionaries and have higher compressor\ |
| 1470 | + \ and decompressor memory requirements. Unless the uncompressed\ |
| 1471 | + \ size of the file exceeds 8 MiB, 16 MiB, or 32 MiB, it is\ |
| 1472 | + \ waste of memory to use the presets 7, 8, or 9, respectively.\ |
| 1473 | + \ Read more <a href=\"https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/xz/XZCompressorOutputStream.html#XZCompressorOutputStream-java.io.OutputStream-int-\"\ |
1456 | 1474 | >here</a> for details."
|
1457 | 1475 | type: "integer"
|
1458 | 1476 | default: 6
|
|
1461 | 1479 | - title: "zstandard"
|
1462 | 1480 | required:
|
1463 | 1481 | - "codec"
|
1464 |
| - - "compression_level" |
1465 | 1482 | properties:
|
1466 | 1483 | codec:
|
1467 | 1484 | type: "string"
|
1468 | 1485 | enum:
|
1469 | 1486 | - "zstandard"
|
1470 | 1487 | default: "zstandard"
|
1471 | 1488 | compression_level:
|
1472 |
| - title: "Compression Level" |
| 1489 | + title: "Compression Level (Optional)" |
1473 | 1490 | description: "Negative levels are 'fast' modes akin to lz4 or\
|
1474 | 1491 | \ snappy, levels above 9 are generally for archival purposes,\
|
1475 | 1492 | \ and levels above 18 use a lot of memory."
|
|
1478 | 1495 | minimum: -5
|
1479 | 1496 | maximum: 22
|
1480 | 1497 | include_checksum:
|
1481 |
| - title: "Include Checksum" |
| 1498 | + title: "Include Checksum (Optional)" |
1482 | 1499 | description: "If true, include a checksum with each data block."
|
1483 | 1500 | type: "boolean"
|
1484 | 1501 | default: false
|
|
1492 | 1509 | - "snappy"
|
1493 | 1510 | default: "snappy"
|
1494 | 1511 | part_size_mb:
|
1495 |
| - title: "Block Size (MB) for GCS multipart upload" |
| 1512 | + title: "Block Size (MB) for GCS multipart upload (Optional)" |
1496 | 1513 | description: "This is the size of a \"Part\" being buffered in memory.\
|
1497 | 1514 | \ It limits the memory usage when writing. Larger values will allow\
|
1498 | 1515 | \ to upload a bigger files and improve the speed, but consumes9\
|
|
1504 | 1521 | - title: "CSV: Comma-Separated Values"
|
1505 | 1522 | required:
|
1506 | 1523 | - "format_type"
|
1507 |
| - - "flattening" |
1508 | 1524 | properties:
|
1509 | 1525 | format_type:
|
1510 | 1526 | type: "string"
|
|
1513 | 1529 | default: "CSV"
|
1514 | 1530 | flattening:
|
1515 | 1531 | type: "string"
|
1516 |
| - title: "Normalization (Flattening)" |
1517 |
| - description: "Whether the input json data should be normalized (flattened)\ |
| 1532 | + title: "Normalization (Optional)" |
| 1533 | + description: "Whether the input JSON data should be normalized (flattened)\ |
1518 | 1534 | \ in the output CSV. Please refer to docs for details."
|
1519 | 1535 | default: "No flattening"
|
1520 | 1536 | enum:
|
1521 | 1537 | - "No flattening"
|
1522 | 1538 | - "Root level flattening"
|
1523 | 1539 | part_size_mb:
|
1524 |
| - title: "Block Size (MB) for GCS multipart upload" |
| 1540 | + title: "Block Size (MB) for GCS multipart upload (Optional)" |
1525 | 1541 | description: "This is the size of a \"Part\" being buffered in memory.\
|
1526 | 1542 | \ It limits the memory usage when writing. Larger values will allow\
|
1527 | 1543 | \ to upload a bigger files and improve the speed, but consumes9\
|
|
1540 | 1556 | - "JSONL"
|
1541 | 1557 | default: "JSONL"
|
1542 | 1558 | part_size_mb:
|
1543 |
| - title: "Block Size (MB) for GCS multipart upload" |
| 1559 | + title: "Block Size (MB) for GCS multipart upload (Optional)" |
1544 | 1560 | description: "This is the size of a \"Part\" being buffered in memory.\
|
1545 | 1561 | \ It limits the memory usage when writing. Larger values will allow\
|
1546 | 1562 | \ to upload a bigger files and improve the speed, but consumes9\
|
|
1559 | 1575 | - "Parquet"
|
1560 | 1576 | default: "Parquet"
|
1561 | 1577 | compression_codec:
|
1562 |
| - title: "Compression Codec" |
| 1578 | + title: "Compression Codec (Optional)" |
1563 | 1579 | description: "The compression algorithm used to compress data pages."
|
1564 | 1580 | type: "string"
|
| 1581 | + default: "UNCOMPRESSED" |
1565 | 1582 | enum:
|
1566 | 1583 | - "UNCOMPRESSED"
|
1567 | 1584 | - "SNAPPY"
|
|
1570 | 1587 | - "BROTLI"
|
1571 | 1588 | - "LZ4"
|
1572 | 1589 | - "ZSTD"
|
1573 |
| - default: "UNCOMPRESSED" |
1574 | 1590 | block_size_mb:
|
1575 |
| - title: "Block Size (Row Group Size) (MB)" |
| 1591 | + title: "Block Size (Row Group Size) (MB) (Optional)" |
1576 | 1592 | description: "This is the size of a row group being buffered in memory.\
|
1577 | 1593 | \ It limits the memory usage when writing. Larger values will improve\
|
1578 | 1594 | \ the IO when reading, but consume more memory when writing. Default:\
|
|
1582 | 1598 | examples:
|
1583 | 1599 | - 128
|
1584 | 1600 | max_padding_size_mb:
|
1585 |
| - title: "Max Padding Size (MB)" |
| 1601 | + title: "Max Padding Size (MB) (Optional)" |
1586 | 1602 | description: "Maximum size allowed as padding to align row groups.\
|
1587 | 1603 | \ This is also the minimum size of a row group. Default: 8 MB."
|
1588 | 1604 | type: "integer"
|
1589 | 1605 | default: 8
|
1590 | 1606 | examples:
|
1591 | 1607 | - 8
|
1592 | 1608 | page_size_kb:
|
1593 |
| - title: "Page Size (KB)" |
| 1609 | + title: "Page Size (KB) (Optional)" |
1594 | 1610 | description: "The page size is for compression. A block is composed\
|
1595 | 1611 | \ of pages. A page is the smallest unit that must be read fully\
|
1596 | 1612 | \ to access a single record. If this value is too small, the compression\
|
|
1600 | 1616 | examples:
|
1601 | 1617 | - 1024
|
1602 | 1618 | dictionary_page_size_kb:
|
1603 |
| - title: "Dictionary Page Size (KB)" |
| 1619 | + title: "Dictionary Page Size (KB) (Optional)" |
1604 | 1620 | description: "There is one dictionary page per column per row group\
|
1605 | 1621 | \ when dictionary encoding is used. The dictionary page size works\
|
1606 | 1622 | \ like the page size but for dictionary. Default: 1024 KB."
|
|
1609 | 1625 | examples:
|
1610 | 1626 | - 1024
|
1611 | 1627 | dictionary_encoding:
|
1612 |
| - title: "Dictionary Encoding" |
| 1628 | + title: "Dictionary Encoding (Optional)" |
1613 | 1629 | description: "Default: true."
|
1614 | 1630 | type: "boolean"
|
1615 | 1631 | default: true
|
|
0 commit comments