Skip to content

Commit

Permalink
Add format to pubsublite period (#5454) (#3854)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Nov 15, 2021
1 parent ef1dfb0 commit 90a3900
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changelog/5454.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
4 changes: 3 additions & 1 deletion google-beta/resource_pubsub_lite_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ dropped to make room for newer ones, regardless of the value of period.`,
Type: schema.TypeString,
Optional: true,
Description: `How long a published message is retained. If unset, messages will be retained as
long as the bytes retained for each partition is below perPartitionBytes.`,
long as the bytes retained for each partition is below perPartitionBytes. A
duration in seconds with up to nine fractional digits, terminated by 's'.
Example: "3.5s".`,
},
},
},
Expand Down
4 changes: 3 additions & 1 deletion website/docs/r/pubsub_lite_topic.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ The following arguments are supported:
* `period` -
(Optional)
How long a published message is retained. If unset, messages will be retained as
long as the bytes retained for each partition is below perPartitionBytes.
long as the bytes retained for each partition is below perPartitionBytes. A
duration in seconds with up to nine fractional digits, terminated by 's'.
Example: "3.5s".

<a name="nested_reservation_config"></a>The `reservation_config` block supports:

Expand Down

0 comments on commit 90a3900

Please sign in to comment.