Update docs for 1.3.2 release.
diff --git a/docs/dyn/pubsub_v1beta1.topics.html b/docs/dyn/pubsub_v1beta1.topics.html
index 1a10346..5cb4e6e 100644
--- a/docs/dyn/pubsub_v1beta1.topics.html
+++ b/docs/dyn/pubsub_v1beta1.topics.html
@@ -72,7 +72,7 @@
</style>
-<h1><a href="pubsub_v1beta1.html">Cloud Pub/Sub API</a> . <a href="pubsub_v1beta1.topics.html">topics</a></h1>
+<h1><a href="pubsub_v1beta1.html">Google Cloud Pub/Sub API</a> . <a href="pubsub_v1beta1.topics.html">topics</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#create">create(body)</a></code></p>
@@ -92,6 +92,9 @@
<p class="toc_element">
<code><a href="#publish">publish(body)</a></code></p>
<p class="firstline">Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.</p>
+<p class="toc_element">
+ <code><a href="#publishBatch">publishBatch(body)</a></code></p>
+<p class="firstline">Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="create">create(body)</code>
@@ -102,16 +105,16 @@
The object takes the form of:
{ # A topic resource.
- "name": "A String", # Name of the topic.
- }
+ "name": "A String", # Name of the topic.
+}
Returns:
An object of the form:
{ # A topic resource.
- "name": "A String", # Name of the topic.
- }</pre>
+ "name": "A String", # Name of the topic.
+ }</pre>
</div>
<div class="method">
@@ -134,8 +137,8 @@
An object of the form:
{ # A topic resource.
- "name": "A String", # Name of the topic.
- }</pre>
+ "name": "A String", # Name of the topic.
+ }</pre>
</div>
<div class="method">
@@ -150,12 +153,12 @@
Returns:
An object of the form:
- {
+ { # Response for the ListTopics method.
"nextPageToken": "A String", # If not empty, indicates that there are more topics that match the request, and this value should be passed to the next ListTopicsRequest to continue.
"topic": [ # The resulting topics.
{ # A topic resource.
- "name": "A String", # Name of the topic.
- },
+ "name": "A String", # Name of the topic.
+ },
],
}</pre>
</div>
@@ -182,9 +185,10 @@
body: object, The request body. (required)
The object takes the form of:
-{
- "topic": "A String", # The name of the topic for which the message is being added.
+{ # Request for the Publish method.
+ "topic": "A String", # The message in the request will be published on this topic.
"message": { # A message data and its labels. # The message to publish.
+ "messageId": "A String", # ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a PubsubMessage via a Pull call or a push delivery. It must not be populated by a publisher in a Publish call.
"data": "A String", # The message payload.
"label": [ # Optional list of labels for this message. Keys in this collection must be unique.
{ # A key-value pair applied to a given object.
@@ -207,4 +211,48 @@
</pre>
</div>
+<div class="method">
+ <code class="details" id="publishBatch">publishBatch(body)</code>
+ <pre>Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # Request for the PublishBatch method.
+ "topic": "A String", # The messages in the request will be published on this topic.
+ "messages": [ # The messages to publish.
+ { # A message data and its labels.
+ "messageId": "A String", # ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a PubsubMessage via a Pull call or a push delivery. It must not be populated by a publisher in a Publish call.
+ "data": "A String", # The message payload.
+ "label": [ # Optional list of labels for this message. Keys in this collection must be unique.
+ { # A key-value pair applied to a given object.
+ "numValue": "A String", # An integer value.
+ "strValue": "A String", # A string value.
+ "key": "A String", # The key of a label is a syntactically valid URL (as per RFC 1738) with the "scheme" and initial slashes omitted and with the additional restrictions noted below. Each key should be globally unique. The "host" portion is called the "namespace" and is not necessarily resolvable to a network endpoint. Instead, the namespace indicates what system or entity defines the semantics of the label. Namespaces do not restrict the set of objects to which a label may be associated.
+ #
+ # Keys are defined by the following grammar:
+ #
+ # key = hostname "/" kpath kpath = ksegment *[ "/" ksegment ] ksegment = alphadigit | *[ alphadigit | "-" | "_" | "." ]
+ #
+ # where "hostname" and "alphadigit" are defined as in RFC 1738.
+ #
+ # Example key: spanner.google.com/universe
+ },
+ ],
+ },
+ ],
+ }
+
+
+Returns:
+ An object of the form:
+
+ { # Response for the PublishBatch method.
+ "messageIds": [ # The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
+ "A String",
+ ],
+ }</pre>
+</div>
+
</body></html>
\ No newline at end of file