Skip to content

Commit

Permalink
chore: update gapic-generator-java version to 2.1.0 (#968)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/6365b2bc-a486-4d8a-8f66-61d435fb7829/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 391407209
Source-Link: googleapis/googleapis@e1738ee
  • Loading branch information
yoshi-automation committed Sep 3, 2021
1 parent 62b9925 commit beb88d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Expand Up @@ -157,7 +157,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
3 changes: 2 additions & 1 deletion synth.metadata
Expand Up @@ -11,7 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "eb7c9d1c3915851dd8b357ee950e0467490bce34"
"sha": "e1738ee972b49fd0c4d4718b035444495142b781",
"internalRef": "391407209"
}
},
{
Expand Down

0 comments on commit beb88d9

Please sign in to comment.