Skip to content

Commit

Permalink
fix(pubsub): update the API
Browse files Browse the repository at this point in the history
#### pubsub:v1

The following keys were changed:
- schemas.Subscription.properties.expirationPolicy.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Sep 2, 2021
1 parent 2e6d193 commit e2f55b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions discovery/pubsub-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@
}
}
},
"revision": "20210816",
"revision": "20210824",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
"AcknowledgeRequest": {
Expand Down Expand Up @@ -2021,7 +2021,7 @@
},
"expirationPolicy": {
"$ref": "ExpirationPolicy",
"description": "A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day."
"description": "A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires."
},
"filter": {
"description": "An expression written in the Pub/Sub [filter language](https://cloud.google.com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s whose `attributes` field matches the filter are delivered on this subscription. If empty, then no messages are filtered out.",
Expand Down
2 changes: 1 addition & 1 deletion src/apis/pubsub/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ export namespace pubsub_v1 {
*/
enableMessageOrdering?: boolean | null;
/**
* A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day.
* A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires.
*/
expirationPolicy?: Schema$ExpirationPolicy;
/**
Expand Down

0 comments on commit e2f55b2

Please sign in to comment.