Interface SchemaMessageMetadata

Schema metadata that might be gathered from a Pub/Sub message. This is created for you from .

Package

@google-cloud/pubsub

Properties

encoding

encoding: SchemaEncoding | undefined;

Encoding; this will be Encodings.Json or Encodings.Binary.

Property Value
TypeDescription
SchemaEncoding | undefined

name

name?: string;

Schema name; may be queried using .

Property Value
TypeDescription
string