Skip to content

Commit

Permalink
docs: update documentation for 31 day subscription message retention (#…
Browse files Browse the repository at this point in the history
…1965)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 673028761

Source-Link: https://togithub.com/googleapis/googleapis/commit/394f626e83786b5f2230d10a774c8db961b5e6b7

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/88f68a7024b00ff7e204919a97b87a3007b1123c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODhmNjhhNzAyNGIwMGZmN2UyMDQ5MTlhOTdiODdhMzAwN2IxMTIzYyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 17, 2024
1 parent 370fe8e commit c3abf92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/.nyc_output
/docs/
/out/
**/build/
/build/
system-test/secrets.js
system-test/*key.json
*.lock
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"prelint": "cd samples; npm link ../; npm install",
"precompile": "gts clean",
"typeless": "npx typeless-sample-bot --outputpath samples --targets samples --recursive",
"posttypeless": "cd samples; npm i; cd ..; npm run fix"
"posttypeless": "cd samples && npm i && cd .. && npm run fix"
},
"dependencies": {
"@google-cloud/paginator": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion protos/google/pubsub/v1/pubsub.proto
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ message Subscription {
// backlog, from the moment a message is published. If `retain_acked_messages`
// is true, then this also configures the retention of acknowledged messages,
// and thus configures how far back in time a `Seek` can be done. Defaults to
// 7 days. Cannot be more than 7 days or less than 10 minutes.
// 7 days. Cannot be more than 31 days or less than 10 minutes.
google.protobuf.Duration message_retention_duration = 8
[(google.api.field_behavior) = OPTIONAL];

Expand Down
2 changes: 1 addition & 1 deletion src/v1/subscriber_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export class SubscriberClient {
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
* 7 days. Cannot be more than 7 days or less than 10 minutes.
* 7 days. Cannot be more than 31 days or less than 10 minutes.
* @param {number[]} [request.labels]
* Optional. See [Creating and managing
* labels](https://cloud.google.com/pubsub/docs/labels).
Expand Down

0 comments on commit c3abf92

Please sign in to comment.