-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running in GCE, it should respect GOOGLE_APPLICATION_CREDENTIALS first #867
Comments
Might be a dumb question: I see the variable is there for |
Arie - I feel what you mentioned is probably it. I was able to 100% sure Thanks!
|
Setting the env var |
Let me correct my last comment: I see you are actually using 0.1.7 and @aozarov is right, extracting project id from the JSON credentials pointed by |
gcloud-java <dependency>
<groupId>com.google.cloud</groupId>
<artifactId>gcloud-java</artifactId>
<version>0.2.0</version>
</dependency> Can this issue be closed? |
thnx! |
Source-Link: googleapis/synthtool@625c20e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:58ccd4737212f64a7dd4b3063d447447acf71a2b9d409eab19fc7a00b18eadc0
…867) * chore(deps): update dependency com.google.cloud:libraries-bom to v26 * 🦉 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>
…1.3 (#867) [![Mend 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.11.2` -> `2.11.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.3/compatibility-slim/2.11.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.3/confidence-slim/2.11.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-storage</summary> ### [`v2.11.3`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#​2113-httpsgithubcomgoogleapisjava-storagecomparev2112v2113-2022-08-08) [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.11.2...v2.11.3) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.120.11 ([#​1551](https://togithub.com/googleapis/java-storage/issues/1551)) ([0fc2d33](https://togithub.com/googleapis/java-storage/commit/0fc2d336c536deb3efe95e770d47fc898af12323)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTAuNCIsInVwZGF0ZWRJblZlciI6IjMyLjE1NC40In0=-->
🤖 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).
🤖 I have created a release *beep* *boop* --- ## [2.7.0](googleapis/java-document-ai@v2.6.2...v2.7.0) (2022-09-16) ### Features * Added Barcode support ([0ba37e1](googleapis/java-document-ai@0ba37e1)) * Added corrected_key_text, correct_value_text to FormField object in document.proto ([0ba37e1](googleapis/java-document-ai@0ba37e1)) * Added field_mask to ProcessRequest object in document_processor_service.proto ([0ba37e1](googleapis/java-document-ai@0ba37e1)) * Added integer_values, float_values and non_present to Entity object in document.proto ([0ba37e1](googleapis/java-document-ai@0ba37e1)) * Added OperationMetadata resource ([0ba37e1](googleapis/java-document-ai@0ba37e1)) * Added parent_ids to Revision object in document.proto ([0ba37e1](googleapis/java-document-ai@0ba37e1)) * Added Processor Management and Processor Version support to v1 library ([0ba37e1](googleapis/java-document-ai@0ba37e1)) ### Dependencies * Update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 ([#876](googleapis/java-document-ai#876)) ([0d6068d](googleapis/java-document-ai@0d6068d)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#881](googleapis/java-document-ai#881)) ([29da839](googleapis/java-document-ai@29da839)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#882](googleapis/java-document-ai#882)) ([9a6c73c](googleapis/java-document-ai@9a6c73c)) * Update dependency com.google.cloud:google-cloud-storage to v2.11.3 ([#867](googleapis/java-document-ai#867)) ([9772dc2](googleapis/java-document-ai@9772dc2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [1.5.6](https://togithub.com/googleapis/java-resourcemanager/compare/v1.5.5...v1.5.6) (2022-10-03) ### Dependencies * Update dependency cachetools to v5 ([#864](https://togithub.com/googleapis/java-resourcemanager/issues/864)) ([5c8078b](https://togithub.com/googleapis/java-resourcemanager/commit/5c8078b5a43ef1fdeb47e4df82ea00609a4b4238)) * Update dependency certifi to v2022.9.24 ([#845](https://togithub.com/googleapis/java-resourcemanager/issues/845)) ([21ecab5](https://togithub.com/googleapis/java-resourcemanager/commit/21ecab5190d5fc326a0b621aff1d9fb8ec4418b4)) * Update dependency charset-normalizer to v2.1.1 ([#849](https://togithub.com/googleapis/java-resourcemanager/issues/849)) ([666d51e](https://togithub.com/googleapis/java-resourcemanager/commit/666d51e245d1c43fa2c2e07b0ec8076a033a4395)) * Update dependency click to v8.1.3 ([#850](https://togithub.com/googleapis/java-resourcemanager/issues/850)) ([e3c4f45](https://togithub.com/googleapis/java-resourcemanager/commit/e3c4f456578c70369b8c1c661aeb3507883940c1)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#869](https://togithub.com/googleapis/java-resourcemanager/issues/869)) ([b8eeb07](https://togithub.com/googleapis/java-resourcemanager/commit/b8eeb078dd899f422f1c652d88037b33a074d38d)) * Update dependency gcp-releasetool to v1.8.8 ([#844](https://togithub.com/googleapis/java-resourcemanager/issues/844)) ([4d89f10](https://togithub.com/googleapis/java-resourcemanager/commit/4d89f1036306f0c8c50afa424bea271724f4a9eb)) * Update dependency google-api-core to v2.10.1 ([#851](https://togithub.com/googleapis/java-resourcemanager/issues/851)) ([330684b](https://togithub.com/googleapis/java-resourcemanager/commit/330684b8251c6b28b8b77d22d739296d0869680a)) * Update dependency google-auth to v2.11.1 ([#846](https://togithub.com/googleapis/java-resourcemanager/issues/846)) ([9bdd15a](https://togithub.com/googleapis/java-resourcemanager/commit/9bdd15a5b490a3d194394c02c814b267ef2e3552)) * Update dependency google-auth to v2.12.0 ([#867](https://togithub.com/googleapis/java-resourcemanager/issues/867)) ([785ce62](https://togithub.com/googleapis/java-resourcemanager/commit/785ce62600848991764548aa5587db4d64fdd9b2)) * Update dependency google-cloud-core to v2.3.2 ([#847](https://togithub.com/googleapis/java-resourcemanager/issues/847)) ([a236eec](https://togithub.com/googleapis/java-resourcemanager/commit/a236eecbb4235e32d30783854fc5cfaff271308b)) * Update dependency google-cloud-storage to v2.5.0 ([#852](https://togithub.com/googleapis/java-resourcemanager/issues/852)) ([2909d4f](https://togithub.com/googleapis/java-resourcemanager/commit/2909d4f5e1ced0fc8bf604dff4835cb0f00ffd8a)) * Update dependency google-crc32c to v1.5.0 ([#853](https://togithub.com/googleapis/java-resourcemanager/issues/853)) ([cc0b569](https://togithub.com/googleapis/java-resourcemanager/commit/cc0b56911719f5eaf90446c1bad3973effef9644)) * Update dependency googleapis-common-protos to v1.56.4 ([#848](https://togithub.com/googleapis/java-resourcemanager/issues/848)) ([9453cbf](https://togithub.com/googleapis/java-resourcemanager/commit/9453cbf605c8273a45e9eb293d1e3ceea1e6319c)) * Update dependency importlib-metadata to v4.12.0 ([#854](https://togithub.com/googleapis/java-resourcemanager/issues/854)) ([799d83b](https://togithub.com/googleapis/java-resourcemanager/commit/799d83b78e63533b7b4c4a104674d085bc3945e7)) * Update dependency jeepney to v0.8.0 ([#861](https://togithub.com/googleapis/java-resourcemanager/issues/861)) ([d2c2040](https://togithub.com/googleapis/java-resourcemanager/commit/d2c20402e797ab782dfc4acdbe14bbca10cef026)) * Update dependency jinja2 to v3.1.2 ([#862](https://togithub.com/googleapis/java-resourcemanager/issues/862)) ([56a5934](https://togithub.com/googleapis/java-resourcemanager/commit/56a593419832ff70f14de9daaea78b976d3a980c)) * Update dependency keyring to v23.9.3 ([#863](https://togithub.com/googleapis/java-resourcemanager/issues/863)) ([722917b](https://togithub.com/googleapis/java-resourcemanager/commit/722917ba6a2ac56a259302f1eff5a6c7936affd3)) * Update dependency markupsafe to v2.1.1 ([#855](https://togithub.com/googleapis/java-resourcemanager/issues/855)) ([5c0a032](https://togithub.com/googleapis/java-resourcemanager/commit/5c0a032fb808c506ab4b776d14c52bc08b8b29dd)) * Update dependency protobuf to v3.20.2 ([#856](https://togithub.com/googleapis/java-resourcemanager/issues/856)) ([9f374d9](https://togithub.com/googleapis/java-resourcemanager/commit/9f374d9487985c8f7a650275b5bf65fb2011ec15)) * Update dependency protobuf to v4 ([#865](https://togithub.com/googleapis/java-resourcemanager/issues/865)) ([32fab80](https://togithub.com/googleapis/java-resourcemanager/commit/32fab8076b1b79832914a9d40e82e0de149c853d)) * Update dependency pyjwt to v2.5.0 ([#857](https://togithub.com/googleapis/java-resourcemanager/issues/857)) ([e9b775c](https://togithub.com/googleapis/java-resourcemanager/commit/e9b775c0b3d29f60e277ae42d645af1a0a5850a3)) * Update dependency typing-extensions to v4.3.0 ([#859](https://togithub.com/googleapis/java-resourcemanager/issues/859)) ([d9da376](https://togithub.com/googleapis/java-resourcemanager/commit/d9da3765c6498097bab92d338230f27fd2318a1c)) * Update dependency zipp to v3.8.1 ([#860](https://togithub.com/googleapis/java-resourcemanager/issues/860)) ([1f363b5](https://togithub.com/googleapis/java-resourcemanager/commit/1f363b582c316bcef7afdee202ccef4293fc0659)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
…1.3 (googleapis#867) [![Mend 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/googleapis/java-cloud-bom)) | `26.1.2` -> `26.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/compatibility-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/confidence-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-scheduler). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTkuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIxOS4xIn0=-->
🤖 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).
[![Mend 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:grpc-gcp](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/tree/master/grpc-gcp) ([source](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java)) | `1.2.1` -> `1.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.0/compatibility-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.0/confidence-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>GoogleCloudPlatform/grpc-gcp-java</summary> ### [`v1.3.0`](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/releases/tag/v1.3.0) [Compare Source](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/compare/v1.2.1...v1.3.0) ##### Features - Add switching delay to GcpMultiEndpointChannel. ([#​145](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/145)) - Look for a multi-endpoint specified in gRPC context. ([#​149](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/149)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMzQuMiIsInVwZGF0ZWRJblZlciI6IjMyLjIzNC4yIn0=-->
🤖 I have created a release *beep* *boop* --- ## [3.0.5](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.4...v3.0.5) (2022-10-20) ### Dependencies * Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4.20221013 ([#868](https://togithub.com/googleapis/java-shared-dependencies/issues/868)) ([5c2a825](https://togithub.com/googleapis/java-shared-dependencies/commit/5c2a825c18af61784287dd41eba3a21be80bbe6b)) * Update dependency com.google.auth:google-auth-library-bom to v1.12.0 ([#870](https://togithub.com/googleapis/java-shared-dependencies/issues/870)) ([3e3a60d](https://togithub.com/googleapis/java-shared-dependencies/commit/3e3a60dfd45f08401ee3ac7a98007fae21d5bba6)) * Update dependency com.google.auth:google-auth-library-bom to v1.12.1 ([#871](https://togithub.com/googleapis/java-shared-dependencies/issues/871)) ([4d94c75](https://togithub.com/googleapis/java-shared-dependencies/commit/4d94c753b46d7f8c787b0efa21d7bc42b1ca1c6c)) * Update dependency com.google.cloud:grpc-gcp to v1.3.0 ([#867](https://togithub.com/googleapis/java-shared-dependencies/issues/867)) ([48ca222](https://togithub.com/googleapis/java-shared-dependencies/commit/48ca222a5e4d9f88737d4c4a4ee2a42a7145619e)) * Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#865](https://togithub.com/googleapis/java-shared-dependencies/issues/865)) ([d7a494d](https://togithub.com/googleapis/java-shared-dependencies/commit/d7a494dcd12a529121b74fd9fb9dfc679017f844)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#872](https://togithub.com/googleapis/java-shared-dependencies/issues/872)) ([ebe5d5f](https://togithub.com/googleapis/java-shared-dependencies/commit/ebe5d5f27dbe4f12c06d3a69c14c74bbf4e76dd1)) * Update dependency gcp-releasetool to v1.8.10 ([#853](https://togithub.com/googleapis/java-shared-dependencies/issues/853)) ([5c6367a](https://togithub.com/googleapis/java-shared-dependencies/commit/5c6367a643f491d2ec04be58c1ff0eca5aa10904)) * Update dependency google-api-core to v2.10.2 ([#858](https://togithub.com/googleapis/java-shared-dependencies/issues/858)) ([bc91e8d](https://togithub.com/googleapis/java-shared-dependencies/commit/bc91e8df54f9d919a9e0dc69e61d52fd855a8dbf)) * Update dependency io.grpc:grpc-bom to v1.50.0 ([#866](https://togithub.com/googleapis/java-shared-dependencies/issues/866)) ([50039f4](https://togithub.com/googleapis/java-shared-dependencies/commit/50039f41bfba37e65685c4a5b279d3cb2a92f2c5)) * Update dependency io.grpc:grpc-bom to v1.50.1 ([#873](https://togithub.com/googleapis/java-shared-dependencies/issues/873)) ([9fb1561](https://togithub.com/googleapis/java-shared-dependencies/commit/9fb15613976f83c5545e2b664c488e9811c1f185)) * Update dependency org.checkerframework:checker-qual to v3.26.0 ([#852](https://togithub.com/googleapis/java-shared-dependencies/issues/852)) ([1e8cd60](https://togithub.com/googleapis/java-shared-dependencies/commit/1e8cd609b3be0cdd748a8fea6bc0fcb15d8f4c96)) * Update dependency org.threeten:threetenbp to v1.6.3 ([#869](https://togithub.com/googleapis/java-shared-dependencies/issues/869)) ([e992190](https://togithub.com/googleapis/java-shared-dependencies/commit/e9921900ec590e281b5ae6e16ab51e7bd67c1242)) * Update dependency typing-extensions to v4.4.0 ([#854](https://togithub.com/googleapis/java-shared-dependencies/issues/854)) ([c909a13](https://togithub.com/googleapis/java-shared-dependencies/commit/c909a13fa626eb387c8ee87b7cc22607cb9cf889)) * Update dependency zipp to v3.9.0 ([#859](https://togithub.com/googleapis/java-shared-dependencies/issues/859)) ([971b84e](https://togithub.com/googleapis/java-shared-dependencies/commit/971b84eb801699b585cd35300bed8d4fb65046d8)) * Update gax.version to v2.19.4 ([#875](https://togithub.com/googleapis/java-shared-dependencies/issues/875)) ([2eb7f3d](https://togithub.com/googleapis/java-shared-dependencies/commit/2eb7f3d6cf834c474dcdc99740f8cdabf50bca51)) * Update google.core.version to v2.8.21 ([#861](https://togithub.com/googleapis/java-shared-dependencies/issues/861)) ([2fda421](https://togithub.com/googleapis/java-shared-dependencies/commit/2fda4213796df086450fdc3d69d53a0bd1d59f46)) * Update google.core.version to v2.8.22 ([#879](https://togithub.com/googleapis/java-shared-dependencies/issues/879)) ([e4f9f9a](https://togithub.com/googleapis/java-shared-dependencies/commit/e4f9f9ad6373fb52c069985ca4390663ccdacb7d)) * Update iam.version to v1.6.3 ([#857](https://togithub.com/googleapis/java-shared-dependencies/issues/857)) ([6758373](https://togithub.com/googleapis/java-shared-dependencies/commit/675837378642f39fe55c0e30b62755b9185bee3d)) * Update iam.version to v1.6.4 ([#862](https://togithub.com/googleapis/java-shared-dependencies/issues/862)) ([1e1bc34](https://togithub.com/googleapis/java-shared-dependencies/commit/1e1bc341c9dd0f8f5a2d14aa8dd52399b2ce71c1)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
When running inside of GCE, it seems to be picking up machine credentials. I have credentials set via the env var
GOOGLE_APPLICATION_CREDENTIALS
When I start my app, it complains:
The text was updated successfully, but these errors were encountered: