Cloud PubSub V1 Client - Class CompressionAlgorithm (2.22.1)

Reference documentation and code samples for the Cloud PubSub V1 Client class CompressionAlgorithm.

The compression algorithm to use.

Protobuf type google.pubsub.v1.Compression.CompressionAlgorithm

Namespace

Google \ Cloud \ PubSub \ V1 \ Compression

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

COMPRESSION_ALGORITHM_UNSPECIFIED

Value: 0

Unspecified algorithm.

Generated from protobuf enum COMPRESSION_ALGORITHM_UNSPECIFIED = 0;

ZLIB

Value: 1

ZLIB compression.

Generated from protobuf enum ZLIB = 1;