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

Commit

Permalink
chore: update gapic-generator-java version to 2.1.0 (#533)
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 f7542a5 commit ce3ec23
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -262,7 +262,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 ce3ec23

Please sign in to comment.