Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit c15a998

Browse files
chore: update gapic-generator-java version to 2.1.0 (#660)
PiperOrigin-RevId: 391407209 Source-Author: Google APIs <noreply@google.com> Source-Date: Tue Aug 17 16:48:10 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: e1738ee972b49fd0c4d4718b035444495142b781 Source-Link: googleapis/googleapis@e1738ee Co-authored-by: Dina Graves Portman <dinagraves@google.com>
1 parent b40c5b7 commit c15a998

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/ContainerAnalysisStubSettings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ public static List<String> getDefaultServiceScopes() {
152152

153153
/** Returns a builder for the default credentials for this service. */
154154
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
155-
return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
155+
return GoogleCredentialsProvider.newBuilder()
156+
.setScopesToApply(DEFAULT_SERVICE_SCOPES)
157+
.setUseJwtAccessWithScope(true);
156158
}
157159

158160
/** Returns a builder for the default ChannelProvider for this service. */

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-containeranalysis.git",
7-
"sha": "7051453d344f9ec209201367137886a113bc7c64"
7+
"sha": "b14ede570a51213e1962a7645934d2e523dc6c85"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "a739464cacb3aa6d375683aefe16b79c21da1bb0",
15-
"internalRef": "389657692"
14+
"sha": "e1738ee972b49fd0c4d4718b035444495142b781",
15+
"internalRef": "391407209"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)