Cloud PubSub V1 Client - Class Type (2.8.1)

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

Possible schema definition types.

Protobuf type google.pubsub.v1.Schema.Type

Namespace

Google \ Cloud \ PubSub \ V1 \ Schema

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TYPE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum TYPE_UNSPECIFIED = 0;

PROTOCOL_BUFFER

Value: 1

A Protocol Buffer schema definition.

Generated from protobuf enum PROTOCOL_BUFFER = 1;

AVRO

Value: 2

An Avro schema definition.

Generated from protobuf enum AVRO = 2;