We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10cdc4f commit 223c35eCopy full SHA for 223c35e
packages/google-cloud-essentialcontacts/src/v1/essential_contacts_service_client.ts
@@ -132,6 +132,12 @@ export class EssentialContactsServiceClient {
132
// Save the auth object to the client, for use by other methods.
133
this.auth = this._gaxGrpc.auth as gax.GoogleAuth;
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
141
// Set the default scopes in auth client if needed.
142
if (servicePath === staticMembers.servicePath) {
143
this.auth.defaultScopes = staticMembers.scopes;
0 commit comments