File tree Expand file tree Collapse file tree
google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -526,7 +526,9 @@ public static List<String> getDefaultServiceScopes() {
526526
527527 /** Returns a builder for the default credentials for this service. */
528528 public static GoogleCredentialsProvider .Builder defaultCredentialsProviderBuilder () {
529- return GoogleCredentialsProvider .newBuilder ().setScopesToApply (DEFAULT_SERVICE_SCOPES );
529+ return GoogleCredentialsProvider .newBuilder ()
530+ .setScopesToApply (DEFAULT_SERVICE_SCOPES )
531+ .setUseJwtAccessWithScope (true );
530532 }
531533
532534 /** Returns a builder for the default ChannelProvider for this service. */
Original file line number Diff line number Diff line change @@ -456,7 +456,9 @@ public static List<String> getDefaultServiceScopes() {
456456
457457 /** Returns a builder for the default credentials for this service. */
458458 public static GoogleCredentialsProvider .Builder defaultCredentialsProviderBuilder () {
459- return GoogleCredentialsProvider .newBuilder ().setScopesToApply (DEFAULT_SERVICE_SCOPES );
459+ return GoogleCredentialsProvider .newBuilder ()
460+ .setScopesToApply (DEFAULT_SERVICE_SCOPES )
461+ .setUseJwtAccessWithScope (true );
460462 }
461463
462464 /** Returns a builder for the default ChannelProvider for this service. */
Original file line number Diff line number Diff line change @@ -224,7 +224,9 @@ public static List<String> getDefaultServiceScopes() {
224224
225225 /** Returns a builder for the default credentials for this service. */
226226 public static GoogleCredentialsProvider .Builder defaultCredentialsProviderBuilder () {
227- return GoogleCredentialsProvider .newBuilder ().setScopesToApply (DEFAULT_SERVICE_SCOPES );
227+ return GoogleCredentialsProvider .newBuilder ()
228+ .setScopesToApply (DEFAULT_SERVICE_SCOPES )
229+ .setUseJwtAccessWithScope (true );
228230 }
229231
230232 /** Returns a builder for the default ChannelProvider for this service. */
Original file line number Diff line number Diff line change 44 "git": {
55 "name": ".",
66 "remote": "https://github.com/googleapis/java-logging.git",
7- "sha": "7a53c20104d5c77559d94c197bb1c07cf99cf3da "
7+ "sha": "f7d195378741dc46364bbb813a120ebee56d29d2 "
88 }
99 },
1010 {
1111 "git": {
1212 "name": "googleapis",
1313 "remote": "https://github.com/googleapis/googleapis.git",
14- "sha": "a47f0a4aa9ef834edf40d5b8269e9b6c277bb699 ",
15- "internalRef": "388769359 "
14+ "sha": "e1738ee972b49fd0c4d4718b035444495142b781 ",
15+ "internalRef": "391407209 "
1616 }
1717 },
1818 {
You can’t perform that action at this time.
0 commit comments