Skip to content

Commit

Permalink
chore: update gapic-generator-java version to 2.1.0 (#1360)
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
  • Loading branch information
yoshi-automation committed Sep 24, 2021
1 parent 8cfe6af commit b52c9e9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Expand Up @@ -557,7 +557,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
Expand Up @@ -350,7 +350,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
Expand Up @@ -300,7 +300,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": "a739464cacb3aa6d375683aefe16b79c21da1bb0",
"internalRef": "389657692"
"sha": "e1738ee972b49fd0c4d4718b035444495142b781",
"internalRef": "391407209"
}
},
{
Expand Down

0 comments on commit b52c9e9

Please sign in to comment.