Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit ae434ed

Browse files
1 parent c609e89 commit ae434ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+660
-358
lines changed

google/cloud/dialogflow_v2/services/agents/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ def __init__(
343343
client_cert_source_for_mtls=client_cert_source_func,
344344
quota_project_id=client_options.quota_project_id,
345345
client_info=client_info,
346+
always_use_jwt_access=(
347+
Transport == type(self).get_transport_class("grpc")
348+
or Transport == type(self).get_transport_class("grpc_asyncio")
349+
),
346350
)
347351

348352
def get_agent(

google/cloud/dialogflow_v2/services/answer_records/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ def __init__(
345345
client_cert_source_for_mtls=client_cert_source_func,
346346
quota_project_id=client_options.quota_project_id,
347347
client_info=client_info,
348+
always_use_jwt_access=(
349+
Transport == type(self).get_transport_class("grpc")
350+
or Transport == type(self).get_transport_class("grpc_asyncio")
351+
),
348352
)
349353

350354
def list_answer_records(

google/cloud/dialogflow_v2/services/contexts/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ def __init__(
345345
client_cert_source_for_mtls=client_cert_source_func,
346346
quota_project_id=client_options.quota_project_id,
347347
client_info=client_info,
348+
always_use_jwt_access=(
349+
Transport == type(self).get_transport_class("grpc")
350+
or Transport == type(self).get_transport_class("grpc_asyncio")
351+
),
348352
)
349353

350354
def list_contexts(

google/cloud/dialogflow_v2/services/conversation_profiles/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,10 @@ def __init__(
414414
client_cert_source_for_mtls=client_cert_source_func,
415415
quota_project_id=client_options.quota_project_id,
416416
client_info=client_info,
417+
always_use_jwt_access=(
418+
Transport == type(self).get_transport_class("grpc")
419+
or Transport == type(self).get_transport_class("grpc_asyncio")
420+
),
417421
)
418422

419423
def list_conversation_profiles(

google/cloud/dialogflow_v2/services/conversations/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,10 @@ def __init__(
378378
client_cert_source_for_mtls=client_cert_source_func,
379379
quota_project_id=client_options.quota_project_id,
380380
client_info=client_info,
381+
always_use_jwt_access=(
382+
Transport == type(self).get_transport_class("grpc")
383+
or Transport == type(self).get_transport_class("grpc_asyncio")
384+
),
381385
)
382386

383387
def create_conversation(

google/cloud/dialogflow_v2/services/documents/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ def __init__(
349349
client_cert_source_for_mtls=client_cert_source_func,
350350
quota_project_id=client_options.quota_project_id,
351351
client_info=client_info,
352+
always_use_jwt_access=(
353+
Transport == type(self).get_transport_class("grpc")
354+
or Transport == type(self).get_transport_class("grpc_asyncio")
355+
),
352356
)
353357

354358
def list_documents(

google/cloud/dialogflow_v2/services/entity_types/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,10 @@ def __init__(
348348
client_cert_source_for_mtls=client_cert_source_func,
349349
quota_project_id=client_options.quota_project_id,
350350
client_info=client_info,
351+
always_use_jwt_access=(
352+
Transport == type(self).get_transport_class("grpc")
353+
or Transport == type(self).get_transport_class("grpc_asyncio")
354+
),
351355
)
352356

353357
def list_entity_types(

google/cloud/dialogflow_v2/services/environments/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,10 @@ def __init__(
371371
client_cert_source_for_mtls=client_cert_source_func,
372372
quota_project_id=client_options.quota_project_id,
373373
client_info=client_info,
374+
always_use_jwt_access=(
375+
Transport == type(self).get_transport_class("grpc")
376+
or Transport == type(self).get_transport_class("grpc_asyncio")
377+
),
374378
)
375379

376380
def list_environments(

google/cloud/dialogflow_v2/services/fulfillments/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,10 @@ def __init__(
340340
client_cert_source_for_mtls=client_cert_source_func,
341341
quota_project_id=client_options.quota_project_id,
342342
client_info=client_info,
343+
always_use_jwt_access=(
344+
Transport == type(self).get_transport_class("grpc")
345+
or Transport == type(self).get_transport_class("grpc_asyncio")
346+
),
343347
)
344348

345349
def get_fulfillment(

google/cloud/dialogflow_v2/services/intents/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ def __init__(
362362
client_cert_source_for_mtls=client_cert_source_func,
363363
quota_project_id=client_options.quota_project_id,
364364
client_info=client_info,
365+
always_use_jwt_access=(
366+
Transport == type(self).get_transport_class("grpc")
367+
or Transport == type(self).get_transport_class("grpc_asyncio")
368+
),
365369
)
366370

367371
def list_intents(

google/cloud/dialogflow_v2/services/knowledge_bases/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,10 @@ def __init__(
347347
client_cert_source_for_mtls=client_cert_source_func,
348348
quota_project_id=client_options.quota_project_id,
349349
client_info=client_info,
350+
always_use_jwt_access=(
351+
Transport == type(self).get_transport_class("grpc")
352+
or Transport == type(self).get_transport_class("grpc_asyncio")
353+
),
350354
)
351355

352356
def list_knowledge_bases(

google/cloud/dialogflow_v2/services/participants/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,10 @@ def __init__(
408408
client_cert_source_for_mtls=client_cert_source_func,
409409
quota_project_id=client_options.quota_project_id,
410410
client_info=client_info,
411+
always_use_jwt_access=(
412+
Transport == type(self).get_transport_class("grpc")
413+
or Transport == type(self).get_transport_class("grpc_asyncio")
414+
),
411415
)
412416

413417
def create_participant(

google/cloud/dialogflow_v2/services/session_entity_types/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@ def __init__(
353353
client_cert_source_for_mtls=client_cert_source_func,
354354
quota_project_id=client_options.quota_project_id,
355355
client_info=client_info,
356+
always_use_jwt_access=(
357+
Transport == type(self).get_transport_class("grpc")
358+
or Transport == type(self).get_transport_class("grpc_asyncio")
359+
),
356360
)
357361

358362
def list_session_entity_types(

google/cloud/dialogflow_v2/services/sessions/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,10 @@ def __init__(
402402
client_cert_source_for_mtls=client_cert_source_func,
403403
quota_project_id=client_options.quota_project_id,
404404
client_info=client_info,
405+
always_use_jwt_access=(
406+
Transport == type(self).get_transport_class("grpc")
407+
or Transport == type(self).get_transport_class("grpc_asyncio")
408+
),
405409
)
406410

407411
def detect_intent(

google/cloud/dialogflow_v2/services/versions/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,10 @@ def __init__(
344344
client_cert_source_for_mtls=client_cert_source_func,
345345
quota_project_id=client_options.quota_project_id,
346346
client_info=client_info,
347+
always_use_jwt_access=(
348+
Transport == type(self).get_transport_class("grpc")
349+
or Transport == type(self).get_transport_class("grpc_asyncio")
350+
),
347351
)
348352

349353
def list_versions(

google/cloud/dialogflow_v2beta1/services/agents/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ def __init__(
345345
client_cert_source_for_mtls=client_cert_source_func,
346346
quota_project_id=client_options.quota_project_id,
347347
client_info=client_info,
348+
always_use_jwt_access=(
349+
Transport == type(self).get_transport_class("grpc")
350+
or Transport == type(self).get_transport_class("grpc_asyncio")
351+
),
348352
)
349353

350354
def get_agent(

google/cloud/dialogflow_v2beta1/services/answer_records/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,10 @@ def __init__(
346346
client_cert_source_for_mtls=client_cert_source_func,
347347
quota_project_id=client_options.quota_project_id,
348348
client_info=client_info,
349+
always_use_jwt_access=(
350+
Transport == type(self).get_transport_class("grpc")
351+
or Transport == type(self).get_transport_class("grpc_asyncio")
352+
),
349353
)
350354

351355
def get_answer_record(

google/cloud/dialogflow_v2beta1/services/contexts/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,10 @@ def __init__(
347347
client_cert_source_for_mtls=client_cert_source_func,
348348
quota_project_id=client_options.quota_project_id,
349349
client_info=client_info,
350+
always_use_jwt_access=(
351+
Transport == type(self).get_transport_class("grpc")
352+
or Transport == type(self).get_transport_class("grpc_asyncio")
353+
),
350354
)
351355

352356
def list_contexts(

google/cloud/dialogflow_v2beta1/services/conversation_profiles/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,10 @@ def __init__(
414414
client_cert_source_for_mtls=client_cert_source_func,
415415
quota_project_id=client_options.quota_project_id,
416416
client_info=client_info,
417+
always_use_jwt_access=(
418+
Transport == type(self).get_transport_class("grpc")
419+
or Transport == type(self).get_transport_class("grpc_asyncio")
420+
),
417421
)
418422

419423
def list_conversation_profiles(

google/cloud/dialogflow_v2beta1/services/conversations/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,10 @@ def __init__(
378378
client_cert_source_for_mtls=client_cert_source_func,
379379
quota_project_id=client_options.quota_project_id,
380380
client_info=client_info,
381+
always_use_jwt_access=(
382+
Transport == type(self).get_transport_class("grpc")
383+
or Transport == type(self).get_transport_class("grpc_asyncio")
384+
),
381385
)
382386

383387
def create_conversation(

google/cloud/dialogflow_v2beta1/services/documents/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,10 @@ def __init__(
350350
client_cert_source_for_mtls=client_cert_source_func,
351351
quota_project_id=client_options.quota_project_id,
352352
client_info=client_info,
353+
always_use_jwt_access=(
354+
Transport == type(self).get_transport_class("grpc")
355+
or Transport == type(self).get_transport_class("grpc_asyncio")
356+
),
353357
)
354358

355359
def list_documents(

google/cloud/dialogflow_v2beta1/services/entity_types/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ def __init__(
349349
client_cert_source_for_mtls=client_cert_source_func,
350350
quota_project_id=client_options.quota_project_id,
351351
client_info=client_info,
352+
always_use_jwt_access=(
353+
Transport == type(self).get_transport_class("grpc")
354+
or Transport == type(self).get_transport_class("grpc_asyncio")
355+
),
352356
)
353357

354358
def list_entity_types(

google/cloud/dialogflow_v2beta1/services/environments/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,10 @@ def __init__(
356356
client_cert_source_for_mtls=client_cert_source_func,
357357
quota_project_id=client_options.quota_project_id,
358358
client_info=client_info,
359+
always_use_jwt_access=(
360+
Transport == type(self).get_transport_class("grpc")
361+
or Transport == type(self).get_transport_class("grpc_asyncio")
362+
),
359363
)
360364

361365
def list_environments(

google/cloud/dialogflow_v2beta1/services/fulfillments/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,10 @@ def __init__(
340340
client_cert_source_for_mtls=client_cert_source_func,
341341
quota_project_id=client_options.quota_project_id,
342342
client_info=client_info,
343+
always_use_jwt_access=(
344+
Transport == type(self).get_transport_class("grpc")
345+
or Transport == type(self).get_transport_class("grpc_asyncio")
346+
),
343347
)
344348

345349
def get_fulfillment(

google/cloud/dialogflow_v2beta1/services/intents/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ def __init__(
364364
client_cert_source_for_mtls=client_cert_source_func,
365365
quota_project_id=client_options.quota_project_id,
366366
client_info=client_info,
367+
always_use_jwt_access=(
368+
Transport == type(self).get_transport_class("grpc")
369+
or Transport == type(self).get_transport_class("grpc_asyncio")
370+
),
367371
)
368372

369373
def list_intents(

google/cloud/dialogflow_v2beta1/services/knowledge_bases/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,10 @@ def __init__(
347347
client_cert_source_for_mtls=client_cert_source_func,
348348
quota_project_id=client_options.quota_project_id,
349349
client_info=client_info,
350+
always_use_jwt_access=(
351+
Transport == type(self).get_transport_class("grpc")
352+
or Transport == type(self).get_transport_class("grpc_asyncio")
353+
),
350354
)
351355

352356
def list_knowledge_bases(

google/cloud/dialogflow_v2beta1/services/participants/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,10 @@ def __init__(
425425
client_cert_source_for_mtls=client_cert_source_func,
426426
quota_project_id=client_options.quota_project_id,
427427
client_info=client_info,
428+
always_use_jwt_access=(
429+
Transport == type(self).get_transport_class("grpc")
430+
or Transport == type(self).get_transport_class("grpc_asyncio")
431+
),
428432
)
429433

430434
def create_participant(

google/cloud/dialogflow_v2beta1/services/session_entity_types/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@ def __init__(
353353
client_cert_source_for_mtls=client_cert_source_func,
354354
quota_project_id=client_options.quota_project_id,
355355
client_info=client_info,
356+
always_use_jwt_access=(
357+
Transport == type(self).get_transport_class("grpc")
358+
or Transport == type(self).get_transport_class("grpc_asyncio")
359+
),
356360
)
357361

358362
def list_session_entity_types(

google/cloud/dialogflow_v2beta1/services/sessions/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,10 @@ def __init__(
418418
client_cert_source_for_mtls=client_cert_source_func,
419419
quota_project_id=client_options.quota_project_id,
420420
client_info=client_info,
421+
always_use_jwt_access=(
422+
Transport == type(self).get_transport_class("grpc")
423+
or Transport == type(self).get_transport_class("grpc_asyncio")
424+
),
421425
)
422426

423427
def detect_intent(

google/cloud/dialogflow_v2beta1/services/versions/client.py

+4
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,10 @@ def __init__(
346346
client_cert_source_for_mtls=client_cert_source_func,
347347
quota_project_id=client_options.quota_project_id,
348348
client_info=client_info,
349+
always_use_jwt_access=(
350+
Transport == type(self).get_transport_class("grpc")
351+
or Transport == type(self).get_transport_class("grpc_asyncio")
352+
),
349353
)
350354

351355
def list_versions(

0 commit comments

Comments
 (0)