From 784abc1b209dfd1d88de200c47782bd5a153e9f4 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 18 Aug 2021 01:40:15 -0700 Subject: [PATCH] chore: update gapic-generator-java version to 2.1.0 PiperOrigin-RevId: 391407209 Source-Author: Google APIs Source-Date: Tue Aug 17 16:48:10 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: e1738ee972b49fd0c4d4718b035444495142b781 Source-Link: https://github.com/googleapis/googleapis/commit/e1738ee972b49fd0c4d4718b035444495142b781 --- .../v1/stub/ContainerAnalysisStubSettings.java | 4 +++- synth.metadata | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java index 7b04cf5d..06e39ac0 100644 --- a/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java +++ b/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java @@ -152,7 +152,9 @@ public static List getDefaultServiceScopes() { /** Returns a builder for the default credentials for this service. */ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES); + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); } /** Returns a builder for the default ChannelProvider for this service. */ diff --git a/synth.metadata b/synth.metadata index a15638ef..b09230c2 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-containeranalysis.git", - "sha": "cd874a778e3f41fb32670cef4409c34f32c03bd7" + "sha": "b14ede570a51213e1962a7645934d2e523dc6c85" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a739464cacb3aa6d375683aefe16b79c21da1bb0", - "internalRef": "389657692" + "sha": "e1738ee972b49fd0c4d4718b035444495142b781", + "internalRef": "391407209" } }, {