diff --git a/.gitignore b/.gitignore index 661747bf1..d4f03a0df 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ /.nyc_output /docs/ /out/ -**/build/ +/build/ system-test/secrets.js system-test/*key.json *.lock diff --git a/package.json b/package.json index c5d3dcc27..88da238cb 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/protos/google/pubsub/v1/pubsub.proto b/protos/google/pubsub/v1/pubsub.proto index b5092087a..cd765d1c3 100644 --- a/protos/google/pubsub/v1/pubsub.proto +++ b/protos/google/pubsub/v1/pubsub.proto @@ -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]; diff --git a/src/v1/subscriber_client.ts b/src/v1/subscriber_client.ts index 617d05f67..0930d8f34 100644 --- a/src/v1/subscriber_client.ts +++ b/src/v1/subscriber_client.ts @@ -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).