File tree 28 files changed +178
-0
lines changed
packages/google-cloud-dialogflow-cx/src 28 files changed +178
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,12 @@ export class AgentsClient {
133
133
// Save the auth object to the client, for use by other methods.
134
134
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
135
135
136
+ // Set useJWTAccessWithScope on the auth object.
137
+ this . auth . useJWTAccessWithScope = true ;
138
+
139
+ // Set defaultServicePath on the auth object.
140
+ this . auth . defaultServicePath = staticMembers . servicePath ;
141
+
136
142
// Set the default scopes in auth client if needed.
137
143
if ( servicePath === staticMembers . servicePath ) {
138
144
this . auth . defaultScopes = staticMembers . scopes ;
@@ -2967,6 +2973,7 @@ export class AgentsClient {
2967
2973
return this . agentsStub ! . then ( stub => {
2968
2974
this . _terminated = true ;
2969
2975
stub . close ( ) ;
2976
+ this . operationsClient . close ( ) ;
2970
2977
} ) ;
2971
2978
}
2972
2979
return Promise . resolve ( ) ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class EntityTypesClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -133,6 +133,12 @@ export class EnvironmentsClient {
133
133
// Save the auth object to the client, for use by other methods.
134
134
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
135
135
136
+ // Set useJWTAccessWithScope on the auth object.
137
+ this . auth . useJWTAccessWithScope = true ;
138
+
139
+ // Set defaultServicePath on the auth object.
140
+ this . auth . defaultServicePath = staticMembers . servicePath ;
141
+
136
142
// Set the default scopes in auth client if needed.
137
143
if ( servicePath === staticMembers . servicePath ) {
138
144
this . auth . defaultScopes = staticMembers . scopes ;
@@ -3134,6 +3140,7 @@ export class EnvironmentsClient {
3134
3140
return this . environmentsStub ! . then ( stub => {
3135
3141
this . _terminated = true ;
3136
3142
stub . close ( ) ;
3143
+ this . operationsClient . close ( ) ;
3137
3144
} ) ;
3138
3145
}
3139
3146
return Promise . resolve ( ) ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class ExperimentsClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -133,6 +133,12 @@ export class FlowsClient {
133
133
// Save the auth object to the client, for use by other methods.
134
134
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
135
135
136
+ // Set useJWTAccessWithScope on the auth object.
137
+ this . auth . useJWTAccessWithScope = true ;
138
+
139
+ // Set defaultServicePath on the auth object.
140
+ this . auth . defaultServicePath = staticMembers . servicePath ;
141
+
136
142
// Set the default scopes in auth client if needed.
137
143
if ( servicePath === staticMembers . servicePath ) {
138
144
this . auth . defaultScopes = staticMembers . scopes ;
@@ -3221,6 +3227,7 @@ export class FlowsClient {
3221
3227
return this . flowsStub ! . then ( stub => {
3222
3228
this . _terminated = true ;
3223
3229
stub . close ( ) ;
3230
+ this . operationsClient . close ( ) ;
3224
3231
} ) ;
3225
3232
}
3226
3233
return Promise . resolve ( ) ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class IntentsClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class PagesClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -132,6 +132,12 @@ export class SecuritySettingsServiceClient {
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 ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class SessionEntityTypesClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -124,6 +124,12 @@ export class SessionsClient {
124
124
// Save the auth object to the client, for use by other methods.
125
125
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
126
126
127
+ // Set useJWTAccessWithScope on the auth object.
128
+ this . auth . useJWTAccessWithScope = true ;
129
+
130
+ // Set defaultServicePath on the auth object.
131
+ this . auth . defaultServicePath = staticMembers . servicePath ;
132
+
127
133
// Set the default scopes in auth client if needed.
128
134
if ( servicePath === staticMembers . servicePath ) {
129
135
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -134,6 +134,12 @@ export class TestCasesClient {
134
134
// Save the auth object to the client, for use by other methods.
135
135
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
136
136
137
+ // Set useJWTAccessWithScope on the auth object.
138
+ this . auth . useJWTAccessWithScope = true ;
139
+
140
+ // Set defaultServicePath on the auth object.
141
+ this . auth . defaultServicePath = staticMembers . servicePath ;
142
+
137
143
// Set the default scopes in auth client if needed.
138
144
if ( servicePath === staticMembers . servicePath ) {
139
145
this . auth . defaultScopes = staticMembers . scopes ;
@@ -3592,6 +3598,7 @@ export class TestCasesClient {
3592
3598
return this . testCasesStub ! . then ( stub => {
3593
3599
this . _terminated = true ;
3594
3600
stub . close ( ) ;
3601
+ this . operationsClient . close ( ) ;
3595
3602
} ) ;
3596
3603
}
3597
3604
return Promise . resolve ( ) ;
Original file line number Diff line number Diff line change @@ -132,6 +132,12 @@ export class TransitionRouteGroupsClient {
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 ;
Original file line number Diff line number Diff line change @@ -133,6 +133,12 @@ export class VersionsClient {
133
133
// Save the auth object to the client, for use by other methods.
134
134
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
135
135
136
+ // Set useJWTAccessWithScope on the auth object.
137
+ this . auth . useJWTAccessWithScope = true ;
138
+
139
+ // Set defaultServicePath on the auth object.
140
+ this . auth . defaultServicePath = staticMembers . servicePath ;
141
+
136
142
// Set the default scopes in auth client if needed.
137
143
if ( servicePath === staticMembers . servicePath ) {
138
144
this . auth . defaultScopes = staticMembers . scopes ;
@@ -2655,6 +2661,7 @@ export class VersionsClient {
2655
2661
return this . versionsStub ! . then ( stub => {
2656
2662
this . _terminated = true ;
2657
2663
stub . close ( ) ;
2664
+ this . operationsClient . close ( ) ;
2658
2665
} ) ;
2659
2666
}
2660
2667
return Promise . resolve ( ) ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class WebhooksClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -133,6 +133,12 @@ export class AgentsClient {
133
133
// Save the auth object to the client, for use by other methods.
134
134
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
135
135
136
+ // Set useJWTAccessWithScope on the auth object.
137
+ this . auth . useJWTAccessWithScope = true ;
138
+
139
+ // Set defaultServicePath on the auth object.
140
+ this . auth . defaultServicePath = staticMembers . servicePath ;
141
+
136
142
// Set the default scopes in auth client if needed.
137
143
if ( servicePath === staticMembers . servicePath ) {
138
144
this . auth . defaultScopes = staticMembers . scopes ;
@@ -2978,6 +2984,7 @@ export class AgentsClient {
2978
2984
return this . agentsStub ! . then ( stub => {
2979
2985
this . _terminated = true ;
2980
2986
stub . close ( ) ;
2987
+ this . operationsClient . close ( ) ;
2981
2988
} ) ;
2982
2989
}
2983
2990
return Promise . resolve ( ) ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class EntityTypesClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -133,6 +133,12 @@ export class EnvironmentsClient {
133
133
// Save the auth object to the client, for use by other methods.
134
134
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
135
135
136
+ // Set useJWTAccessWithScope on the auth object.
137
+ this . auth . useJWTAccessWithScope = true ;
138
+
139
+ // Set defaultServicePath on the auth object.
140
+ this . auth . defaultServicePath = staticMembers . servicePath ;
141
+
136
142
// Set the default scopes in auth client if needed.
137
143
if ( servicePath === staticMembers . servicePath ) {
138
144
this . auth . defaultScopes = staticMembers . scopes ;
@@ -3140,6 +3146,7 @@ export class EnvironmentsClient {
3140
3146
return this . environmentsStub ! . then ( stub => {
3141
3147
this . _terminated = true ;
3142
3148
stub . close ( ) ;
3149
+ this . operationsClient . close ( ) ;
3143
3150
} ) ;
3144
3151
}
3145
3152
return Promise . resolve ( ) ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class ExperimentsClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -133,6 +133,12 @@ export class FlowsClient {
133
133
// Save the auth object to the client, for use by other methods.
134
134
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
135
135
136
+ // Set useJWTAccessWithScope on the auth object.
137
+ this . auth . useJWTAccessWithScope = true ;
138
+
139
+ // Set defaultServicePath on the auth object.
140
+ this . auth . defaultServicePath = staticMembers . servicePath ;
141
+
136
142
// Set the default scopes in auth client if needed.
137
143
if ( servicePath === staticMembers . servicePath ) {
138
144
this . auth . defaultScopes = staticMembers . scopes ;
@@ -3233,6 +3239,7 @@ export class FlowsClient {
3233
3239
return this . flowsStub ! . then ( stub => {
3234
3240
this . _terminated = true ;
3235
3241
stub . close ( ) ;
3242
+ this . operationsClient . close ( ) ;
3236
3243
} ) ;
3237
3244
}
3238
3245
return Promise . resolve ( ) ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class IntentsClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class PagesClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -132,6 +132,12 @@ export class SecuritySettingsServiceClient {
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 ;
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ export class SessionEntityTypesClient {
131
131
// Save the auth object to the client, for use by other methods.
132
132
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
133
133
134
+ // Set useJWTAccessWithScope on the auth object.
135
+ this . auth . useJWTAccessWithScope = true ;
136
+
137
+ // Set defaultServicePath on the auth object.
138
+ this . auth . defaultServicePath = staticMembers . servicePath ;
139
+
134
140
// Set the default scopes in auth client if needed.
135
141
if ( servicePath === staticMembers . servicePath ) {
136
142
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -124,6 +124,12 @@ export class SessionsClient {
124
124
// Save the auth object to the client, for use by other methods.
125
125
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
126
126
127
+ // Set useJWTAccessWithScope on the auth object.
128
+ this . auth . useJWTAccessWithScope = true ;
129
+
130
+ // Set defaultServicePath on the auth object.
131
+ this . auth . defaultServicePath = staticMembers . servicePath ;
132
+
127
133
// Set the default scopes in auth client if needed.
128
134
if ( servicePath === staticMembers . servicePath ) {
129
135
this . auth . defaultScopes = staticMembers . scopes ;
Original file line number Diff line number Diff line change @@ -134,6 +134,12 @@ export class TestCasesClient {
134
134
// Save the auth object to the client, for use by other methods.
135
135
this . auth = this . _gaxGrpc . auth as gax . GoogleAuth ;
136
136
137
+ // Set useJWTAccessWithScope on the auth object.
138
+ this . auth . useJWTAccessWithScope = true ;
139
+
140
+ // Set defaultServicePath on the auth object.
141
+ this . auth . defaultServicePath = staticMembers . servicePath ;
142
+
137
143
// Set the default scopes in auth client if needed.
138
144
if ( servicePath === staticMembers . servicePath ) {
139
145
this . auth . defaultScopes = staticMembers . scopes ;
@@ -3604,6 +3610,7 @@ export class TestCasesClient {
3604
3610
return this . testCasesStub ! . then ( stub => {
3605
3611
this . _terminated = true ;
3606
3612
stub . close ( ) ;
3613
+ this . operationsClient . close ( ) ;
3607
3614
} ) ;
3608
3615
}
3609
3616
return Promise . resolve ( ) ;
You can’t perform that action at this time.
0 commit comments