Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::DynamicCompressionPolicy (v4.4.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::DynamicCompressionPolicy.

Dynamic compression policy for this URL Map's route.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#compression_mode

def compression_mode() -> ::String
Returns
  • (::String) — Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.

#compression_mode=

def compression_mode=(value) -> ::String
Parameter
  • value (::String) — Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.
Returns
  • (::String) — Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.