@@ -149,7 +149,7 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
149
149
* Optional. How long to retain unacknowledged messages in the subscription's backlog, from the
150
150
* moment a message is published. If `retain_acked_messages` is true, then this also configures
151
151
* the retention of acknowledged messages, and thus configures how far back in time a `Seek` can
152
- * be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes.
152
+ * be done. Defaults to 7 days. Cannot be more than 31 days or less than 10 minutes.
153
153
* The value may be {@code null}.
154
154
*/
155
155
@ com .google .api .client .util .Key
@@ -487,7 +487,7 @@ public Subscription setLabels(java.util.Map<String, java.lang.String> labels) {
487
487
* Optional. How long to retain unacknowledged messages in the subscription's backlog, from the
488
488
* moment a message is published. If `retain_acked_messages` is true, then this also configures
489
489
* the retention of acknowledged messages, and thus configures how far back in time a `Seek` can
490
- * be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes.
490
+ * be done. Defaults to 7 days. Cannot be more than 31 days or less than 10 minutes.
491
491
* @return value or {@code null} for none
492
492
*/
493
493
public String getMessageRetentionDuration () {
@@ -498,7 +498,7 @@ public String getMessageRetentionDuration() {
498
498
* Optional. How long to retain unacknowledged messages in the subscription's backlog, from the
499
499
* moment a message is published. If `retain_acked_messages` is true, then this also configures
500
500
* the retention of acknowledged messages, and thus configures how far back in time a `Seek` can
501
- * be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes.
501
+ * be done. Defaults to 7 days. Cannot be more than 31 days or less than 10 minutes.
502
502
* @param messageRetentionDuration messageRetentionDuration or {@code null} for none
503
503
*/
504
504
public Subscription setMessageRetentionDuration (String messageRetentionDuration ) {
0 commit comments