-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is gzip uploading possible through the API #751
Comments
Yes. It would look something like: var fs = require('fs');
var zlib = require('zlib');
var file = bucket.file('file.gz');
var writeStream = file.createWriteStream({
metadata: {
contentEncoding: 'gzip'
}
});
fs.createReadStream('./file')
.pipe(zlib.createGzip())
.pipe(writeStream); Using the stream implementation, it's easy to attach a GCS writable stream to any data manipulation pipeline. However, it wouldn't be a big task to support this more easily in our library. I'll let others chime in. Thanks for the question! |
Thanks stephenplusplus, that makes sense to me. I'll go ahead and close the issue. Might not be worthwhile as a feature, but perhaps a mention in the docs? Just an afterthought though :) |
How common is gzipping ? If it's something people often want to do, is there a way we could simplify this ? So that it's much less code? Ideally, uploading a .gz version of a file would be the same number of lines (with an extra config or different method call) as uploading the uncompressed version. |
It's probably common enough to make it easier. I'll send a PR. |
Source-Link: googleapis/googleapis@b0432a1 Source-Link: googleapis/googleapis-gen@18b7021 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjE4YjcwMjE0ODdjNGExZTk0MjdiNjFiMWYyMTg1YTMyYzczM2MzNDAifQ==
Source-Link: googleapis/googleapis@b0432a1 Source-Link: googleapis/googleapis-gen@18b7021 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjE4YjcwMjE0ODdjNGExZTk0MjdiNjFiMWYyMTg1YTMyYzczM2MzNDAifQ== See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com> Co-authored-by: Benjamin E. Coe <bencoe@google.com>
🤖 I have created a release *beep* *boop* --- <details><summary>admin: 4.3.1</summary> ## [4.3.1](https://github.com/googleapis/google-cloud-node/compare/admin-v4.3.0...admin-v4.3.1) (2022-12-16) ### Bug Fixes * **deps:** Update dependency google-gax to v3 ([#3626](https://github.com/googleapis/google-cloud-node/issues/3626)) ([bab338f](https://github.com/googleapis/google-cloud-node/commit/bab338f0dd566df02fb3c41ce4af17439126892e)) </details> <details><summary>data: 3.1.2</summary> ## [3.1.2](https://github.com/googleapis/google-cloud-node/compare/data-v3.1.1...data-v3.1.2) (2022-12-16) ### Bug Fixes * **deps:** Update dependency google-gax to v3 ([#3626](https://github.com/googleapis/google-cloud-node/issues/3626)) ([bab338f](https://github.com/googleapis/google-cloud-node/commit/bab338f0dd566df02fb3c41ce4af17439126892e)) * **deps:** Update dependency lint to ^0.8.0 ([#3688](https://github.com/googleapis/google-cloud-node/issues/3688)) ([84114b1](https://github.com/googleapis/google-cloud-node/commit/84114b188593b5c4d32cd409bb2e8973042505d4)) </details> <details><summary>area120-tables: 2.1.3</summary> ## [2.1.3](https://github.com/googleapis/google-cloud-node/compare/area120-tables-v2.1.2...area120-tables-v2.1.3) (2022-12-16) ### Bug Fixes * **deps:** Update dependency google-gax to v3 ([#3626](https://github.com/googleapis/google-cloud-node/issues/3626)) ([bab338f](https://github.com/googleapis/google-cloud-node/commit/bab338f0dd566df02fb3c41ce4af17439126892e)) </details> <details><summary>batch: 0.4.0</summary> ## [0.4.0](https://github.com/googleapis/google-cloud-node/compare/batch-v0.3.2...batch-v0.4.0) (2022-12-16) ### Features * Add InstancePolicy.boot_disk ([61d2740](https://github.com/googleapis/google-cloud-node/commit/61d2740dbd8489c496a55f9ea53b3040b2713e0b)) * Add InstancePolicy.boot_disk ([#3752](https://github.com/googleapis/google-cloud-node/issues/3752)) ([61d2740](https://github.com/googleapis/google-cloud-node/commit/61d2740dbd8489c496a55f9ea53b3040b2713e0b)) * Adds named reservation to InstancePolicy ([#3672](https://github.com/googleapis/google-cloud-node/issues/3672)) ([00975ce](https://github.com/googleapis/google-cloud-node/commit/00975ce0d77d16c037dcad39bcead39c39d61075)) ### Bug Fixes * Remove unsupported HTTP bindings for IAMPolicy RPCs ([61d2740](https://github.com/googleapis/google-cloud-node/commit/61d2740dbd8489c496a55f9ea53b3040b2713e0b)) * Removed unused endpoints for IAM methods ([61d2740](https://github.com/googleapis/google-cloud-node/commit/61d2740dbd8489c496a55f9ea53b3040b2713e0b)) * ServiceAccount.scopes is no longer deprecated ([61d2740](https://github.com/googleapis/google-cloud-node/commit/61d2740dbd8489c496a55f9ea53b3040b2713e0b)) </details> <details><summary>bigquery-datapolicies: 0.2.0</summary> ## [0.2.0](https://github.com/googleapis/google-cloud-node/compare/bigquery-datapolicies-v0.1.2...bigquery-datapolicies-v0.2.0) (2022-12-16) ### Features * Add bigquery datapolicies v1 API ([#3690](https://github.com/googleapis/google-cloud-node/issues/3690)) ([752036e](https://github.com/googleapis/google-cloud-node/commit/752036e6b721808c6a106145fe248282e56fc324)) </details> <details><summary>billing: 3.2.0</summary> ## [3.2.0](https://github.com/googleapis/google-cloud-node/compare/billing-v3.1.3...billing-v3.2.0) (2022-12-16) ### Features * Added Sku.geo_taxonomy ([1d12d89](https://github.com/googleapis/google-cloud-node/commit/1d12d8991b14a86bf624817102c7af10c285b7b7)) * Added Sku.geo_taxonomy ([#3637](https://github.com/googleapis/google-cloud-node/issues/3637)) ([1d12d89](https://github.com/googleapis/google-cloud-node/commit/1d12d8991b14a86bf624817102c7af10c285b7b7)) ### Bug Fixes * More oauth scopes ([1d12d89](https://github.com/googleapis/google-cloud-node/commit/1d12d8991b14a86bf624817102c7af10c285b7b7)) </details> <details><summary>channel: 2.3.0</summary> ## [2.3.0](https://github.com/googleapis/google-cloud-node/compare/channel-v2.2.0...channel-v2.3.0) (2022-12-16) ### Features * Add support for granular repricing configurations via SkuGroups in Cloud Channel Repricing APIs ([#3718](https://github.com/googleapis/google-cloud-node/issues/3718)) ([363067c](https://github.com/googleapis/google-cloud-node/commit/363067cf54df2d3fa2f6afe1bf11506eadac68e3)) ### Bug Fixes * **deps:** Update dependency google-gax to v3 ([#3626](https://github.com/googleapis/google-cloud-node/issues/3626)) ([bab338f](https://github.com/googleapis/google-cloud-node/commit/bab338f0dd566df02fb3c41ce4af17439126892e)) </details> <details><summary>compute: 3.7.0</summary> ## [3.7.0](https://github.com/googleapis/google-cloud-node/compare/compute-v3.6.0...compute-v3.7.0) (2022-12-16) ### Features * Update Compute Engine API to revision 20221101 ([#751](https://github.com/googleapis/google-cloud-node/issues/751)) ([#3673](https://github.com/googleapis/google-cloud-node/issues/3673)) ([6da677a](https://github.com/googleapis/google-cloud-node/commit/6da677aea0ebb4f4799ea3e33357a7da9e5ca3bb)) * Update Compute Engine API to revision 20221126 ([#757](https://github.com/googleapis/google-cloud-node/issues/757)) ([#3705](https://github.com/googleapis/google-cloud-node/issues/3705)) ([07dd8f6](https://github.com/googleapis/google-cloud-node/commit/07dd8f65876e6100cce257093e711f0001197424)) </details> <details><summary>contact-center-insights: 2.2.0</summary> ## [2.2.0](https://github.com/googleapis/google-cloud-node/compare/contact-center-insights-v2.1.2...contact-center-insights-v2.2.0) (2022-12-16) ### Features * Add Configurable Analysis, Bulk Upload, Bulk Analyze, Delete Issue Apis ([#3736](https://github.com/googleapis/google-cloud-node/issues/3736)) ([c7a240f](https://github.com/googleapis/google-cloud-node/commit/c7a240f1b0c8279d1ba255a0a84a568bb08f9a38)) </details> <details><summary>contentwarehouse: 0.2.0</summary> ## [0.2.0](https://github.com/googleapis/google-cloud-node/compare/contentwarehouse-v0.1.2...contentwarehouse-v0.2.0) (2022-12-16) ### Features * Added process_options field in ProcessRequest in document_processor_service.proto ([26b5dae](https://github.com/googleapis/google-cloud-node/commit/26b5daec8851edc199f0b85791da722c6d60510f)) * Added sample_document_uris field in ProcessorType in processor_type.proto ([26b5dae](https://github.com/googleapis/google-cloud-node/commit/26b5daec8851edc199f0b85791da722c6d60510f)) * Added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto ([#3735](https://github.com/googleapis/google-cloud-node/issues/3735)) ([1b3b2b2](https://github.com/googleapis/google-cloud-node/commit/1b3b2b2258b7967c0d5fcf4cb009fc0821d7b862)) * Added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto ([#3751](https://github.com/googleapis/google-cloud-node/issues/3751)) ([26b5dae](https://github.com/googleapis/google-cloud-node/commit/26b5daec8851edc199f0b85791da722c6d60510f)) </details> <details><summary>dataproc: 4.2.0</summary> ## [4.2.0](https://github.com/googleapis/google-cloud-node/compare/dataproc-v4.1.1...dataproc-v4.2.0) (2022-12-16) ### Features * Added node groups API protos ([#3724](https://github.com/googleapis/google-cloud-node/issues/3724)) ([9db90e8](https://github.com/googleapis/google-cloud-node/commit/9db90e825e929187a0f9c2347f5380c038243dd4)) </details> <details><summary>dialogflow: 5.4.0</summary> ## [5.4.0](https://github.com/googleapis/google-cloud-node/compare/dialogflow-v5.3.0...dialogflow-v5.4.0) (2022-12-16) ### Features * Added cx_current_page field to AutomatedAgentReply ([#3671](https://github.com/googleapis/google-cloud-node/issues/3671)) ([47e23e4](https://github.com/googleapis/google-cloud-node/commit/47e23e44af8a2e190dfe259ef50442dd1775cd81)) </details> <details><summary>documentai: 6.2.0</summary> ## [6.2.0](https://github.com/googleapis/google-cloud-node/compare/documentai-v6.1.0...documentai-v6.2.0) (2022-12-16) ### Features * Added process_options field in ProcessRequest in document_processor_service.proto ([f9fc947](https://github.com/googleapis/google-cloud-node/commit/f9fc947d95179d22d17e0ca722b9cfbcab4699dc)) * Added process_options field in ProcessRequest in document_processor_service.proto ([f9fc947](https://github.com/googleapis/google-cloud-node/commit/f9fc947d95179d22d17e0ca722b9cfbcab4699dc)) * Added sample_document_uris field in ProcessorType in processor_type.proto ([f9fc947](https://github.com/googleapis/google-cloud-node/commit/f9fc947d95179d22d17e0ca722b9cfbcab4699dc)) * Added sample_document_uris field in ProcessorType in processor_type.proto ([f9fc947](https://github.com/googleapis/google-cloud-node/commit/f9fc947d95179d22d17e0ca722b9cfbcab4699dc)) * Added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto ([f9fc947](https://github.com/googleapis/google-cloud-node/commit/f9fc947d95179d22d17e0ca722b9cfbcab4699dc)) * Added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto ([19e9aed](https://github.com/googleapis/google-cloud-node/commit/19e9aedfddebc4319993fc1d3fba4030f436d38c)) * Added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto ([#3734](https://github.com/googleapis/google-cloud-node/issues/3734)) ([19e9aed](https://github.com/googleapis/google-cloud-node/commit/19e9aedfddebc4319993fc1d3fba4030f436d38c)) * Added sharding_config field in DocumentOutputConfig.GcsOutputConfig in document_io.proto ([#3750](https://github.com/googleapis/google-cloud-node/issues/3750)) ([f9fc947](https://github.com/googleapis/google-cloud-node/commit/f9fc947d95179d22d17e0ca722b9cfbcab4699dc)) * Added TrainProcessorVersion, EvaluateProcessorVersion, GetEvaluation, and ListEvaluations v1beta3 APIs ([#3632](https://github.com/googleapis/google-cloud-node/issues/3632)) ([999b3d0](https://github.com/googleapis/google-cloud-node/commit/999b3d085c4579a62e1b690ea7583545a6074742)) ### Bug Fixes * **deps:** Update dependency p-queue to v7 ([#3628](https://github.com/googleapis/google-cloud-node/issues/3628)) ([e043637](https://github.com/googleapis/google-cloud-node/commit/e043637de795b86038dc6d01d9d6402e1f187b04)) </details> <details><summary>kms: 3.2.0</summary> ## [3.2.0](https://github.com/googleapis/google-cloud-node/compare/kms-v3.1.0...kms-v3.2.0) (2022-12-16) ### Features * Add SHA-2 import methods ([#3678](https://github.com/googleapis/google-cloud-node/issues/3678)) ([2bdc13c](https://github.com/googleapis/google-cloud-node/commit/2bdc13c92d6818a3a7eb51209a4dbff321855bc6)) </details> <details><summary>life-sciences: 2.2.0</summary> ## [2.2.0](https://github.com/googleapis/google-cloud-node/compare/life-sciences-v2.1.2...life-sciences-v2.2.0) (2022-12-16) ### Features * Add Pipeline.secret_environment, Action.secret_environment, VirtualMachine.reservation ([cafa199](https://github.com/googleapis/google-cloud-node/commit/cafa199c4cee3c8bce6642c0624df2a6e47b7509)) * Add Pipeline.secret_environment, Action.secret_environment, VirtualMachine.reservation ([#3634](https://github.com/googleapis/google-cloud-node/issues/3634)) ([cafa199](https://github.com/googleapis/google-cloud-node/commit/cafa199c4cee3c8bce6642c0624df2a6e47b7509)) </details> <details><summary>memcache: 2.2.0</summary> ## [2.2.0](https://github.com/googleapis/google-cloud-node/compare/memcache-v2.1.4...memcache-v2.2.0) (2022-12-16) ### Features * Maintenance schedules ([b47ea92](https://github.com/googleapis/google-cloud-node/commit/b47ea92defd8dd657e1c1e66b3a1afbedf85c3a9)) </details> <details><summary>dataproc-metastore: 3.2.0</summary> ## [3.2.0](https://github.com/googleapis/google-cloud-node/compare/dataproc-metastore-v3.1.2...dataproc-metastore-v3.2.0) (2022-12-16) ### Features * Added federation API ([#3681](https://github.com/googleapis/google-cloud-node/issues/3681)) ([6b2c4d1](https://github.com/googleapis/google-cloud-node/commit/6b2c4d101d966abc017c02fa7777227faa4698ef)) </details> <details><summary>orchestration-airflow: 2.2.0</summary> ## [2.2.0](https://github.com/googleapis/google-cloud-node/compare/orchestration-airflow-v2.1.2...orchestration-airflow-v2.2.0) (2022-12-16) ### Features * Added LoadSnapshot, SaveSnapshot RPCs ([#3692](https://github.com/googleapis/google-cloud-node/issues/3692)) ([c211c31](https://github.com/googleapis/google-cloud-node/commit/c211c3180be88d18d363d420a2d4354eebe5ef6a)) </details> <details><summary>os-login: 4.1.0</summary> ## [4.1.0](https://github.com/googleapis/google-cloud-node/compare/os-login-v4.0.4...os-login-v4.1.0) (2022-12-16) ### Features * Added CreateSshPublicKey RPC ([0489224](https://github.com/googleapis/google-cloud-node/commit/0489224d93a63c73d1a80c102f118786e6aabd07)) * Added CreateSshPublicKey RPC ([#3635](https://github.com/googleapis/google-cloud-node/issues/3635)) ([0489224](https://github.com/googleapis/google-cloud-node/commit/0489224d93a63c73d1a80c102f118786e6aabd07)) </details> <details><summary>recaptcha-enterprise: 3.2.0</summary> ## [3.2.0](https://github.com/googleapis/google-cloud-node/compare/recaptcha-enterprise-v3.1.1...recaptcha-enterprise-v3.2.0) (2022-12-16) ### Features * Add account_verification field to Assessment for MFA ([#3709](https://github.com/googleapis/google-cloud-node/issues/3709)) ([54a540d](https://github.com/googleapis/google-cloud-node/commit/54a540d06e982dc09f63673fd7e0a04ddcfc95e1)) </details> <details><summary>retail: 2.2.0</summary> ## [2.2.0](https://github.com/googleapis/google-cloud-node/compare/retail-v2.1.1...retail-v2.2.0) (2022-12-16) ### Features * Support async write mode for WriteUserEvent API ([#3755](https://github.com/googleapis/google-cloud-node/issues/3755)) ([83600d1](https://github.com/googleapis/google-cloud-node/commit/83600d1533c9497bc6a7bf6ebe44acd04a3bd7dc)) * Support async write mode for WriteUserEvent API ([#3770](https://github.com/googleapis/google-cloud-node/issues/3770)) ([d18b703](https://github.com/googleapis/google-cloud-node/commit/d18b703515fbb1fc867af4d4562ecfc0929505c2)) </details> <details><summary>scheduler: 3.1.0</summary> ## [3.1.0](https://github.com/googleapis/google-cloud-node/compare/scheduler-v3.0.5...scheduler-v3.1.0) (2022-12-16) ### Features * Updated Client Libraries for Cloud Scheduler ([#3738](https://github.com/googleapis/google-cloud-node/issues/3738)) ([fb1e9d6](https://github.com/googleapis/google-cloud-node/commit/fb1e9d6d4ddd0084ee0850bfb16ffc169b8d47a5)) </details> <details><summary>security-center: 7.1.0</summary> ## [7.1.0](https://github.com/googleapis/google-cloud-node/compare/security-center-v7.0.0...security-center-v7.1.0) (2022-12-16) ### Features * Add kernel_rootkit field to finding's list of attributes ([#3699](https://github.com/googleapis/google-cloud-node/issues/3699)) ([693d417](https://github.com/googleapis/google-cloud-node/commit/693d417cc329728350d5d6ce74abf62b8783dacc)) * Add user_name field to the finding access ([#3743](https://github.com/googleapis/google-cloud-node/issues/3743)) ([53f9922](https://github.com/googleapis/google-cloud-node/commit/53f9922e177f052a7cc5b07cb3c1c338623b0f6d)) </details> <details><summary>service-directory: 4.0.5</summary> ## [4.0.5](https://github.com/googleapis/google-cloud-node/compare/service-directory-v4.0.4...service-directory-v4.0.5) (2022-12-16) ### Bug Fixes * **deps:** Update dependency eslint to v8 ([#3625](https://github.com/googleapis/google-cloud-node/issues/3625)) ([e117ac7](https://github.com/googleapis/google-cloud-node/commit/e117ac7703d97fe41e26691da0eadfdb8d5e3717)) </details> <details><summary>text-to-speech: 4.1.0</summary> ## [4.1.0](https://github.com/googleapis/google-cloud-node/compare/text-to-speech-v4.0.4...text-to-speech-v4.1.0) (2022-12-16) ### Features * Add LRS API ([#3702](https://github.com/googleapis/google-cloud-node/issues/3702)) ([21dce32](https://github.com/googleapis/google-cloud-node/commit/21dce32efc1afd7260a3fedd151d409e356e7738)) * Add LRS API ([#3706](https://github.com/googleapis/google-cloud-node/issues/3706)) ([755fd8a](https://github.com/googleapis/google-cloud-node/commit/755fd8ac98274c65c8972cd73f2869659677bc72)) </details> <details><summary>tpu: 2.3.0</summary> ## [2.3.0](https://github.com/googleapis/google-cloud-node/compare/tpu-v2.2.0...tpu-v2.3.0) (2022-12-16) ### Features * Publishing TPU v2 API ([#3701](https://github.com/googleapis/google-cloud-node/issues/3701)) ([4fae12f](https://github.com/googleapis/google-cloud-node/commit/4fae12f3723200d0dce367781a93fdae53237aeb)) </details> <details><summary>translate: 7.0.5</summary> ## [7.0.5](https://github.com/googleapis/google-cloud-node/compare/translate-v7.0.4...translate-v7.0.5) (2022-12-16) ### Bug Fixes * **deps:** Update dependency @google-cloud/promisify to v3 ([#3604](https://github.com/googleapis/google-cloud-node/issues/3604)) ([e8a35f3](https://github.com/googleapis/google-cloud-node/commit/e8a35f36f7956550aea8b29ff15d37ed52fa7ac0)) </details> <details><summary>video-transcoder: 2.3.0</summary> ## [2.3.0](https://github.com/googleapis/google-cloud-node/compare/video-transcoder-v2.2.3...video-transcoder-v2.3.0) (2022-12-16) ### Features * Add PreprocessingConfig.deinterlace ([#3664](https://github.com/googleapis/google-cloud-node/issues/3664)) ([a63a526](https://github.com/googleapis/google-cloud-node/commit/a63a526fbeb51a352068b90b0be68f8e1bad9e44)) </details> <details><summary>container: 4.5.0</summary> ## [4.5.0](https://github.com/googleapis/google-cloud-node/compare/container-v4.4.0...container-v4.5.0) (2022-12-16) ### Features * Add a FastSocket API ([b907f45](https://github.com/googleapis/google-cloud-node/commit/b907f4559965bdfc7b38388671ab2cb32b48a35d)) * Add a FastSocket API ([b907f45](https://github.com/googleapis/google-cloud-node/commit/b907f4559965bdfc7b38388671ab2cb32b48a35d)) * Add compact placement feature for node pools ([b907f45](https://github.com/googleapis/google-cloud-node/commit/b907f4559965bdfc7b38388671ab2cb32b48a35d)) * Add compact placement feature for node pools ([#3636](https://github.com/googleapis/google-cloud-node/issues/3636)) ([b907f45](https://github.com/googleapis/google-cloud-node/commit/b907f4559965bdfc7b38388671ab2cb32b48a35d)) * Add support for specifying stack type for clusters. This will allow clusters to be created as dual stack or toggled between IPV4 and dual stack ([#3754](https://github.com/googleapis/google-cloud-node/issues/3754)) ([283d098](https://github.com/googleapis/google-cloud-node/commit/283d098d0cc66663d19568f95ea8f35d8385cd3e)) </details> <details><summary>addressvalidation: 1.0.0</summary> ## [1.0.0](https://github.com/googleapis/google-cloud-node/compare/addressvalidation-v0.1.0...addressvalidation-v1.0.0) (2022-12-16) ### ⚠ BREAKING CHANGES * remove deprecated fields `highrise` and `multi_family` ### Features * Remove deprecated fields `highrise` and `multi_family` ([bbaa0c0](https://github.com/googleapis/google-cloud-node/commit/bbaa0c03aa7d8621d3861a3c434f19d83f616b2f)) </details> <details><summary>typeless-sample-bot: 1.2.0</summary> ## [1.2.0](https://github.com/googleapis/google-cloud-node/compare/typeless-sample-bot-v1.1.0...typeless-sample-bot-v1.2.0) (2022-12-16) ### Features * Add comments about generation and 'use strict' to transformed samples ([#3696](https://github.com/googleapis/google-cloud-node/issues/3696)) ([db012f5](https://github.com/googleapis/google-cloud-node/commit/db012f5c356d858243a391d6eaac0c9b0a508e83)) * Add downconversion from ?? to || ([#3722](https://github.com/googleapis/google-cloud-node/issues/3722)) ([4a0a105](https://github.com/googleapis/google-cloud-node/commit/4a0a10569ee80485b3d5a2fdcd8975fbd998c336)) ### Bug Fixes * **deps:** Update dependency recast to ^0.22.0 ([#3745](https://github.com/googleapis/google-cloud-node/issues/3745)) ([a9f6b83](https://github.com/googleapis/google-cloud-node/commit/a9f6b836b3f56602e5c18b1b5bce812507262f7c)) </details> <details><summary>vmwareengine: 0.1.0</summary> ## 0.1.0 (2022-12-16) ### Features * Add initial files for google.cloud.vmwareengine.v1 ([#3765](https://github.com/googleapis/google-cloud-node/issues/3765)) ([d5ba1b4](https://github.com/googleapis/google-cloud-node/commit/d5ba1b4a25f32e7013473d4248e337da37651f45)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Hi guys
I have been reading the documentation and from what I understand there is functionality to gzip uploaded files to storage - or at least the functionality exists through the gsutil.
"Note also that gsutil provides an easy way to cause content to be compressed and stored with Content-Encoding: gzip: see the -z option"
Is this currently possible through the node API? I have not seen it mentioned in the docs or code comments. If not, does this mean we have to gzip the files ourselves and then upload it with gzip meta data?
The text was updated successfully, but these errors were encountered: