Skip to content

Commit 21efe10

Browse files
feat(pubsublite): update the api
#### pubsublite:v1 The following keys were added: - resources.admin.resources.projects.resources.locations.resources.subscriptions.methods.create.parameters.skipBacklog (Total Keys: 2)
1 parent 207f23f commit 21efe10

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

docs/dyn/pubsublite_v1.admin.projects.locations.subscriptions.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#create">create(parent, body=None, subscriptionId=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#create">create(parent, body=None, skipBacklog=None, subscriptionId=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Creates a new subscription.</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
@@ -102,7 +102,7 @@ <h3>Method Details</h3>
102102
</div>
103103

104104
<div class="method">
105-
<code class="details" id="create">create(parent, body=None, subscriptionId=None, x__xgafv=None)</code>
105+
<code class="details" id="create">create(parent, body=None, skipBacklog=None, subscriptionId=None, x__xgafv=None)</code>
106106
<pre>Creates a new subscription.
107107

108108
Args:
@@ -118,6 +118,7 @@ <h3>Method Details</h3>
118118
&quot;topic&quot;: &quot;A String&quot;, # The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
119119
}
120120

121+
skipBacklog: boolean, If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
121122
subscriptionId: string, Required. The ID to use for the subscription, which will become the final component of the subscription&#x27;s name. This value is structured like: `my-sub-name`.
122123
x__xgafv: string, V1 error format.
123124
Allowed values

docs/dyn/pubsublite_v1.topicStats.projects.locations.topics.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#computeHeadCursor">computeHeadCursor(topic, body=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Compute the head cursor for the partition. The head cursors offset is guaranteed to be before or equal to all messages which have not yet been acknowledged to be published, and greater than the offset of any message whose publish has already been acknowledged. It is 0 if there have never been messages on the partition.</p>
82+
<p class="firstline">Compute the head cursor for the partition. The head cursor's offset is guaranteed to be less than or equal to all messages which have not yet been acknowledged as published, and greater than the offset of any message whose publish has already been acknowledged. It is zero if there have never been messages in the partition.</p>
8383
<p class="toc_element">
8484
<code><a href="#computeMessageStats">computeMessageStats(topic, body=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Compute statistics about a range of messages in a given topic and partition.</p>
@@ -91,7 +91,7 @@ <h3>Method Details</h3>
9191

9292
<div class="method">
9393
<code class="details" id="computeHeadCursor">computeHeadCursor(topic, body=None, x__xgafv=None)</code>
94-
<pre>Compute the head cursor for the partition. The head cursors offset is guaranteed to be before or equal to all messages which have not yet been acknowledged to be published, and greater than the offset of any message whose publish has already been acknowledged. It is 0 if there have never been messages on the partition.
94+
<pre>Compute the head cursor for the partition. The head cursor&#x27;s offset is guaranteed to be less than or equal to all messages which have not yet been acknowledged as published, and greater than the offset of any message whose publish has already been acknowledged. It is zero if there have never been messages in the partition.
9595

9696
Args:
9797
topic: string, Required. The topic for which we should compute the head cursor. (required)

googleapiclient/discovery_cache/documents/pubsublite.v1.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/cloud-platform": {
6-
"description": "View and manage your data across Google Cloud Platform services"
6+
"description": "See, edit, configure, and delete your Google Cloud Platform data"
77
}
88
}
99
}
@@ -129,6 +129,11 @@
129129
"required": true,
130130
"type": "string"
131131
},
132+
"skipBacklog": {
133+
"description": "If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.",
134+
"location": "query",
135+
"type": "boolean"
136+
},
132137
"subscriptionId": {
133138
"description": "Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`.",
134139
"location": "query",
@@ -563,7 +568,7 @@
563568
"topics": {
564569
"methods": {
565570
"computeHeadCursor": {
566-
"description": "Compute the head cursor for the partition. The head cursor\u2019s offset is guaranteed to be before or equal to all messages which have not yet been acknowledged to be published, and greater than the offset of any message whose publish has already been acknowledged. It is 0 if there have never been messages on the partition.",
571+
"description": "Compute the head cursor for the partition. The head cursor's offset is guaranteed to be less than or equal to all messages which have not yet been acknowledged as published, and greater than the offset of any message whose publish has already been acknowledged. It is zero if there have never been messages in the partition.",
567572
"flatPath": "v1/topicStats/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}:computeHeadCursor",
568573
"httpMethod": "POST",
569574
"id": "pubsublite.topicStats.projects.locations.topics.computeHeadCursor",
@@ -627,7 +632,7 @@
627632
}
628633
}
629634
},
630-
"revision": "20210224",
635+
"revision": "20210322",
631636
"rootUrl": "https://pubsublite.googleapis.com/",
632637
"schemas": {
633638
"Capacity": {

0 commit comments

Comments
 (0)