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 (#49)
Browse files Browse the repository at this point in the history
- [x] Regenerate this pull request now.

PiperOrigin-RevId: 391407209

Source-Link: googleapis/googleapis@e1738ee

Source-Link: googleapis/googleapis-gen@ee19262
  • Loading branch information
gcf-owl-bot[bot] committed Aug 24, 2021
1 parent 6819c6f commit 53b0555
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -138,7 +138,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

0 comments on commit 53b0555

Please sign in to comment.