Class CompressionMode (1.16.1)

CompressionMode(value)

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

Values: UNDEFINED_COMPRESSION_MODE (0): A value indicating that the enum field is not set. AUTOMATIC (165298699): Automatically uses the best compression based on the Accept-Encoding header sent by the client. DISABLED (516696700): Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients.