Skip to content

Commit b7d02a9

Browse files
Merge pull request #1014 from data-integrations/google-cloud-local
[PLUGIN-957] Update GCS Multi File Sink doc for Content Type and Custom Content Type
2 parents a3b3c74 + 7867336 commit b7d02a9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/GCSMultiFiles-batchsink.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,23 @@ The delimiter will be ignored if the format is anything other than 'delimited'.
6666
If the bucket already exists, this is ignored. More information can be found
6767
[here](https://cloud.google.com/data-fusion/docs/how-to/customer-managed-encryption-keys)
6868

69+
**Content Type:** The Content Type entity is used to indicate the media type of the resource.
70+
Defaults to 'application/octet-stream'. The following table shows valid content types for each format.
71+
72+
| Format type | Content type |
73+
|---------------|--------------------------------------------------------------------------------------------|
74+
| avro | application/avro, application/octet-stream |
75+
| csv | text/csv, application/csv, text/plain, application/octet-stream |
76+
| delimited | text/csv, application/csv, text/tab-separated-values, text/plain, application/octet-stream |
77+
| json | application/json, text/plain, application/octet-stream |
78+
| orc | application/octet-stream |
79+
| parquet | application/octet-stream |
80+
| tsv | text/tab-separated-values, text/plain, application/octet-stream |
81+
82+
**Custom Content Type:** The Custom Content Type is used when the value of Content-Type is set to other.
83+
User can provide specific Content-Type, different from the options in the dropdown.
84+
More information about the Content-Type can be found [here](https://cloud.google.com/storage/docs/metadata).
85+
6986
**Service Account** - service account key used for authorization
7087

7188
* **File Path**: Path on the local file system of the service account key used for

0 commit comments

Comments
 (0)