Class PublishRequest (2.39.0)
Stay organized with collections
Save and categorize content based on your preferences.
PublishRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Request for the Publish method.
Attributes |
| Name |
Description |
topic
:noindex: |
str
Required. The messages in the request will be published on
this topic. Format is projects/{project}/topics/{topic}.
|
messages
:noindex: |
MutableSequence[google.pubsub_v1.types.PubsubMessage]
Required. The messages to publish.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-03 UTC.
[null,null,["Last updated 2026-06-03 UTC."],[],[]]