Skip to content

Commit

Permalink
fix: update BucketInfo.LifecycleRule#fromPb to wire through MatchesPr…
Browse files Browse the repository at this point in the history
…efix & MatchesSuffix (#1717)

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
sundarrajanraman and gcf-owl-bot[bot] authored Oct 18, 2022
1 parent 09a2426 commit eae3cf2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,9 @@ public StorageClass apply(String storageClass) {
.setDaysSinceNoncurrentTime(condition.getDaysSinceNoncurrentTime())
.setNoncurrentTimeBefore(condition.getNoncurrentTimeBefore())
.setCustomTimeBefore(condition.getCustomTimeBefore())
.setDaysSinceCustomTime(condition.getDaysSinceCustomTime());
.setDaysSinceCustomTime(condition.getDaysSinceCustomTime())
.setMatchesPrefix(condition.getMatchesPrefix())
.setMatchesSuffix(condition.getMatchesSuffix());

return new LifecycleRule(lifecycleAction, conditionBuilder.build());
}
Expand Down

0 comments on commit eae3cf2

Please sign in to comment.