Skip to content

Conversation

@BenWhitehead
Copy link
Collaborator

Zero (0) is a special value for some serialization configurations. Add a test to ensure it is properly passed to the backend, and is effective.

Zero (0) is a special value for some serialization configurations. Add a test to ensure it is properly passed to the backend, and is effective.
@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label Jan 11, 2023
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jan 11, 2023
@BenWhitehead BenWhitehead marked this pull request as ready for review January 11, 2023 23:15
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/java-storage API. label Jan 11, 2023
@BenWhitehead BenWhitehead requested a review from a team as a code owner January 11, 2023 23:15
}
conditionBuilder.setMatchesPrefix(condition.getMatchesPrefixList());
conditionBuilder.setMatchesSuffix(condition.getMatchesSuffixList());
if (!condition.getMatchesPrefixList().isEmpty()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change looks out of context, is it needed as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a difference between what is constructed via

 LifecycleRule d1 =
        new LifecycleRule(
            LifecycleAction.newAbortIncompleteMPUploadAction(),
            LifecycleCondition.newBuilder().setAge(0).build());

And what is decoded coming back from the service via grpc. By simply setting as we were doing before the value would be empty list rather than null. Apiary on the other hand will be null by default. This change brings these both in line with the apiary behavior.

@BenWhitehead BenWhitehead added the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 12, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 12, 2023
@BenWhitehead BenWhitehead merged commit 3345ac9 into main Jan 12, 2023
@BenWhitehead BenWhitehead deleted the test/lifecycle.rule.condition.age_days/zero branch January 12, 2023 18:19
gcf-owl-bot bot added a commit that referenced this pull request Dec 5, 2023
…p/templates/java_library/.kokoro (#1846)

build(deps): bump cryptography

Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 41.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@41.0.2...41.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Burke Davison <[email protected]>
Co-authored-by: Jeffrey Rennie <[email protected]>
Co-authored-by: Alice <[email protected]>
Source-Link: googleapis/synthtool@bfb4e63
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:11d59eabd49dc088f8339fb96e9da79ba4b3a73b3d49a8a4e0263e91edd053ba
sydney-munro added a commit that referenced this pull request Dec 13, 2023
…p/templates/java_library/.kokoro (#1846) (#2328)

build(deps): bump cryptography

Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.2 to 41.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@41.0.2...41.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...






Source-Link: googleapis/synthtool@bfb4e63
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:11d59eabd49dc088f8339fb96e9da79ba4b3a73b3d49a8a4e0263e91edd053ba

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Burke Davison <[email protected]>
Co-authored-by: Jeffrey Rennie <[email protected]>
Co-authored-by: Alice <[email protected]>
Co-authored-by: Sydney Munro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. owlbot:ignore instruct owl-bot to ignore a PR size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants