compressionMode property

String? compressionMode
getter/setter pair

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

  • "AUTOMATIC" : Automatically uses the best compression based on the Accept-Encoding header sent by the client.
  • "DISABLED" : Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients.

Implementation

core.String? compressionMode;