Cloud PubSub V1 Client - Class Type (1.47.0)

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
NameDescription
value mixed

static::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;