Cloud PubSub V1 Client - Class PubsubWrapper (2.2.1)

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

The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage).

Generated from protobuf message google.pubsub.v1.PushConfig.PubsubWrapper

Namespace

Google \ Cloud \ PubSub \ V1 \ PushConfig

Methods

__construct

Constructor.

Parameter
Name Description
data array

Optional. Data for populating the Message object.