Class PublishRequest (2.13.5)

PublishRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request for the Publish method.

Attributes

NameDescription
topic str
Required. The messages in the request will be published on this topic. Format is ``projects/{project}/topics/{topic}``.
messages Sequence[google.pubsub_v1.types.PubsubMessage]
Required. The messages to publish.

Inheritance

builtins.object > proto.message.Message > PublishRequest