Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/java-storage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.6.1
Choose a base ref
...
head repository: googleapis/java-storage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.7.0
Choose a head ref

Commits on Apr 18, 2022

  1. chore(main): release 2.6.2-SNAPSHOT (#1356)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ### Updating meta-information for bleeding-edge SNAPSHOT release.
    
    ---
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    release-please[bot] authored Apr 18, 2022
    Copy the full SHA
    86298cf View commit details
  2. chore(deps): update dependency com.google.cloud:google-cloud-storage …

    …to v2.6.1 (#1357)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:google-cloud-storage](https://togithub.com/googleapis/java-storage) | `2.6.0` -> `2.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.6.1/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.6.1/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/java-storage</summary>
    
    ### [`v2.6.1`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#&#8203;261-httpsgithubcomgoogleapisjava-storagecomparev260v261-2022-04-15)
    
    [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.6.0...v2.6.1)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-storage).
    renovate-bot authored Apr 18, 2022
    Copy the full SHA
    5a08f51 View commit details

Commits on Apr 19, 2022

  1. Copy the full SHA
    cef3d13 View commit details
  2. Copy the full SHA
    5a565a7 View commit details

Commits on Apr 20, 2022

  1. Copy the full SHA
    279435d View commit details
  2. Copy the full SHA
    775eb91 View commit details
  3. Copy the full SHA
    2f42ba2 View commit details
  4. deps: update dependency com.google.cloud:google-cloud-pubsub to v1.11…

    …6.4 (#1360)
    
    * chore: exclude error_prone_annotations from google-cloud-pubsub in favor of our managed version
    
    Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
    renovate-bot and BenWhitehead authored Apr 20, 2022
    Copy the full SHA
    66c7ffe View commit details

Commits on Apr 21, 2022

  1. test(deps): update dependency org.mockito:mockito-core to v4.5.1 (#1365)

    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [org.mockito:mockito-core](https://togithub.com/mockito/mockito) | `4.5.0` -> `4.5.1` | [![age](https://badges.renovateapi.com/packages/maven/org.mockito:mockito-core/4.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.mockito:mockito-core/4.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.mockito:mockito-core/4.5.1/compatibility-slim/4.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.mockito:mockito-core/4.5.1/confidence-slim/4.5.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>mockito/mockito</summary>
    
    ### [`v4.5.1`](https://togithub.com/mockito/mockito/releases/v4.5.1)
    
    [Compare Source](https://togithub.com/mockito/mockito/compare/v4.5.0...v4.5.1)
    
    <sup><sup>*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*</sup></sup>
    
    ##### 4.5.1
    
    -   2022-04-21 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v4.5.0...v4.5.1) by Jeremy Landis, dependabot\[bot]
    -   Fixes [#&#8203;2623](https://togithub.com/mockito/mockito/issues/2623): Use zulu distribution and java 11 for release GHA job [(#&#8203;2624)](https://togithub.com/mockito/mockito/pull/2624)
    -   Missing errorprone module for 4.5.0 in central as release was done with jdk 8 [(#&#8203;2623)](https://togithub.com/mockito/mockito/issues/2623)
    -   Bump kotlinVersion from 1.6.20 to 1.6.21 [(#&#8203;2622)](https://togithub.com/mockito/mockito/pull/2622)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-storage).
    renovate-bot authored Apr 21, 2022
    Copy the full SHA
    8e19782 View commit details
  2. build(deps): update dependency org.sonatype.plugins:nexus-staging-mav…

    …en-plugin to v1.6.13 (#1366)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [org.sonatype.plugins:nexus-staging-maven-plugin](http://www.sonatype.com/) ([source](https://togithub.com/sonatype/nexus-maven-plugins)) | `1.6.12` -> `1.6.13` | [![age](https://badges.renovateapi.com/packages/maven/org.sonatype.plugins:nexus-staging-maven-plugin/1.6.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.sonatype.plugins:nexus-staging-maven-plugin/1.6.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.sonatype.plugins:nexus-staging-maven-plugin/1.6.13/compatibility-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.sonatype.plugins:nexus-staging-maven-plugin/1.6.13/confidence-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>sonatype/nexus-maven-plugins</summary>
    
    ### [`v1.6.13`](https://togithub.com/sonatype/nexus-maven-plugins/compare/release-1.6.12...release-1.6.13)
    
    [Compare Source](https://togithub.com/sonatype/nexus-maven-plugins/compare/release-1.6.12...release-1.6.13)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-storage).
    renovate-bot authored Apr 21, 2022
    Copy the full SHA
    45069c6 View commit details

Commits on Apr 22, 2022

  1. test(deps): update dependency com.google.cloud:google-cloud-conforman…

    …ce-tests to v0.2.11 (#1367)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:google-cloud-conformance-tests](https://togithub.com/googleapis/java-shared-config) | `0.2.10` -> `0.2.11` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-conformance-tests/0.2.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-conformance-tests/0.2.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-conformance-tests/0.2.11/compatibility-slim/0.2.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-conformance-tests/0.2.11/confidence-slim/0.2.10)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-storage).
    renovate-bot authored Apr 22, 2022
    Copy the full SHA
    6c3dcf4 View commit details
  2. test: Adding unique identifier to Notification Samples Topics (#1364)

    * test: Adding unique identifier to Notification Samples Topics
    
    * 🦉 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>
    sydney-munro and gcf-owl-bot[bot] authored Apr 22, 2022
    Copy the full SHA
    1619825 View commit details

Commits on Apr 27, 2022

  1. chore(deps): update dependency com.google.cloud:libraries-bom to v25.…

    …2.0 (#1371)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.1.0` -> `25.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.2.0/compatibility-slim/25.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.2.0/confidence-slim/25.1.0)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-storage).
    renovate-bot authored Apr 27, 2022
    Copy the full SHA
    22af2b4 View commit details

Commits on Apr 28, 2022

  1. docs(sample): removing unnecessary native-image-support dependency (#…

    …1373)
    
    For GraalVM native image, GAX provides required metadata. We no longer need native-image-support-java module.
    suztomo authored Apr 28, 2022
    Copy the full SHA
    3a246ef View commit details

Commits on Apr 29, 2022

  1. build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    …onfig to v1.4.0 (#1374)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.3` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/compatibility-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/confidence-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/java-shared-config</summary>
    
    ### [`v1.4.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#&#8203;140-httpsgithubcomgoogleapisjava-shared-configcomparev133v140-2022-04-28)
    
    [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.3...v1.4.0)
    
    ##### Features
    
    -   **java:** remove native image module ([#&#8203;471](https://togithub.com/googleapis/java-shared-config/issues/471)) ([7fcba01](https://togithub.com/googleapis/java-shared-config/commit/7fcba016b3138d7beaa4e962853f9bc80f59438c))
    
    ##### [1.3.3](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3) (2022-04-19)
    
    ##### Bug Fixes
    
    -   **java:** remove protobuf feature from native profile ([#&#8203;461](https://togithub.com/googleapis/java-shared-config/issues/461)) ([ffd07cb](https://togithub.com/googleapis/java-shared-config/commit/ffd07cb18ee7d45d4daee1d9ea6f6d321fdca874))
    
    ##### Dependencies
    
    -   update dependency com.google.cloud:native-image-support to v0.12.11 ([#&#8203;459](https://togithub.com/googleapis/java-shared-config/issues/459)) ([d20008d](https://togithub.com/googleapis/java-shared-config/commit/d20008df15209708fdf9d06828b567778190f4d0))
    -   update dependency com.google.cloud:native-image-support to v0.13.1 ([#&#8203;465](https://togithub.com/googleapis/java-shared-config/issues/465)) ([b202064](https://togithub.com/googleapis/java-shared-config/commit/b2020648816feb4740ad70acedfed470d7da5bcf))
    
    ##### [1.3.2](https://togithub.com/googleapis/java-shared-config/compare/v1.3.1...v1.3.2) (2022-03-28)
    
    ##### Dependencies
    
    -   revert google-java-format to 1.7 ([#&#8203;453](https://togithub.com/googleapis/java-shared-config/issues/453)) ([cbc777f](https://togithub.com/googleapis/java-shared-config/commit/cbc777f3e9ab75edb6fa2e0268a7446ae4111725))
    
    ##### [1.3.1](https://togithub.com/googleapis/java-shared-config/compare/v1.3.0...v1.3.1) (2022-03-25)
    
    ##### Dependencies
    
    -   update dependency com.google.cloud:native-image-support to v0.12.10 ([#&#8203;443](https://togithub.com/googleapis/java-shared-config/issues/443)) ([5b39d5e](https://togithub.com/googleapis/java-shared-config/commit/5b39d5ee15121f052226ff873b6ab101e9c71de5))
    -   update dependency com.google.googlejavaformat:google-java-format to v1.15.0 ([#&#8203;426](https://togithub.com/googleapis/java-shared-config/issues/426)) ([4c3c4b6](https://togithub.com/googleapis/java-shared-config/commit/4c3c4b66129632181e6bc363a0ecccf4f5aac914))
    -   update dependency org.graalvm.buildtools:junit-platform-native to v0.9.11 ([#&#8203;448](https://togithub.com/googleapis/java-shared-config/issues/448)) ([f7f518e](https://togithub.com/googleapis/java-shared-config/commit/f7f518e87d1d9feb9ac54d7c099f97d8751ee3da))
    -   update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 ([#&#8203;449](https://togithub.com/googleapis/java-shared-config/issues/449)) ([3e1c0b5](https://togithub.com/googleapis/java-shared-config/commit/3e1c0b5a1d2f4a0db88c06a0d683ed90cbc745e2))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-storage).
    renovate-bot authored Apr 29, 2022
    Copy the full SHA
    9168ebe View commit details

Commits on May 2, 2022

  1. chore(bazel): update version of Protobuf to v3.20.1 (#1370)

    * chore(bazel): update version of Protobuf to v3.20.1
    
    PiperOrigin-RevId: 444328399
    
    Source-Link: googleapis/googleapis@c7ca416
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/d61705453a62b3ecda78aa30c192840ebc5a8a90
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDYxNzA1NDUzYTYyYjNlY2RhNzhhYTMwYzE5Mjg0MGViYzVhOGE5MCJ9
    
    * 🦉 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>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 2, 2022
    Copy the full SHA
    21d7c06 View commit details

Commits on May 5, 2022

  1. chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-jav…

    …a to 2.16.0 (#1377)
    
    * chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-java to 2.16.0
    
    PiperOrigin-RevId: 446250659
    
    Source-Link: googleapis/googleapis@dc4ef31
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fdda4ddfbab87998e77e4a453e0ff87986d2db8
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9
    
    * 🦉 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>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 5, 2022
    Copy the full SHA
    bf82936 View commit details

Commits on May 9, 2022

  1. chore(test): update ITStorageTest to explicitly shutdown the grpc cha…

    …nnel for KMS (#1379)
    
    Refactor afterClass() to attempt cleanup of each resource independently
    
    Explicitly shutting down the grpc channel for KMS prevents the following exception from error being reported
    
    ```
    *~*~*~ Channel ManagedChannelImpl{logId=1, target=cloudkms.googleapis.com:443} was not shutdown properly!!! ~*~*~*
        Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.
    java.lang.RuntimeException: ManagedChannel allocation site
    	at io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.<init>(ManagedChannelOrphanWrapper.java:93)
    	at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:53)
    	at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:44)
    	at io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:630)
    	at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:297)
    	at com.google.cloud.storage.it.ITStorageTest.prepareKmsKeys(ITStorageTest.java:322)
    	at com.google.cloud.storage.it.ITStorageTest.beforeClass(ITStorageTest.java:255)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
    	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
    	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
    	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
    	at org.junit.runners.Suite.runChild(Suite.java:128)
    	at org.junit.runners.Suite.runChild(Suite.java:27)
    	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
    	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
    	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
    	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
    	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
    	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
    	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
    	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    	at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
    	at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
    	at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
    	at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
    	at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
    ```
    BenWhitehead authored May 9, 2022
    Copy the full SHA
    596584a View commit details

Commits on May 11, 2022

  1. Copy the full SHA
    0cd01a0 View commit details

Commits on May 13, 2022

  1. Copy the full SHA
    4e93c8e View commit details
  2. Copy the full SHA
    2fd3378 View commit details

Commits on May 19, 2022

  1. Copy the full SHA
    fc0c187 View commit details
  2. Copy the full SHA
    8834423 View commit details
  3. feat: change GCS gRPC API to get user billing project from gRPC metad…

    …ata instead of CommonRequestParams, and remove latter (#1396)
    
    * feat: Change GCS gRPC API to get user billing project from gRPC metadata instead of CommonRequestParams, and remove latter
    
    PiperOrigin-RevId: 449498085
    
    Source-Link: googleapis/googleapis@d4444af
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/e13d4f4fb4110f78ee86019a3d5408fe573eb289
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTEzZDRmNGZiNDExMGY3OGVlODYwMTlhM2Q1NDA4ZmU1NzNlYjI4OSJ9
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * chore: update clirr rules to allow removal of google/storage/v2/CommonRequestParams message
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
    3 people authored May 19, 2022
    Copy the full SHA
    8a7755c View commit details
  4. feat: add build scripts for native image testing in Java 17 (#1440) (#…

    …1400)
    
    Source-Link: googleapis/synthtool@505ce5a
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 19, 2022
    Copy the full SHA
    274a373 View commit details
  5. Copy the full SHA
    32cded4 View commit details

Commits on May 20, 2022

  1. test: update ITStorageTest#testHmacKey to be courteous (#1401)

    Previously testHmacKey would clobber any existing hmac keys for the service account when it started running, and multiple points during the test. This change updates the behavior to only try and cleanup an hmac key if it's been more than 24hrs since last updated.
    
    Additionally, a project is only allowed 5 hmac keys total, creating 4 keys in the test to check pagination creates contention for other simultaneous runs that need to use hmac keys. I've removed this, the logic for pagination is the same as for other things like blobs and buckets we can depend on those to ensure dynamic page sizing works.
    BenWhitehead authored May 20, 2022
    Copy the full SHA
    0abfbfb View commit details

Commits on May 24, 2022

  1. chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-jav…

    …a to 2.18.1 (#1404)
    
    * chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1
    
    PiperOrigin-RevId: 450543911
    
    Source-Link: googleapis/googleapis@5528344
    
    Source-Link: https://github.com/googleapis/googleapis-gen/commit/9f6775cab1958982b88967a43e5e806af0f135db
    Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9
    
    * 🦉 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>
    gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 24, 2022
    Copy the full SHA
    e0ffe79 View commit details
  2. Copy the full SHA
    742ff13 View commit details
  3. chore(main): release 2.7.0 (#1359)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored May 24, 2022
    Copy the full SHA
    60ed73d View commit details
Showing with 1,612 additions and 8,499 deletions.
  1. +2 −2 .github/.OwlBot.lock.yaml
  2. +5 −0 .kokoro/build.sh
  3. +33 −0 .kokoro/presubmit/graalvm-native-17.cfg
  4. +26 −0 CHANGELOG.md
  5. +6 −5 README.md
  6. +2 −2 gapic-google-cloud-storage-v2/pom.xml
  7. +219 −50 gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageClient.java
  8. +3 −1 gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageSettings.java
  9. +3 −1 gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/package-info.java
  10. +1 −1 ...-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageCallableFactory.java
  11. +1 −1 gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java
  12. +1 −1 gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStub.java
  13. +3 −2 gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStubSettings.java
  14. +1 −1 gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorage.java
  15. +1 −1 gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorageImpl.java
  16. +1 −14 gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/StorageClientTest.java
  17. +10 −0 google-cloud-storage/clirr-ignored-differences.xml
  18. +9 −3 google-cloud-storage/pom.xml
  19. +2 −24 google-cloud-storage/src/main/java/com/google/cloud/storage/Blob.java
  20. +41 −0 google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java
  21. +30 −0 google-cloud-storage/src/main/java/com/google/cloud/storage/StorageImpl.java
  22. +0 −108 google-cloud-storage/src/test/java/com/google/cloud/storage/BlobTest.java
  23. +104 −0 google-cloud-storage/src/test/java/com/google/cloud/storage/StorageImplTest.java
  24. +88 −85 google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java
  25. +2 −2 grpc-google-cloud-storage-v2/pom.xml
  26. +11 −11 pom.xml
  27. +16 −0 proto-google-cloud-storage-v2/clirr-ignored-differences.xml
  28. +2 −2 proto-google-cloud-storage-v2/pom.xml
  29. +82 −93 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Bucket.java
  30. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControl.java
  31. +1 −1 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketName.java
  32. +9 −7 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketOrBuilder.java
  33. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedData.java
  34. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CommonObjectRequestParams.java
  35. +0 −648 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CommonRequestParams.java
  36. +0 −54 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CommonRequestParamsOrBuilder.java
  37. +6 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequest.java
  38. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequestOrBuilder.java
  39. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ContentRange.java
  40. +38 −24 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequest.java
  41. +9 −6 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequestOrBuilder.java
  42. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequest.java
  43. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequestOrBuilder.java
  44. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyResponse.java
  45. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateNotificationRequest.java
  46. +1 −1 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CryptoKeyName.java
  47. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CustomerEncryption.java
  48. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteBucketRequest.java
  49. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteBucketRequestOrBuilder.java
  50. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteHmacKeyRequest.java
  51. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteHmacKeyRequestOrBuilder.java
  52. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteNotificationRequest.java
  53. +2 −279 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequest.java
  54. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequestOrBuilder.java
  55. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetBucketRequest.java
  56. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetBucketRequestOrBuilder.java
  57. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetHmacKeyRequest.java
  58. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetHmacKeyRequestOrBuilder.java
  59. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetNotificationRequest.java
  60. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetObjectRequest.java
  61. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetObjectRequestOrBuilder.java
  62. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetServiceAccountRequest.java
  63. +0 −35 ...oogle-cloud-storage-v2/src/main/java/com/google/storage/v2/GetServiceAccountRequestOrBuilder.java
  64. +26 −24 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadata.java
  65. +6 −6 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadataOrBuilder.java
  66. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsRequest.java
  67. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsRequestOrBuilder.java
  68. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsResponse.java
  69. +2 −302 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysRequest.java
  70. +0 −41 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysRequestOrBuilder.java
  71. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysResponse.java
  72. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationsRequest.java
  73. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationsResponse.java
  74. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequest.java
  75. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequestOrBuilder.java
  76. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsResponse.java
  77. +2 −278 ...google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequest.java
  78. +0 −35 ...oud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequestOrBuilder.java
  79. +12 −9 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Notification.java
  80. +1 −1 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationName.java
  81. +5 −1 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationOrBuilder.java
  82. +24 −33 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Object.java
  83. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControl.java
  84. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectChecksums.java
  85. +9 −7 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectOrBuilder.java
  86. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Owner.java
  87. +1 −1 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectName.java
  88. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectTeam.java
  89. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequest.java
  90. +0 −35 ...google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequestOrBuilder.java
  91. +5 −2 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponse.java
  92. +2 −279 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequest.java
  93. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequestOrBuilder.java
  94. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponse.java
  95. +2 −279 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequest.java
  96. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequestOrBuilder.java
  97. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteResponse.java
  98. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceAccount.java
  99. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceConstants.java
  100. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequest.java
  101. +0 −35 ...gle-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequestOrBuilder.java
  102. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteResponse.java
  103. +472 −546 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java
  104. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequest.java
  105. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequestOrBuilder.java
  106. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateHmacKeyRequest.java
  107. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateHmacKeyRequestOrBuilder.java
  108. +2 −278 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequest.java
  109. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequestOrBuilder.java
  110. +6 −280 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequest.java
  111. +0 −35 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequestOrBuilder.java
  112. +5 −2 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponse.java
  113. +2 −0 proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpec.java
  114. +9 −86 proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto
  115. +2 −2 samples/install-without-bom/pom.xml
  116. +2 −7 samples/native-image-sample/pom.xml
  117. +1 −1 samples/pom.xml
  118. +2 −2 samples/snapshot/pom.xml
  119. +2 −2 samples/snippets/pom.xml
  120. +74 −0 samples/snippets/src/main/java/com/example/storage/object/DownloadByteRange.java
  121. +4 −1 samples/snippets/src/test/java/com/example/storage/bucket/CreateBucketPubSubNotificationTest.java
  122. +4 −1 samples/snippets/src/test/java/com/example/storage/bucket/DeleteBucketPubSubNotificationTest.java
  123. +4 −1 samples/snippets/src/test/java/com/example/storage/bucket/ListPubSubNotificationsTest.java
  124. +4 −1 samples/snippets/src/test/java/com/example/storage/bucket/PrintPubSubNotificationTest.java
  125. +73 −0 samples/snippets/src/test/java/com/example/storage/object/DownloadBytesRangeTest.java
  126. +4 −4 versions.txt
4 changes: 2 additions & 2 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813
# created: 2022-04-06T16:30:03.627422514Z
digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
# created: 2022-05-19T15:12:45.278246753Z
5 changes: 5 additions & 0 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
@@ -74,6 +74,11 @@ graalvm)
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
RETURN_CODE=$?
;;
graalvm17)
# Run Unit and Integration Tests with Native Image
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
RETURN_CODE=$?
;;
samples)
SAMPLES_DIR=samples
# only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise.
33 changes: 33 additions & 0 deletions .kokoro/presubmit/graalvm-native-17.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17"
}

env_vars: {
key: "JOB_TYPE"
value: "graalvm17"
}

# TODO: remove this after we've migrated all tests and scripts
env_vars: {
key: "GCLOUD_PROJECT"
value: "gcloud-devel"
}

env_vars: {
key: "GOOGLE_CLOUD_PROJECT"
value: "gcloud-devel"
}

env_vars: {
key: "GOOGLE_APPLICATION_CREDENTIALS"
value: "secret_manager/java-it-service-account"
}

env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "java-it-service-account"
}
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## [2.7.0](https://github.com/googleapis/java-storage/compare/v2.6.1...v2.7.0) (2022-05-24)


### Features

* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-storage/issues/1440)) ([#1400](https://github.com/googleapis/java-storage/issues/1400)) ([274a373](https://github.com/googleapis/java-storage/commit/274a3733b72d2aa1e2916edf40a72c013aaf1711))
* add Storage#downloadTo ([#1354](https://github.com/googleapis/java-storage/issues/1354)) ([5a565a7](https://github.com/googleapis/java-storage/commit/5a565a74cd6aaa85ed81a8cea026477512fbd5da))
* change GCS gRPC API to get user billing project from gRPC metadata instead of CommonRequestParams, and remove latter ([#1396](https://github.com/googleapis/java-storage/issues/1396)) ([8a7755c](https://github.com/googleapis/java-storage/commit/8a7755cc8352b3ab21c252885fb86576474d7f09))


### Documentation

* add new storage_download_byte_range samples ([#1325](https://github.com/googleapis/java-storage/issues/1325)) ([cef3d13](https://github.com/googleapis/java-storage/commit/cef3d138fd11762437ac59adee6a198139acb7f5))
* **sample:** removing unnecessary native-image-support dependency ([#1373](https://github.com/googleapis/java-storage/issues/1373)) ([3a246ef](https://github.com/googleapis/java-storage/commit/3a246ef4f0a75e52734df52772d34547632ab85f))


### Dependencies

* update dependency com.google.apis:google-api-services-storage to v1-rev20220509-1.32.1 ([#1386](https://github.com/googleapis/java-storage/issues/1386)) ([4e93c8e](https://github.com/googleapis/java-storage/commit/4e93c8e6f3c8259968a3dd35a15e752a81491af2))
* update dependency com.google.cloud:google-cloud-pubsub to v1.116.4 ([#1360](https://github.com/googleapis/java-storage/issues/1360)) ([66c7ffe](https://github.com/googleapis/java-storage/commit/66c7ffe112242915165286a972c44fc2568b67c8))
* update dependency com.google.cloud:google-cloud-pubsub to v1.117.0 ([#1382](https://github.com/googleapis/java-storage/issues/1382)) ([0cd01a0](https://github.com/googleapis/java-storage/commit/0cd01a0eb498a994c330cc985c21b3248ecba8fa))
* update dependency com.google.cloud:google-cloud-pubsub to v1.118.0 ([#1397](https://github.com/googleapis/java-storage/issues/1397)) ([fc0c187](https://github.com/googleapis/java-storage/commit/fc0c187096058f84a2f73704b29457c5c6d744fe))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.11.0 ([#1398](https://github.com/googleapis/java-storage/issues/1398)) ([8834423](https://github.com/googleapis/java-storage/commit/8834423f8772310b1a99aa393095e319a4169307))
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#1402](https://github.com/googleapis/java-storage/issues/1402)) ([32cded4](https://github.com/googleapis/java-storage/commit/32cded493442ed5e7b524cd2478e97f00fd90c3c))
* update kms.version to v0.95.4 ([#1361](https://github.com/googleapis/java-storage/issues/1361)) ([2f42ba2](https://github.com/googleapis/java-storage/commit/2f42ba296bf5ace92159ee02885eaf0e4d9c9864))

### [2.6.1](https://github.com/googleapis/java-storage/compare/v2.6.0...v2.6.1) (2022-04-15)


11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>25.1.0</version>
<version>25.3.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -41,28 +41,28 @@ If you are using Maven without BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage</artifactId>
<version>2.6.0</version>
<version>2.6.1</version>
</dependency>

```

If you are using Gradle 5.x or later, add this to your dependencies

```Groovy
implementation platform('com.google.cloud:libraries-bom:25.1.0')
implementation platform('com.google.cloud:libraries-bom:25.3.0')
implementation 'com.google.cloud:google-cloud-storage'
```
If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-storage:2.6.0'
implementation 'com.google.cloud:google-cloud-storage:2.6.1'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.6.0"
libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.6.1"
```

## Authentication
@@ -301,6 +301,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-storage/tree/
| Copy Old Version Of Object | [source code](https://github.com/googleapis/java-storage/blob/main/samples/snippets/src/main/java/com/example/storage/object/CopyOldVersionOfObject.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-storage&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/storage/object/CopyOldVersionOfObject.java) |
| Delete Object | [source code](https://github.com/googleapis/java-storage/blob/main/samples/snippets/src/main/java/com/example/storage/object/DeleteObject.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-storage&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/storage/object/DeleteObject.java) |
| Delete Old Version Of Object | [source code](https://github.com/googleapis/java-storage/blob/main/samples/snippets/src/main/java/com/example/storage/object/DeleteOldVersionOfObject.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-storage&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/storage/object/DeleteOldVersionOfObject.java) |
| Download Byte Range | [source code](https://github.com/googleapis/java-storage/blob/main/samples/snippets/src/main/java/com/example/storage/object/DownloadByteRange.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-storage&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/storage/object/DownloadByteRange.java) |
| Download Encrypted Object | [source code](https://github.com/googleapis/java-storage/blob/main/samples/snippets/src/main/java/com/example/storage/object/DownloadEncryptedObject.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-storage&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/storage/object/DownloadEncryptedObject.java) |
| Download Object | [source code](https://github.com/googleapis/java-storage/blob/main/samples/snippets/src/main/java/com/example/storage/object/DownloadObject.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-storage&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/storage/object/DownloadObject.java) |
| Download Object Into Memory | [source code](https://github.com/googleapis/java-storage/blob/main/samples/snippets/src/main/java/com/example/storage/object/DownloadObjectIntoMemory.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-storage&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/storage/object/DownloadObjectIntoMemory.java) |
4 changes: 2 additions & 2 deletions gapic-google-cloud-storage-v2/pom.xml
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>gapic-google-cloud-storage-v2</artifactId>
<version>2.6.1-alpha</version><!-- {x-version-update:gapic-google-cloud-storage-v2:current} -->
<version>2.7.0-alpha</version><!-- {x-version-update:gapic-google-cloud-storage-v2:current} -->
<name>gapic-google-cloud-storage-v2</name>
<description>GRPC library for gapic-google-cloud-storage-v2</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-storage-parent</artifactId>
<version>2.6.1</version><!-- {x-version-update:google-cloud-storage:current} -->
<version>2.7.0</version><!-- {x-version-update:google-cloud-storage:current} -->
</parent>
<dependencies>
<dependency>
Loading