Cloud PubSub V1 Client - Class SchemaView (2.5.2)

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

View of Schema object fields to be returned by GetSchema and ListSchemas.

Protobuf type google.pubsub.v1.SchemaView

Namespace

Google \ Cloud \ PubSub \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SCHEMA_VIEW_UNSPECIFIED

Value: 0

The default / unset value.

The API will default to the BASIC view.

Generated from protobuf enum SCHEMA_VIEW_UNSPECIFIED = 0;

BASIC

Value: 1

Include the name and type of the schema, but not the definition.

Generated from protobuf enum BASIC = 1;

FULL

Value: 2

Include all Schema object fields.

Generated from protobuf enum FULL = 2;