diff --git a/google-cloud-pubsub-v1/lib/google/cloud/pubsub/v1/subscriber/client.rb b/google-cloud-pubsub-v1/lib/google/cloud/pubsub/v1/subscriber/client.rb index ff00e5aa07b3..57686fc9eb9b 100644 --- a/google-cloud-pubsub-v1/lib/google/cloud/pubsub/v1/subscriber/client.rb +++ b/google-cloud-pubsub-v1/lib/google/cloud/pubsub/v1/subscriber/client.rb @@ -341,7 +341,7 @@ def initialize # 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 labels [::Hash{::String => ::String}] # Optional. See [Creating and managing # labels](https://cloud.google.com/pubsub/docs/labels). diff --git a/google-cloud-pubsub-v1/proto_docs/google/pubsub/v1/pubsub.rb b/google-cloud-pubsub-v1/proto_docs/google/pubsub/v1/pubsub.rb index 86be4dc763d2..f63dfd14f608 100644 --- a/google-cloud-pubsub-v1/proto_docs/google/pubsub/v1/pubsub.rb +++ b/google-cloud-pubsub-v1/proto_docs/google/pubsub/v1/pubsub.rb @@ -500,7 +500,7 @@ class DetachSubscriptionResponse # 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. # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. See [Creating and managing