Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::BackendService::CompressionMode (v2.6.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::BackendService::CompressionMode.

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.

Constants

UNDEFINED_COMPRESSION_MODE

value: 0
A value indicating that the enum field is not set.

AUTOMATIC

value: 165_298_699
Automatically uses the best compression based on the Accept-Encoding header sent by the client.

DISABLED

value: 516_696_700
Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients.