Reference documentation and code samples for the Compute V1 Client class CompressionMode.
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
Protobuf type google.cloud.compute.v1.BackendBucket.CompressionMode
Namespace
Google \ Cloud \ Compute \ V1 \ BackendBucketMethods
static::name
value
mixed
static::value
name
mixed
Constants
UNDEFINED_COMPRESSION_MODE
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_COMPRESSION_MODE = 0;
AUTOMATIC
Value: 165298699
Automatically uses the best compression based on the Accept-Encoding header sent by the client.
Generated from protobuf enum AUTOMATIC = 165298699;
DISABLED
Value: 516696700
Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients.
Generated from protobuf enum DISABLED = 516696700;

