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

Commit

Permalink
chore: update gapic-generator-java version to 2.1.0 (#359)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yoshi-automation and dinagraves committed Aug 27, 2021
1 parent 8ebda59 commit 7bc63b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/main/java/io/grafeas/v1/stub/GrafeasStubSettings.java
Expand Up @@ -412,7 +412,9 @@ public static List<String> 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. */
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "d9eaf41de44d953458b18712a3f240bb4c564e48",
"internalRef": "388535346"
"sha": "e1738ee972b49fd0c4d4718b035444495142b781",
"internalRef": "391407209"
}
},
{
Expand Down

0 comments on commit 7bc63b7

Please sign in to comment.