GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Storage: Fix Bucket logging configuration using library by pmakani · Pull Request #6327 · googleapis/google-cloud-java ConversationFixes #2911
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@ ## master #6327 +/- ## ============================================ - Coverage 46.85% 46.3% -0.56% + Complexity 28120 27924 -196 ============================================ Files 2601 2613 +12 Lines 287258 287669 +411 Branches 33359 33739 +380 ============================================ - Hits 134595 133199 -1396 - Misses 142429 144263 +1834 + Partials 10234 10207 -27
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@frankyn PTAL. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Small nits.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| storage.create( | ||
| BucketInfo.newBuilder(logsBucket) | ||
| .setLocation("us") | ||
| .setRetentionPeriod(RETENTION_PERIOD) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Remove retention period from new bucket.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| .setLocation("us") | ||
| .setRetentionPeriod(RETENTION_PERIOD) | ||
| .build())); | ||
| Acl acl = Acl.of(User.ofAllAuthenticatedUsers(), Role.WRITER); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Use IAM policy instead.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Bucket logging configuration using library
There was an error while loading. Please reload this page.