File tree 1 file changed +7
-0
lines changed
packages/google-api-servicemanagement/src/v1
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,12 @@ export class ServiceManagerClient {
132
132
// Save the auth object to the client, for use by other methods.
133
133
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
134
134
135
+ // Set useJWTAccessWithScope on the auth object.
136
+ this . auth . useJWTAccessWithScope = true ;
137
+
138
+ // Set defaultServicePath on the auth object.
139
+ this . auth . defaultServicePath = staticMembers . servicePath ;
140
+
135
141
// Set the default scopes in auth client if needed.
136
142
if ( servicePath === staticMembers . servicePath ) {
137
143
this . auth . defaultScopes = staticMembers . scopes ;
@@ -2669,6 +2675,7 @@ export class ServiceManagerClient {
2669
2675
return this . serviceManagerStub ! . then ( stub => {
2670
2676
this . _terminated = true ;
2671
2677
stub . close ( ) ;
2678
+ this . operationsClient . close ( ) ;
2672
2679
} ) ;
2673
2680
}
2674
2681
return Promise . resolve ( ) ;
You can’t perform that action at this time.
0 commit comments