RegionBackendServiceCompressionMode

enum RegionBackendServiceCompressionMode : Enum<RegionBackendServiceCompressionMode> , ConvertibleToJava<RegionBackendServiceCompressionMode>

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

Entries

Link copied to clipboard

Automatically uses the best compression based on the Accept-Encoding header sent by the client.

Link copied to clipboard

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

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): RegionBackendServiceCompressionMode
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: RegionBackendServiceCompressionMode
Link copied to clipboard
Link copied to clipboard