Cloud PubSub V1 Client - Class Type (1.40.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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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;