
    l                    V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z3Generated client library for dialogflow version v2.    )absolute_import)base_api)dialogflow_v2_messagesc                   l  ^  \ rS rSrSr\rSrSrSr	SS/r
SrS	rS
rSrS rSrSr     SU 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S  S!\R(                  5      r " S" S#\R(                  5      r " S$ S%\R(                  5      r  " S& S'\R(                  5      r! " S( S)\R(                  5      r" " S* S+\R(                  5      r# " S, S-\R(                  5      r$ " S. S/\R(                  5      r% " S0 S1\R(                  5      r& " S2 S3\R(                  5      r' " S4 S5\R(                  5      r( " S6 S7\R(                  5      r) " S8 S9\R(                  5      r* " S: S;\R(                  5      r+ " S< S=\R(                  5      r, " S> S?\R(                  5      r- " S@ SA\R(                  5      r. " SB SC\R(                  5      r/ " SD SE\R(                  5      r0 " SF SG\R(                  5      r1 " SH SI\R(                  5      r2 " SJ SK\R(                  5      r3 " SL SM\R(                  5      r4 " SN SO\R(                  5      r5 " SP SQ\R(                  5      r6 " SR SS\R(                  5      r7 " ST SU\R(                  5      r8 " SV SW\R(                  5      r9 " SX SY\R(                  5      r: " SZ S[\R(                  5      r; " S\ S]\R(                  5      r< " S^ S_\R(                  5      r= " S` Sa\R(                  5      r> " Sb Sc\R(                  5      r? " Sd Se\R(                  5      r@ " Sf Sg\R(                  5      rA " Sh Si\R(                  5      rB " Sj Sk\R(                  5      rC " Sl Sm\R(                  5      rD " Sn So\R(                  5      rE " Sp Sq\R(                  5      rF " Sr Ss\R(                  5      rG " St Su\R(                  5      rH " Sv Sw\R(                  5      rI " Sx Sy\R(                  5      rJ " Sz S{\R(                  5      rK " S| S}\R(                  5      rL " S~ S\R(                  5      rM " S S\R(                  5      rN " S S\R(                  5      rO " S S\R(                  5      rP " S S\R(                  5      rQ " S S\R(                  5      rR " S S\R(                  5      rS " S S\R(                  5      rT " S S\R(                  5      rU " S S\R(                  5      rV " S S\R(                  5      rWSrXU =rY$ )DialogflowV2
   z;Generated client library for service dialogflow version v2.z"https://dialogflow.googleapis.com/z'https://dialogflow.mtls.googleapis.com/
dialogflowz.https://www.googleapis.com/auth/cloud-platformz*https://www.googleapis.com/auth/dialogflowv2	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                   > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l	        U R                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l        U R!                  U 5      U l        U R%                  U 5      U l        U R)                  U 5      U l        U R-                  U 5      U l        U R1                  U 5      U l        U R5                  U 5      U l        U R9                  U 5      U l        U R=                  U 5      U l        U RA                  U 5      U l!        U RE                  U 5      U l#        U RI                  U 5      U l%        U RM                  U 5      U l'        U RQ                  U 5      U l)        U RU                  U 5      U l+        U RY                  U 5      U l-        U R]                  U 5      U l/        U Ra                  U 5      U l1        U Re                  U 5      U l3        U Ri                  U 5      U l5        U Rm                  U 5      U l7        U Rq                  U 5      U l9        U Ru                  U 5      U l;        U Ry                  U 5      U l=        U R}                  U 5      U l?        U R                  U 5      U lA        U R                  U 5      U lC        U R                  U 5      U lE        U R                  U 5      U lG        U R                  U 5      U lI        U R                  U 5      U lK        U R                  U 5      U lM        U R                  U 5      U lO        U R                  U 5      U lQ        U R                  U 5      U lS        U R                  U 5      U lU        U R                  U 5      U lW        U R                  U 5      U lY        U R                  U 5      U l[        U R                  U 5      U l]        U R                  U 5      U l_        U R                  U 5      U la        U R                  U 5      U lc        U R                  U 5      U le        U R                  U 5      U lg        U R                  U 5      U li        U R                  U 5      U lk        U R                  U 5      U lm        U R                  U 5      U lo        U R                  U 5      U lq        U R                  U 5      U ls        U R                  U 5      U lu        U R                  U 5      U lw        U R                  U 5      U ly        U R                  U 5      U l{        U R                  U 5      U l}        U R                  U 5      U l        U GR                  U 5      U l        U GR                  U 5      U l        U GR	                  U 5      U l        U GR                  U 5      U l        U GR                  U 5      U l        g)zCreate a new dialogflow handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__'ProjectsAgentEntityTypesEntitiesService#projects_agent_entityTypes_entitiesProjectsAgentEntityTypesServiceprojects_agent_entityTypes'ProjectsAgentEnvironmentsIntentsService#projects_agent_environments_intents5ProjectsAgentEnvironmentsUsersSessionsContextsService3projects_agent_environments_users_sessions_contexts8ProjectsAgentEnvironmentsUsersSessionsEntityTypesService6projects_agent_environments_users_sessions_entityTypes-ProjectsAgentEnvironmentsUsersSessionsService*projects_agent_environments_users_sessions%ProjectsAgentEnvironmentsUsersService!projects_agent_environments_users ProjectsAgentEnvironmentsServiceprojects_agent_environmentsProjectsAgentIntentsServiceprojects_agent_intents+ProjectsAgentKnowledgeBasesDocumentsService'projects_agent_knowledgeBases_documents"ProjectsAgentKnowledgeBasesServiceprojects_agent_knowledgeBases$ProjectsAgentSessionsContextsService projects_agent_sessions_contexts'ProjectsAgentSessionsEntityTypesService#projects_agent_sessions_entityTypesProjectsAgentSessionsServiceprojects_agent_sessionsProjectsAgentVersionsServiceprojects_agent_versionsProjectsAgentServiceprojects_agentProjectsAnswerRecordsServiceprojects_answerRecords#ProjectsConversationDatasetsServiceprojects_conversationDatasets,ProjectsConversationModelsEvaluationsService'projects_conversationModels_evaluations!ProjectsConversationModelsServiceprojects_conversationModels#ProjectsConversationProfilesServiceprojects_conversationProfiles$ProjectsConversationsMessagesServiceprojects_conversations_messages3ProjectsConversationsParticipantsSuggestionsService/projects_conversations_participants_suggestions(ProjectsConversationsParticipantsService#projects_conversations_participants'ProjectsConversationsSuggestionsService"projects_conversations_suggestionsProjectsConversationsServiceprojects_conversationsProjectsGeneratorsServiceprojects_generators&ProjectsKnowledgeBasesDocumentsService!projects_knowledgeBases_documentsProjectsKnowledgeBasesServiceprojects_knowledgeBases0ProjectsLocationsAgentEntityTypesEntitiesService-projects_locations_agent_entityTypes_entities(ProjectsLocationsAgentEntityTypesService$projects_locations_agent_entityTypes0ProjectsLocationsAgentEnvironmentsIntentsService-projects_locations_agent_environments_intents>ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService=projects_locations_agent_environments_users_sessions_contextsAProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService@projects_locations_agent_environments_users_sessions_entityTypes6ProjectsLocationsAgentEnvironmentsUsersSessionsService4projects_locations_agent_environments_users_sessions.ProjectsLocationsAgentEnvironmentsUsersService+projects_locations_agent_environments_users)ProjectsLocationsAgentEnvironmentsService%projects_locations_agent_environments$ProjectsLocationsAgentIntentsService projects_locations_agent_intents-ProjectsLocationsAgentSessionsContextsService*projects_locations_agent_sessions_contexts0ProjectsLocationsAgentSessionsEntityTypesService-projects_locations_agent_sessions_entityTypes%ProjectsLocationsAgentSessionsService!projects_locations_agent_sessions%ProjectsLocationsAgentVersionsService!projects_locations_agent_versionsProjectsLocationsAgentServiceprojects_locations_agent%ProjectsLocationsAnswerRecordsService projects_locations_answerRecords,ProjectsLocationsConversationDatasetsService'projects_locations_conversationDatasets5ProjectsLocationsConversationModelsEvaluationsService1projects_locations_conversationModels_evaluations*ProjectsLocationsConversationModelsService%projects_locations_conversationModels,ProjectsLocationsConversationProfilesService'projects_locations_conversationProfiles-ProjectsLocationsConversationsMessagesService)projects_locations_conversations_messages<ProjectsLocationsConversationsParticipantsSuggestionsService9projects_locations_conversations_participants_suggestions1ProjectsLocationsConversationsParticipantsService-projects_locations_conversations_participants0ProjectsLocationsConversationsSuggestionsService,projects_locations_conversations_suggestions%ProjectsLocationsConversationsService projects_locations_conversations&ProjectsLocationsEncryptionSpecService!projects_locations_encryptionSpec-ProjectsLocationsGeneratorsEvaluationsService)projects_locations_generators_evaluations"ProjectsLocationsGeneratorsServiceprojects_locations_generators/ProjectsLocationsKnowledgeBasesDocumentsService+projects_locations_knowledgeBases_documents&ProjectsLocationsKnowledgeBasesService!projects_locations_knowledgeBases"ProjectsLocationsOperationsServiceprojects_locations_operations!ProjectsLocationsSipTrunksServiceprojects_locations_sipTrunks+ProjectsLocationsStatelessSuggestionService&projects_locations_statelessSuggestion#ProjectsLocationsSuggestionsServiceprojects_locations_suggestionsProjectsLocationsToolsServiceprojects_locations_toolsProjectsLocationsServiceprojects_locationsProjectsOperationsServiceprojects_operationsProjectsSuggestionsServiceprojects_suggestionsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Olib/googlecloudsdk/generated_clients/apis/dialogflow/v2/dialogflow_v2_client.pyr   DialogflowV2.__init__   s    
C	,&'%)3 7+ ' - 04/[/[\`/aD,&*&J&J4&PD#/3/[/[\`/aD,?C?y?yz~?D<BFBB  AE  CFD?6:6h6him6nD3-1-W-WX\-]D*'+'L'LT'RD$"&"B"B4"HD373c3cdh3iD0)-)P)PQU)VD&,0,U,UVZ,[D)/3/[/[\`/aD,#'#D#DT#JD #'#D#DT#JD 33D9D"&"C"CD"ID)-)Q)QRV)WD&373d3dei3jD0'+'M'Md'SD$)-)Q)QRV)WD&+/+T+TUY+ZD(;?;s;stx;yD8/3/\/\]a/bD,.2.Z.Z[_.`D+"&"C"CD"ID#==dCD-1-X-XY]-^D*#'#E#Ed#KD 9=9n9nos9tD6040]0]^b0cD-9=9n9nos9tD6IM  JM  JM  NR  JSDFLP  MS  MS  TX  MYDI@D@{@{  }A  ABD=7;7j7jko7pD4151_1_`d1eD.,0,U,UVZ,[D)6:6h6him6nD39=9n9nos9tD6-1-W-WX\-]D*-1-W-WX\-]D*$($F$Ft$LD!,0,V,VW[,\D)373d3dei3jD0=A=w=wx|=}D:151`1`ae1fD.373d3dei3jD0595g5ghl5mD2EI  FG  FG  HL  FMDB9=9o9opt9uD68<8m8mnr8sD5,0,V,VW[,\D)-1-X-XY]-^D*595g5ghl5mD2)-)P)PQU)VD&7;7k7klp7qD4-1-X-XY]-^D*)-)P)PQU)VD&(,(N(Nt(TD%262b2bcg2hD/*.*R*RSW*XD'$($F$Ft$LD!";;DAD#==dCD $ ? ? ED((.DM    c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )4DialogflowV2.ProjectsAgentEntityTypesEntitiesServicen   zCService class for the projects_agent_entityTypes_entities resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr   clientr   s     r   r   =DialogflowV2.ProjectsAgentEntityTypesEntitiesService.__init__s   #    L@@$PQWXdr   c                 D    U R                  S5      nU R                  X1US9$ )ap  Creates multiple new entities in the specified entity type. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentEntityTypesEntitiesBatchCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
BatchCreateglobal_paramsGetMethodConfig
_RunMethodr   requestr   configs       r   r   @DialogflowV2.ProjectsAgentEntityTypesEntitiesService.BatchCreatex   /     ##M2f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzOv2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchCreatePOSTz:dialogflow.projects.agent.entityTypes.entities.batchCreateparent!v2/{+parent}/entities:batchCreate1googleCloudDialogflowV2BatchCreateEntitiesRequest<DialogflowProjectsAgentEntityTypesEntitiesBatchCreateRequestGoogleLongrunningOperationF	flat_pathhttp_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r   r   <lambda>=DialogflowV2.ProjectsAgentEntityTypesEntitiesService.<lambda>   4    (>(>cN zJ9IX7)r   c                 D    U R                  S5      nU R                  X1US9$ )ac  Deletes entities in the specified entity type. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentEntityTypesEntitiesBatchDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
BatchDeleter   r   r   s       r   r   @DialogflowV2.ProjectsAgentEntityTypesEntitiesService.BatchDelete   r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzOv2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchDeleter   z:dialogflow.projects.agent.entityTypes.entities.batchDeleter   !v2/{+parent}/entities:batchDelete1googleCloudDialogflowV2BatchDeleteEntitiesRequest<DialogflowProjectsAgentEntityTypesEntitiesBatchDeleteRequestr   Fr   r   r   r   r   r   r      r   r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). .

Args:
  request: (DialogflowProjectsAgentEntityTypesEntitiesBatchUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
BatchUpdater   r   r   s       r   r   @DialogflowV2.ProjectsAgentEntityTypesEntitiesService.BatchUpdate   r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzOv2/projects/{projectsId}/agent/entityTypes/{entityTypesId}/entities:batchUpdater   z:dialogflow.projects.agent.entityTypes.entities.batchUpdater   !v2/{+parent}/entities:batchUpdate1googleCloudDialogflowV2BatchUpdateEntitiesRequest<DialogflowProjectsAgentEntityTypesEntitiesBatchUpdateRequestr   Fr   r   r   r   r   r   r      r   r   r   r   __name__
__module____qualname____firstlineno____doc___NAMEr   r   method_configr   r   __static_attributes____classcell__r   s   @r   r   r   n   s@    M1E
8!K8!K8!Kr   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ ),DialogflowV2.ProjectsAgentEntityTypesService   z:Service class for the projects_agent_entityTypes resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   5DialogflowV2.ProjectsAgentEntityTypesService.__init__   s"    L88$HPdr   c                 D    U R                  S5      nU R                  X1US9$ )aY  Deletes entity types in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentEntityTypesBatchDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   8DialogflowV2.ProjectsAgentEntityTypesService.BatchDelete   r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz6v2/projects/{projectsId}/agent/entityTypes:batchDeleter   z1dialogflow.projects.agent.entityTypes.batchDeleter   $v2/{+parent}/entityTypes:batchDelete4googleCloudDialogflowV2BatchDeleteEntityTypesRequest4DialogflowProjectsAgentEntityTypesBatchDeleteRequestr   Fr   r   r   r   r   r   5DialogflowV2.ProjectsAgentEntityTypesService.<lambda>   4    (>(>JE zJ<LP7)r   c                 D    U R                  S5      nU R                  X1US9$ )a!  Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentEntityTypesBatchUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   8DialogflowV2.ProjectsAgentEntityTypesService.BatchUpdate   r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz6v2/projects/{projectsId}/agent/entityTypes:batchUpdater   z1dialogflow.projects.agent.entityTypes.batchUpdater   $v2/{+parent}/entityTypes:batchUpdate4googleCloudDialogflowV2BatchUpdateEntityTypesRequest4DialogflowProjectsAgentEntityTypesBatchUpdateRequestr   Fr   r   r   r   r   r   r      r   r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentEntityTypesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EntityType) The response message.
Creater   r   r   s       r   r  3DialogflowV2.ProjectsAgentEntityTypesService.Create	  /     ##H-f__
  8 8r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N*v2/projects/{projectsId}/agent/entityTypesr   z,dialogflow.projects.agent.entityTypes.creater   languageCodev2/{+parent}/entityTypes!googleCloudDialogflowV2EntityType/DialogflowProjectsAgentEntityTypesCreateRequest!GoogleCloudDialogflowV2EntityTypeFr   r   r   r   r   r   r     s7    8#9#9>@ zJ$%09K>$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentEntityTypesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
Deleter   r   r   s       r   r  3DialogflowV2.ProjectsAgentEntityTypesService.Delete$  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N:v2/projects/{projectsId}/agent/entityTypes/{entityTypesId}DELETEz,dialogflow.projects.agent.entityTypes.deletename
v2/{+name} /DialogflowProjectsAgentEntityTypesDeleteRequestGoogleProtobufEmptyFr   r   r   r   r   r   r   1  s4    8#9#9N@xH"K0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified entity type.

Args:
  request: (DialogflowProjectsAgentEntityTypesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EntityType) The response message.
Getr   r   r   s       r   r  0DialogflowV2.ProjectsAgentEntityTypesService.Get?  /     ##E*f__
  8 8r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  GETz)dialogflow.projects.agent.entityTypes.getr  r	  r  r  ,DialogflowProjectsAgentEntityTypesGetRequestr  Fr   r   r   r   r   r   r   L  s7     6 6N=xH$%"H>!r   c                 D    U R                  S5      nU R                  X1US9$ )a*  Returns the list of all entity types in the specified agent.

Args:
  request: (DialogflowProjectsAgentEntityTypesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListEntityTypesResponse) The response message.
Listr   r   r   s       r   r!  1DialogflowV2.ProjectsAgentEntityTypesService.ListZ  /     ##F+f__
  8 8r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r  z*dialogflow.projects.agent.entityTypes.listr   r	  pageSize	pageTokenr
  r  -DialogflowProjectsAgentEntityTypesListRequest.GoogleCloudDialogflowV2ListEntityTypesResponseFr   r   r   r   r   r   r   g  s4    !7!7>> zJ>0IK"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentEntityTypesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EntityType) The response message.
Patchr   r   r   s       r   r+  2DialogflowV2.ProjectsAgentEntityTypesService.Patchu  /     ##G,f__
  8 8r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  PATCHz+dialogflow.projects.agent.entityTypes.patchr  r	  
updateMaskr  r  .DialogflowProjectsAgentEntityTypesPatchRequestr  Fr   r   r   r   r   r   r     s9    ("8"8N?xH$l3"9J>#r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r!  r+  r   r   r   s   @r   r   r      s|    D(E
8!K8!K8F8F8C8D8Er   r   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	4DialogflowV2.ProjectsAgentEnvironmentsIntentsServicei  zCService class for the projects_agent_environments_intents resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   =DialogflowV2.ProjectsAgentEnvironmentsIntentsService.__init__  r   r   c                 D    U R                  S5      nU R                  X1US9$ )a)  Returns the list of all intents in the specified agent.

Args:
  request: (DialogflowProjectsAgentEnvironmentsIntentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListIntentsResponse) The response message.
r!  r   r   r   s       r   r!  9DialogflowV2.ProjectsAgentEnvironmentsIntentsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NzDv2/projects/{projectsId}/agent/environments/{environmentsId}/intentsr  z3dialogflow.projects.agent.environments.intents.listr   
intentViewr	  r&  r'  v2/{+parent}/intentsr  5DialogflowProjectsAgentEnvironmentsIntentsListRequest*GoogleCloudDialogflowV2ListIntentsResponseFr   r   r   r   r   r   =DialogflowV2.ProjectsAgentEnvironmentsIntentsService.<lambda>  s4    !7!7XG zJL,QG"r   r   r   r   r   r   r   r   r   r   r!  r   r   r   r   s   @r   r   r4    s"    M1E
8Dr   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )BDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsContextsServicei  zSService class for the projects_agent_environments_users_sessions_contexts resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r!   r   r   r   s     r   r   KDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsContextsService.__init__  $    LNNPT^_efdr   c                 D    U R                  S5      nU R                  X1US9$ )aH  Creates a context. If the specified context already exists, overrides the context.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsContextsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r  r   r   r   s       r   r  IDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsContextsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nkv2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contextsr   zEdialogflow.projects.agent.environments.users.sessions.contexts.creater   v2/{+parent}/contextsgoogleCloudDialogflowV2ContextEDialogflowProjectsAgentEnvironmentsUsersSessionsContextsCreateRequestGoogleCloudDialogflowV2ContextFr   r   r   r   r   r   KDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsContextsService.<lambda>  s4    8#9#9Y zJ-6a;$r   c                 D    U R                  S5      nU R                  X1US9$ )a	  Deletes the specified context.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsContextsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  IDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsContextsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nxv2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}r  zEdialogflow.projects.agent.environments.users.sessions.contexts.deleter  r  r  EDialogflowProjectsAgentEnvironmentsUsersSessionsContextsDeleteRequestr  Fr   r   r   r   r   r   rN    s7    8#9#9 MYxH"a0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified context.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsContextsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r  r   r   r   s       r   r  FDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsContextsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrR  r  zBdialogflow.projects.agent.environments.users.sessions.contexts.getr  r  r  BDialogflowProjectsAgentEnvironmentsUsersSessionsContextsGetRequestrM  Fr   r   r   r   r   r   rN    s7     6 6 MVxH"^;!r   c                 D    U R                  S5      nU R                  X1US9$ )a;  Returns the list of all contexts in the specified session.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsContextsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListContextsResponse) The response message.
r!  r   r   r   s       r   r!  GDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsContextsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NrI  r  zCdialogflow.projects.agent.environments.users.sessions.contexts.listr   r&  r'  rJ  r  CDialogflowProjectsAgentEnvironmentsUsersSessionsContextsListRequest+GoogleCloudDialogflowV2ListContextsResponseFr   r   r   r   r   r   rN    s9    !7!7W zJ +.-_H"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified context.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsContextsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r+  r   r   r   s       r   r+  HDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsContextsService.Patch+  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NrR  r/  zDdialogflow.projects.agent.environments.users.sessions.contexts.patchr  r0  r  rK  DDialogflowProjectsAgentEnvironmentsUsersSessionsContextsPatchRequestrM  Fr   r   r   r   r   r   rN  8  s9    ("8"8 MXxH"^"6`;#r   r   r   r   r   r   r   r   r   r   r  r   r  r  r!  r+  r   r   r   s   @r   r!   rB    s^    ]AE
8F8F8C8D8Er   r!   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )EDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsEntityTypesServiceiF  zVService class for the projects_agent_environments_users_sessions_entityTypes resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r#   r   r   r   s     r   r   NDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsEntityTypesService.__init__K  s$    LQQSWabhidr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r  r   r   r   s       r   r  LDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsEntityTypesService.CreateP  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nnv2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypesr   zHdialogflow.projects.agent.environments.users.sessions.entityTypes.creater   r
  (googleCloudDialogflowV2SessionEntityTypeHDialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateRequest(GoogleCloudDialogflowV2SessionEntityTypeFr   r   r   r   r   r   NDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsEntityTypesService.<lambda>]  s7    8#9#9 C\ zJ0@dE$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  LDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsEntityTypesService.Deletek  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N~v2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}r  zHdialogflow.projects.agent.environments.users.sessions.entityTypes.deleter  r  r  HDialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteRequestr  Fr   r   r   r   r   r   rm  x  s7    8#9#9 S\xH"d0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r  r   r   r   s       r   r  IDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsEntityTypesService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrq  r  zEdialogflow.projects.agent.environments.users.sessions.entityTypes.getr  r  r  EDialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesGetRequestrl  Fr   r   r   r   r   r   rm    s7     6 6 SYxH"aE!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListSessionEntityTypesResponse) The response message.
r!  r   r   r   s       r   r!  JDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsEntityTypesService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nri  r  zFdialogflow.projects.agent.environments.users.sessions.entityTypes.listr   r&  r'  r
  r  FDialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesListRequest5GoogleCloudDialogflowV2ListSessionEntityTypesResponseFr   r   r   r   r   r   rm    s<    !7!7 CZ zJ +.0bR"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r+  r   r   r   s       r   r+  KDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsEntityTypesService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrq  r/  zGdialogflow.projects.agent.environments.users.sessions.entityTypes.patchr  r0  r  rj  GDialogflowProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchRequestrl  Fr   r   r   r   r   r   rm    s9    ("8"8 S[xH"^"@cE#r   r   r   ra  r   s   @r   r#   rc  F  s^    `DE
8F8F8C8D8Er   r#   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ ):DialogflowV2.ProjectsAgentEnvironmentsUsersSessionsServicei  zJService class for the projects_agent_environments_users_sessions resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r%   r   r   r   s     r   r   CDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsService.__init__  #    LFFVW]^dr   c                 D    U R                  S5      nU R                  X1US9$ )a   Deletes all active contexts in the specified session.

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsDeleteContextsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
DeleteContextsr   r   r   s       r   r  IDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsService.DeleteContexts  0     ##$45f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrI  r  zDdialogflow.projects.agent.environments.users.sessions.deleteContextsr   rJ  r  EDialogflowProjectsAgentEnvironmentsUsersSessionsDeleteContextsRequestr  Fr   r   r   r   r   r   CDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsService.<lambda>  s4    8+A+AX zJ-a0,r   c                 D    U R                  S5      nU R                  X1US9$ )a  Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).

Args:
  request: (DialogflowProjectsAgentEnvironmentsUsersSessionsDetectIntentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2DetectIntentResponse) The response message.
DetectIntentr   r   r   s       r   r  GDialogflowV2.ProjectsAgentEnvironmentsUsersSessionsService.DetectIntent  /     ##N3f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzov2/projects/{projectsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}:detectIntentr   zBdialogflow.projects.agent.environments.users.sessions.detectIntentsessionv2/{+session}:detectIntent*googleCloudDialogflowV2DetectIntentRequestCDialogflowProjectsAgentEnvironmentsUsersSessionsDetectIntentRequest+GoogleCloudDialogflowV2DetectIntentResponseFr   r   r   r   r   r   r  	  s7    )?)? DV!{K2B_H*r   r   r   r   r   r   r   r   r   r   r  r   r  r   r   r   s   @r   r%   r    s1    T8E
8$N 8"Lr   r%   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )2DialogflowV2.ProjectsAgentEnvironmentsUsersServicei  zAService class for the projects_agent_environments_users resource.r(   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r'   r   r   r   s     r   r   ;DialogflowV2.ProjectsAgentEnvironmentsUsersService.__init__  "    L>>NvVdr   r   	r   r   r   r   r   r   r   r   r   r   s   @r   r'   r    s    K/E r   r'   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )-DialogflowV2.ProjectsAgentEnvironmentsServicei!  z;Service class for the projects_agent_environments resource.r*   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r)   r   r   r   s     r   r   6DialogflowV2.ProjectsAgentEnvironmentsService.__init__&  s"    L994I&Qdr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates an agent environment.

Args:
  request: (DialogflowProjectsAgentEnvironmentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Environment) The response message.
r  r   r   r   s       r   r  4DialogflowV2.ProjectsAgentEnvironmentsService.Create+  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N+v2/projects/{projectsId}/agent/environmentsr   z-dialogflow.projects.agent.environments.creater   environmentIdv2/{+parent}/environments"googleCloudDialogflowV2Environment0DialogflowProjectsAgentEnvironmentsCreateRequest"GoogleCloudDialogflowV2EnvironmentFr   r   r   r   r   r   6DialogflowV2.ProjectsAgentEnvironmentsService.<lambda>8  s7    8#9#9?A zJ%&1:L?$r   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes the specified agent environment.

Args:
  request: (DialogflowProjectsAgentEnvironmentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  4DialogflowV2.ProjectsAgentEnvironmentsService.DeleteF  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N<v2/projects/{projectsId}/agent/environments/{environmentsId}r  z-dialogflow.projects.agent.environments.deleter  r  r  0DialogflowProjectsAgentEnvironmentsDeleteRequestr  Fr   r   r   r   r   r   r  S  s4    8#9#9PAxH"L0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified agent environment.

Args:
  request: (DialogflowProjectsAgentEnvironmentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Environment) The response message.
r  r   r   r   s       r   r  1DialogflowV2.ProjectsAgentEnvironmentsService.Geta  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z*dialogflow.projects.agent.environments.getr  r  r  -DialogflowProjectsAgentEnvironmentsGetRequestr  Fr   r   r   r   r   r   r  n  s4     6 6P>xH"I?!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets the history of the specified environment.

Args:
  request: (DialogflowProjectsAgentEnvironmentsGetHistoryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EnvironmentHistory) The response message.

GetHistoryr   r   r   s       r   r  8DialogflowV2.ProjectsAgentEnvironmentsService.GetHistory|  /     ##L1f__
  8 8r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NzDv2/projects/{projectsId}/agent/environments/{environmentsId}/historyr  z1dialogflow.projects.agent.environments.getHistoryr   r&  r'  v2/{+parent}/historyr  4DialogflowProjectsAgentEnvironmentsGetHistoryRequest)GoogleCloudDialogflowV2EnvironmentHistoryFr   r   r   r   r   r   r    s9    x'='=XE zJ +.,PF(r   c                 D    U R                  S5      nU R                  X1US9$ )a8  Returns the list of all non-default environments of the specified agent.

Args:
  request: (DialogflowProjectsAgentEnvironmentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListEnvironmentsResponse) The response message.
r!  r   r   r   s       r   r!  2DialogflowV2.ProjectsAgentEnvironmentsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z+dialogflow.projects.agent.environments.listr   r&  r'  r  r  .DialogflowProjectsAgentEnvironmentsListRequest/GoogleCloudDialogflowV2ListEnvironmentsResponseFr   r   r   r   r   r   r    s9    !7!7?? zJ +.1JL"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment continues serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use "-" as Environment ID in environment name to update an agent version in the default environment. WARNING: this will negate all recent changes to the draft agent and can't be undone. You may want to save the draft agent to a version before calling this method.

Args:
  request: (DialogflowProjectsAgentEnvironmentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Environment) The response message.
r+  r   r   r   s       r   r+  3DialogflowV2.ProjectsAgentEnvironmentsService.Patch  r-  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r/  z,dialogflow.projects.agent.environments.patchr  !allowLoadToDraftAndDiscardChangesr0  r  r  /DialogflowProjectsAgentEnvironmentsPatchRequestr  Fr   r   r   r   r   r   r    s9    ("8"8P@xH9<H":K?#r   r   r   r   r   r   r   r   r   r   r  r   r  r  r  r!  r+  r   r   r   s   @r   r)   r  !  sm    E)E
8F8F8C8 J8D8Er   r)   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )(DialogflowV2.ProjectsAgentIntentsServicei  z6Service class for the projects_agent_intents resource.r,   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r+   r   r   r   s     r   r   1DialogflowV2.ProjectsAgentIntentsService.__init__  s"    L44dDVLdr   c                 D    U R                  S5      nU R                  X1US9$ )aP  Deletes intents in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentIntentsBatchDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   4DialogflowV2.ProjectsAgentIntentsService.BatchDelete  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz2v2/projects/{projectsId}/agent/intents:batchDeleter   z-dialogflow.projects.agent.intents.batchDeleter    v2/{+parent}/intents:batchDelete0googleCloudDialogflowV2BatchDeleteIntentsRequest0DialogflowProjectsAgentIntentsBatchDeleteRequestr   Fr   r   r   r   r   r   1DialogflowV2.ProjectsAgentIntentsService.<lambda>  4    (>(>FA zJ8HL7)r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateIntentsResponse Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentIntentsBatchUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   4DialogflowV2.ProjectsAgentIntentsService.BatchUpdate  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz2v2/projects/{projectsId}/agent/intents:batchUpdater   z-dialogflow.projects.agent.intents.batchUpdater    v2/{+parent}/intents:batchUpdate0googleCloudDialogflowV2BatchUpdateIntentsRequest0DialogflowProjectsAgentIntentsBatchUpdateRequestr   Fr   r   r   r   r   r   r    r  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentIntentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Intent) The response message.
r  r   r   r   s       r   r  /DialogflowV2.ProjectsAgentIntentsService.Create  r  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )N&v2/projects/{projectsId}/agent/intentsr   z(dialogflow.projects.agent.intents.creater   r;  r	  r<  googleCloudDialogflowV2Intent+DialogflowProjectsAgentIntentsCreateRequestGoogleCloudDialogflowV2IntentFr   r   r   r   r   r   r    s9    8#9#9:< zJ"N3,5G:$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentIntentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  /DialogflowV2.ProjectsAgentIntentsService.Delete(  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N2v2/projects/{projectsId}/agent/intents/{intentsId}r  z(dialogflow.projects.agent.intents.deleter  r  r  +DialogflowProjectsAgentIntentsDeleteRequestr  Fr   r   r   r   r   r   r  5  s4    8#9#9F<xH"G0$r   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieves the specified intent.

Args:
  request: (DialogflowProjectsAgentIntentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Intent) The response message.
r  r   r   r   s       r   r  ,DialogflowV2.ProjectsAgentIntentsService.GetC  r  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z%dialogflow.projects.agent.intents.getr  r;  r	  r  r  (DialogflowProjectsAgentIntentsGetRequestr  Fr   r   r   r   r   r   r  P  s9     6 6F9xH"N3"D:!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns the list of all intents in the specified agent.

Args:
  request: (DialogflowProjectsAgentIntentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListIntentsResponse) The response message.
r!  r   r   r   s       r   r!  -DialogflowV2.ProjectsAgentIntentsService.List^  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r  z&dialogflow.projects.agent.intents.listr   r:  r<  r  )DialogflowProjectsAgentIntentsListRequestr>  Fr   r   r   r   r   r   r  k  s4    !7!7:: zJL,EG"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentIntentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Intent) The response message.
r+  r   r   r   s       r   r+  .DialogflowV2.ProjectsAgentIntentsService.Patchy  r-  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r/  z'dialogflow.projects.agent.intents.patchr  r;  r	  r0  r  r  *DialogflowProjectsAgentIntentsPatchRequestr  Fr   r   r   r   r   r   r    s4    ("8"8F;xHA"5F:#r   r   r   r2  r   s   @r   r+   r    s|    @$E
8!K8!K8F8F8C8D8Er   r+   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )8DialogflowV2.ProjectsAgentKnowledgeBasesDocumentsServicei  zGService class for the projects_agent_knowledgeBases_documents resource.r.   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r-   r   r   r   s     r   r   ADialogflowV2.ProjectsAgentKnowledgeBasesDocumentsService.__init__  #    LDDdTU[\dr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesDocumentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  ?DialogflowV2.ProjectsAgentKnowledgeBasesDocumentsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NJv2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documentsr   z9dialogflow.projects.agent.knowledgeBases.documents.creater   v2/{+parent}/documentsgoogleCloudDialogflowV2Document;DialogflowProjectsAgentKnowledgeBasesDocumentsCreateRequestr   Fr   r   r   r   r   r   ADialogflowV2.ProjectsAgentKnowledgeBasesDocumentsService.<lambda>  s4    8#9#9^M zJ.7W7$r   c                 D    U R                  S5      nU R                  X1US9$ )ab  Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesDocumentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  ?DialogflowV2.ProjectsAgentKnowledgeBasesDocumentsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NXv2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}r  z9dialogflow.projects.agent.knowledgeBases.documents.deleter  r  r  ;DialogflowProjectsAgentKnowledgeBasesDocumentsDeleteRequestr   Fr   r   r   r   r   r   r    s4    8#9#9lMxH"W7$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified document.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesDocumentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Document) The response message.
r  r   r   r   s       r   r  <DialogflowV2.ProjectsAgentKnowledgeBasesDocumentsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z6dialogflow.projects.agent.knowledgeBases.documents.getr  r  r  8DialogflowProjectsAgentKnowledgeBasesDocumentsGetRequestGoogleCloudDialogflowV2DocumentFr   r   r   r   r   r   r    s4     6 6lJxH"T<!r   c                 D    U R                  S5      nU R                  X1US9$ )a0  Returns the list of all documents of the knowledge base.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesDocumentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListDocumentsResponse) The response message.
r!  r   r   r   s       r   r!  =DialogflowV2.ProjectsAgentKnowledgeBasesDocumentsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r  z7dialogflow.projects.agent.knowledgeBases.documents.listr   filterr&  r'  r  r  9DialogflowProjectsAgentKnowledgeBasesDocumentsListRequest,GoogleCloudDialogflowV2ListDocumentsResponseFr   r   r   r   r   r   r    s4    !7!7^K zJ8.UI"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesDocumentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r+  r   r   r   s       r   r+  >DialogflowV2.ProjectsAgentKnowledgeBasesDocumentsService.Patch
  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z8dialogflow.projects.agent.knowledgeBases.documents.patchr  r0  r  r  :DialogflowProjectsAgentKnowledgeBasesDocumentsPatchRequestr   Fr   r   r   r   r   r   r    s6    ("8"8lLxH"^"7V7#r   c                 D    U R                  S5      nU R                  X1US9$ )av  Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesDocumentsReloadRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
Reloadr   r   r   s       r   r  ?DialogflowV2.ProjectsAgentKnowledgeBasesDocumentsService.Reload%  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz_v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reloadr   z9dialogflow.projects.agent.knowledgeBases.documents.reloadr  v2/{+name}:reload,googleCloudDialogflowV2ReloadDocumentRequest;DialogflowProjectsAgentKnowledgeBasesDocumentsReloadRequestr   Fr   r   r   r   r   r   r  2  s4    8#9#9sMxH)DW7$r   r   r   )r   r   r   r   r   r   r   r  r   r  r  r!  r+  r  r   r   r   s   @r   r-   r    sm    Q5E
8F8F8C8D8E8Fr   r-   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )/DialogflowV2.ProjectsAgentKnowledgeBasesServicei@  z=Service class for the projects_agent_knowledgeBases resource.r0   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r/   r   r   r   s     r   r   8DialogflowV2.ProjectsAgentKnowledgeBasesService.__init__E  "    L;;TKFSdr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a knowledge base.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r  r   r   r   s       r   r  6DialogflowV2.ProjectsAgentKnowledgeBasesService.CreateJ  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N-v2/projects/{projectsId}/agent/knowledgeBasesr   z/dialogflow.projects.agent.knowledgeBases.creater   v2/{+parent}/knowledgeBases$googleCloudDialogflowV2KnowledgeBase2DialogflowProjectsAgentKnowledgeBasesCreateRequest$GoogleCloudDialogflowV2KnowledgeBaseFr   r   r   r   r   r   8DialogflowV2.ProjectsAgentKnowledgeBasesService.<lambda>W  s4    8#9#9AC zJ3<NA$r   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes the specified knowledge base.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  6DialogflowV2.ProjectsAgentKnowledgeBasesService.Deletee  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N@v2/projects/{projectsId}/agent/knowledgeBases/{knowledgeBasesId}r  z/dialogflow.projects.agent.knowledgeBases.deleter  forcer  r  2DialogflowProjectsAgentKnowledgeBasesDeleteRequestr  Fr   r   r   r   r   r   r(  r  s6    8#9#9TCxHY"N0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified knowledge base.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r  r   r   r   s       r   r  3DialogflowV2.ProjectsAgentKnowledgeBasesService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr,  r  z,dialogflow.projects.agent.knowledgeBases.getr  r  r  /DialogflowProjectsAgentKnowledgeBasesGetRequestr'  Fr   r   r   r   r   r   r(    s4     6 6T@xH"KA!r   c                 D    U R                  S5      nU R                  X1US9$ )a3  Returns the list of all knowledge bases of the specified agent.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListKnowledgeBasesResponse) The response message.
r!  r   r   r   s       r   r!  4DialogflowV2.ProjectsAgentKnowledgeBasesService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr#  r  z-dialogflow.projects.agent.knowledgeBases.listr   r  r$  r  0DialogflowProjectsAgentKnowledgeBasesListRequest1GoogleCloudDialogflowV2ListKnowledgeBasesResponseFr   r   r   r   r   r   r(    s4    !7!7AA zJ83LN"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified knowledge base.

Args:
  request: (DialogflowProjectsAgentKnowledgeBasesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r+  r   r   r   s       r   r+  5DialogflowV2.ProjectsAgentKnowledgeBasesService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr,  r/  z.dialogflow.projects.agent.knowledgeBases.patchr  r0  r  r%  1DialogflowProjectsAgentKnowledgeBasesPatchRequestr'  Fr   r   r   r   r   r   r(    s6    ("8"8TBxH"^"<MA#r   r   r   ra  r   s   @r   r/   r  @  ^    G+E
8F8F8C8D8Er   r/   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )1DialogflowV2.ProjectsAgentSessionsContextsServicei  z@Service class for the projects_agent_sessions_contexts resource.r2   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r1   r   r   r   s     r   r   :DialogflowV2.ProjectsAgentSessionsContextsService.__init__  "    L==tMfUdr   c                 D    U R                  S5      nU R                  X1US9$ )a7  Creates a context. If the specified context already exists, overrides the context.

Args:
  request: (DialogflowProjectsAgentSessionsContextsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r  r   r   r   s       r   r  8DialogflowV2.ProjectsAgentSessionsContextsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N=v2/projects/{projectsId}/agent/sessions/{sessionsId}/contextsr   z2dialogflow.projects.agent.sessions.contexts.creater   rJ  rK  4DialogflowProjectsAgentSessionsContextsCreateRequestrM  Fr   r   r   r   r   r   :DialogflowV2.ProjectsAgentSessionsContextsService.<lambda>  s4    8#9#9QF zJ-6P;$r   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes the specified context.

Args:
  request: (DialogflowProjectsAgentSessionsContextsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  8DialogflowV2.ProjectsAgentSessionsContextsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NJv2/projects/{projectsId}/agent/sessions/{sessionsId}/contexts/{contextsId}r  z2dialogflow.projects.agent.sessions.contexts.deleter  r  r  4DialogflowProjectsAgentSessionsContextsDeleteRequestr  Fr   r   r   r   r   r   rG    4    8#9#9^FxH"P0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified context.

Args:
  request: (DialogflowProjectsAgentSessionsContextsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r  r   r   r   s       r   r  5DialogflowV2.ProjectsAgentSessionsContextsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrK  r  z/dialogflow.projects.agent.sessions.contexts.getr  r  r  1DialogflowProjectsAgentSessionsContextsGetRequestrM  Fr   r   r   r   r   r   rG    s4     6 6^CxH"M;!r   c                 D    U R                  S5      nU R                  X1US9$ )a*  Returns the list of all contexts in the specified session.

Args:
  request: (DialogflowProjectsAgentSessionsContextsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListContextsResponse) The response message.
r!  r   r   r   s       r   r!  6DialogflowV2.ProjectsAgentSessionsContextsService.List,  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NrE  r  z0dialogflow.projects.agent.sessions.contexts.listr   r&  r'  rJ  r  2DialogflowProjectsAgentSessionsContextsListRequestr\  Fr   r   r   r   r   r   rG  9  s9    !7!7QD zJ +.-NH"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified context.

Args:
  request: (DialogflowProjectsAgentSessionsContextsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r+  r   r   r   s       r   r+  7DialogflowV2.ProjectsAgentSessionsContextsService.PatchG  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NrK  r/  z1dialogflow.projects.agent.sessions.contexts.patchr  r0  r  rK  3DialogflowProjectsAgentSessionsContextsPatchRequestrM  Fr   r   r   r   r   r   rG  T  s6    ("8"8^ExH"^"6O;#r   r   r   ra  r   s   @r   r1   r>    s^    J.E
8F8F8C8D8Er   r1   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )4DialogflowV2.ProjectsAgentSessionsEntityTypesServiceib  zCService class for the projects_agent_sessions_entityTypes resource.r4   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r3   r   r   r   s     r   r   =DialogflowV2.ProjectsAgentSessionsEntityTypesService.__init__g  r   r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentSessionsEntityTypesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r  r   r   r   s       r   r  ;DialogflowV2.ProjectsAgentSessionsEntityTypesService.Createl  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N@v2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypesr   z5dialogflow.projects.agent.sessions.entityTypes.creater   r
  rj  7DialogflowProjectsAgentSessionsEntityTypesCreateRequestrl  Fr   r   r   r   r   r   =DialogflowV2.ProjectsAgentSessionsEntityTypesService.<lambda>y  s4    8#9#9TI zJ0@SE$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentSessionsEntityTypesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  ;DialogflowV2.ProjectsAgentSessionsEntityTypesService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NPv2/projects/{projectsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}r  z5dialogflow.projects.agent.sessions.entityTypes.deleter  r  r  7DialogflowProjectsAgentSessionsEntityTypesDeleteRequestr  Fr   r   r   r   r   r   rc    s4    8#9#9dIxH"S0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentSessionsEntityTypesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r  r   r   r   s       r   r  8DialogflowV2.ProjectsAgentSessionsEntityTypesService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrg  r  z2dialogflow.projects.agent.sessions.entityTypes.getr  r  r  4DialogflowProjectsAgentSessionsEntityTypesGetRequestrl  Fr   r   r   r   r   r   rc    s4     6 6dFxH"PE!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentSessionsEntityTypesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListSessionEntityTypesResponse) The response message.
r!  r   r   r   s       r   r!  9DialogflowV2.ProjectsAgentSessionsEntityTypesService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nra  r  z3dialogflow.projects.agent.sessions.entityTypes.listr   r&  r'  r
  r  5DialogflowProjectsAgentSessionsEntityTypesListRequestr{  Fr   r   r   r   r   r   rc    s9    !7!7TG zJ +.0QR"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsAgentSessionsEntityTypesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r+  r   r   r   s       r   r+  :DialogflowV2.ProjectsAgentSessionsEntityTypesService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrg  r/  z4dialogflow.projects.agent.sessions.entityTypes.patchr  r0  r  rj  6DialogflowProjectsAgentSessionsEntityTypesPatchRequestrl  Fr   r   r   r   r   r   rc    s6    ("8"8dHxH"^"@RE#r   r   r   ra  r   s   @r   r3   r[  b  s^    M1E
8F8F8C8D8Er   r3   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ ))DialogflowV2.ProjectsAgentSessionsServicei  z7Service class for the projects_agent_sessions resource.r6   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r5   r   r   r   s     r   r   2DialogflowV2.ProjectsAgentSessionsService.__init__  "    L55tEfMdr   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes all active contexts in the specified session.

Args:
  request: (DialogflowProjectsAgentSessionsDeleteContextsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  8DialogflowV2.ProjectsAgentSessionsService.DeleteContexts  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrE  r  z1dialogflow.projects.agent.sessions.deleteContextsr   rJ  r  4DialogflowProjectsAgentSessionsDeleteContextsRequestr  Fr   r   r   r   r   r   2DialogflowV2.ProjectsAgentSessionsService.<lambda>
  s4    8+A+AQE zJ-P0,r   c                 D    U R                  S5      nU R                  X1US9$ )a  Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).

Args:
  request: (DialogflowProjectsAgentSessionsDetectIntentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2DetectIntentResponse) The response message.
r  r   r   r   s       r   r  6DialogflowV2.ProjectsAgentSessionsService.DetectIntent  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzAv2/projects/{projectsId}/agent/sessions/{sessionsId}:detectIntentr   z/dialogflow.projects.agent.sessions.detectIntentr  r  r  2DialogflowProjectsAgentSessionsDetectIntentRequestr  Fr   r   r   r   r   r   r~  %  s4    )?)?UC!{K2BNH*r   r   r   r  r   s   @r   r5   rv    s1    A%E
8$N 8"Lr   r5   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ ))DialogflowV2.ProjectsAgentVersionsServicei3  z7Service class for the projects_agent_versions resource.r8   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r7   r   r   r   s     r   r   2DialogflowV2.ProjectsAgentVersionsService.__init__8  ry  r   c                 D    U R                  S5      nU R                  X1US9$ )aA  Creates an agent version. The new version points to the agent instance in the "default" environment.

Args:
  request: (DialogflowProjectsAgentVersionsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Version) The response message.
r  r   r   r   s       r   r  0DialogflowV2.ProjectsAgentVersionsService.Create=  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N'v2/projects/{projectsId}/agent/versionsr   z)dialogflow.projects.agent.versions.creater   v2/{+parent}/versionsgoogleCloudDialogflowV2Version,DialogflowProjectsAgentVersionsCreateRequestGoogleCloudDialogflowV2VersionFr   r   r   r   r   r   2DialogflowV2.ProjectsAgentVersionsService.<lambda>J  s4    8#9#9;= zJ-6H;$r   c                 D    U R                  S5      nU R                  X1US9$ )zDelete the specified agent version.

Args:
  request: (DialogflowProjectsAgentVersionsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  0DialogflowV2.ProjectsAgentVersionsService.DeleteX  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N4v2/projects/{projectsId}/agent/versions/{versionsId}r  z)dialogflow.projects.agent.versions.deleter  r  r  ,DialogflowProjectsAgentVersionsDeleteRequestr  Fr   r   r   r   r   r   r  e  s4    8#9#9H=xH"H0$r   c                 D    U R                  S5      nU R                  X1US9$ )a   Retrieves the specified agent version.

Args:
  request: (DialogflowProjectsAgentVersionsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Version) The response message.
r  r   r   r   s       r   r  -DialogflowV2.ProjectsAgentVersionsService.Gets  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z&dialogflow.projects.agent.versions.getr  r  r  )DialogflowProjectsAgentVersionsGetRequestr  Fr   r   r   r   r   r   r    s4     6 6H:xH"E;!r   c                 D    U R                  S5      nU R                  X1US9$ )a   Returns the list of all versions of the specified agent.

Args:
  request: (DialogflowProjectsAgentVersionsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListVersionsResponse) The response message.
r!  r   r   r   s       r   r!  .DialogflowV2.ProjectsAgentVersionsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z'dialogflow.projects.agent.versions.listr   r&  r'  r  r  *DialogflowProjectsAgentVersionsListRequest+GoogleCloudDialogflowV2ListVersionsResponseFr   r   r   r   r   r   r    s9    !7!7;; zJ +.-FH"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.

Args:
  request: (DialogflowProjectsAgentVersionsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Version) The response message.
r+  r   r   r   s       r   r+  /DialogflowV2.ProjectsAgentVersionsService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z(dialogflow.projects.agent.versions.patchr  r0  r  r  +DialogflowProjectsAgentVersionsPatchRequestr  Fr   r   r   r   r   r   r    s6    ("8"8H<xH"^"6G;#r   r   r   ra  r   s   @r   r7   r  3  ^    A%E
8F8F8C8D8Er   r7   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )!DialogflowV2.ProjectsAgentServicei  z.Service class for the projects_agent resource.r:   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r9   r   r   r   s     r   r   *DialogflowV2.ProjectsAgentService.__init__  s"    L--t=fEdr   c                 D    U R                  S5      nU R                  X1US9$ )aX  Exports the specified agent to a ZIP file. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: ExportAgentResponse.

Args:
  request: (DialogflowProjectsAgentExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
Exportr   r   r   s       r   r  (DialogflowV2.ProjectsAgentService.Export  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz%v2/projects/{projectsId}/agent:exportr   z dialogflow.projects.agent.exportr   v2/{+parent}/agent:export)googleCloudDialogflowV2ExportAgentRequest$DialogflowProjectsAgentExportRequestr   Fr   r   r   r   r   r   *DialogflowV2.ProjectsAgentService.<lambda>  4    8#9#994 zJ1A@7$r   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieves the fulfillment.

Args:
  request: (DialogflowProjectsAgentGetFulfillmentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Fulfillment) The response message.
GetFulfillmentr   r   r   s       r   r  0DialogflowV2.ProjectsAgentService.GetFulfillment  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N*v2/projects/{projectsId}/agent/fulfillmentr  z(dialogflow.projects.agent.getFulfillmentr  r  r  ,DialogflowProjectsAgentGetFulfillmentRequest"GoogleCloudDialogflowV2FulfillmentFr   r   r   r   r   r   r    s4    8+A+A><xH"H?,r   c                 D    U R                  S5      nU R                  X1US9$ )at  Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.

Args:
  request: (DialogflowProjectsAgentGetValidationResultRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ValidationResult) The response message.
GetValidationResultr   r   r   s       r   r  5DialogflowV2.ProjectsAgentService.GetValidationResult  0     ##$9:f__
  8 8r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nz/v2/projects/{projectsId}/agent/validationResultr  z-dialogflow.projects.agent.getValidationResultr   r	  #v2/{+parent}/agent/validationResultr  1DialogflowProjectsAgentGetValidationResultRequest'GoogleCloudDialogflowV2ValidationResultFr   r   r   r   r   r   r    s7    0F0FCA zJ$%;MD1r   c                 D    U R                  S5      nU R                  X1US9$ )a\  Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when importing is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentImportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
Importr   r   r   s       r   r  (DialogflowV2.ProjectsAgentService.Import  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz%v2/projects/{projectsId}/agent:importr   z dialogflow.projects.agent.importr   v2/{+parent}/agent:import)googleCloudDialogflowV2ImportAgentRequest$DialogflowProjectsAgentImportRequestr   Fr   r   r   r   r   r   r  ,  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a%  Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when restoring is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentRestoreRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
Restorer   r   r   s       r   r  )DialogflowV2.ProjectsAgentService.Restore:  /     ##I.f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz&v2/projects/{projectsId}/agent:restorer   z!dialogflow.projects.agent.restorer   v2/{+parent}/agent:restore*googleCloudDialogflowV2RestoreAgentRequest%DialogflowProjectsAgentRestoreRequestr   Fr   r   r   r   r   r   r  G  s4    H$:$::5 zJ2BA7%r   c                 D    U R                  S5      nU R                  X1US9$ )aG  Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).

Args:
  request: (DialogflowProjectsAgentSearchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SearchAgentsResponse) The response message.
Searchr   r   r   s       r   r  (DialogflowV2.ProjectsAgentService.SearchU  r  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nz%v2/projects/{projectsId}/agent:searchr  z dialogflow.projects.agent.searchr   r&  r'  v2/{+parent}/agent:searchr  $DialogflowProjectsAgentSearchRequest+GoogleCloudDialogflowV2SearchAgentsResponseFr   r   r   r   r   r   r  b  s9    8#9#994 zJ +.1@H$r   c                 D    U R                  S5      nU R                  X1US9$ )a7  Trains the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsAgentTrainRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
Trainr   r   r   s       r   r  'DialogflowV2.ProjectsAgentService.Trainp  r-  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz$v2/projects/{projectsId}/agent:trainr   zdialogflow.projects.agent.trainr   v2/{+parent}/agent:train(googleCloudDialogflowV2TrainAgentRequest#DialogflowProjectsAgentTrainRequestr   Fr   r   r   r   r   r   r  }  s4    ("8"883 zJ0@?7#r   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the fulfillment.

Args:
  request: (DialogflowProjectsAgentUpdateFulfillmentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Fulfillment) The response message.
UpdateFulfillmentr   r   r   s       r   r  3DialogflowV2.ProjectsAgentService.UpdateFulfillment  0     ##$78f__
  8 8r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z+dialogflow.projects.agent.updateFulfillmentr  r0  r  "googleCloudDialogflowV2Fulfillment/DialogflowProjectsAgentUpdateFulfillmentRequestr  Fr   r   r   r   r   r   r    s6    h.D.D>?xH"^":K?/r   r   r   r   r   r   r   r   r   r   r  r   r  r  r  r  r  r  r  r   r   r   s   @r   r9   r    s    8E
8F8$N 8)%8F8G8F8E8'##r   r9   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ ))DialogflowV2.ProjectsAnswerRecordsServicei  z6Service class for the projects_answerRecords resource.r<   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r;   r   r   r   s     r   r   2DialogflowV2.ProjectsAnswerRecordsService.__init__  ry  r   c                 D    U R                  S5      nU R                  X1US9$ )aL  Returns the list of all answer records in the specified project in reverse chronological order.

Args:
  request: (DialogflowProjectsAnswerRecordsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListAnswerRecordsResponse) The response message.
r!  r   r   r   s       r   r!  .DialogflowV2.ProjectsAnswerRecordsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz&v2/projects/{projectsId}/answerRecordsr  z&dialogflow.projects.answerRecords.listr   r  v2/{+parent}/answerRecordsr  *DialogflowProjectsAnswerRecordsListRequest0GoogleCloudDialogflowV2ListAnswerRecordsResponseFr   r   r   r   r   r   2DialogflowV2.ProjectsAnswerRecordsService.<lambda>  4    !7!7:: zJ82FM"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified answer record.

Args:
  request: (DialogflowProjectsAnswerRecordsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2AnswerRecord) The response message.
r+  r   r   r   s       r   r+  /DialogflowV2.ProjectsAnswerRecordsService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nz8v2/projects/{projectsId}/answerRecords/{answerRecordsId}r/  z'dialogflow.projects.answerRecords.patchr  r0  r  #googleCloudDialogflowV2AnswerRecord+DialogflowProjectsAnswerRecordsPatchRequest#GoogleCloudDialogflowV2AnswerRecordFr   r   r   r   r   r   r    s6    ("8"8L;xH"^";G@#r   r   r   r   r   r   r   r   r   r   r!  r   r+  r   r   r   s   @r   r;   r    s1    @$E
8D8Er   r;   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )0DialogflowV2.ProjectsConversationDatasetsServicei  z=Service class for the projects_conversationDatasets resource.r>   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r=   r   r   r   s     r   r   9DialogflowV2.ProjectsConversationDatasetsService.__init__  "    L<<dLVTdr   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified conversation dataset.

Args:
  request: (DialogflowProjectsConversationDatasetsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationDataset) The response message.
r  r   r   r   s       r   r  4DialogflowV2.ProjectsConversationDatasetsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzFv2/projects/{projectsId}/conversationDatasets/{conversationDatasetsId}r  z,dialogflow.projects.conversationDatasets.getr  r  r  0DialogflowProjectsConversationDatasetsGetRequest*GoogleCloudDialogflowV2ConversationDatasetFr   r   r   r   r   r   9DialogflowV2.ProjectsConversationDatasetsService.<lambda>  4     6 6Z@xH"LG!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: ImportConversationDataOperationMetadata - `response`: ImportConversationDataOperationResponse.

Args:
  request: (DialogflowProjectsConversationDatasetsImportConversationDataRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
ImportConversationDatar   r   r   s       r   r  GDialogflowV2.ProjectsConversationDatasetsService.ImportConversationData	  0     ##$<=f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz]v2/projects/{projectsId}/conversationDatasets/{conversationDatasetsId}:importConversationDatar   z?dialogflow.projects.conversationDatasets.importConversationDatar  !v2/{+name}:importConversationData4googleCloudDialogflowV2ImportConversationDataRequestCDialogflowProjectsConversationDatasetsImportConversationDataRequestr   Fr   r   r   r   r   r   r  	  s4    83I3IqSxH9L_74r   c                 D    U R                  S5      nU R                  X1US9$ )aO  Returns the list of all conversation datasets in the specified project and location.

Args:
  request: (DialogflowProjectsConversationDatasetsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationDatasetsResponse) The response message.
r!  r   r   r   s       r   r!  5DialogflowV2.ProjectsConversationDatasetsService.List&	  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nz-v2/projects/{projectsId}/conversationDatasetsr  z-dialogflow.projects.conversationDatasets.listr   r&  r'  !v2/{+parent}/conversationDatasetsr  1DialogflowProjectsConversationDatasetsListRequest7GoogleCloudDialogflowV2ListConversationDatasetsResponseFr   r   r   r   r   r   r  3	  9    !7!7AA zJ +.9MT"r   r   r   )r   r   r   r   r   r   r   r  r   r  r!  r   r   r   s   @r   r=   r    sA    G+E
8C8,(8Dr   r=   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )9DialogflowV2.ProjectsConversationModelsEvaluationsServiceiA	  zGService class for the projects_conversationModels_evaluations resource.r@   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r?   r   r   r   s     r   r   BDialogflowV2.ProjectsConversationModelsEvaluationsService.__init__F	  #    LEEtUV\]dr   c                 D    U R                  S5      nU R                  X1US9$ )a'  Gets an evaluation of conversation model.

Args:
  request: (DialogflowProjectsConversationModelsEvaluationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationModelEvaluation) The response message.
r  r   r   r   s       r   r  =DialogflowV2.ProjectsConversationModelsEvaluationsService.GetK	  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz^v2/projects/{projectsId}/conversationModels/{conversationModelsId}/evaluations/{evaluationsId}r  z6dialogflow.projects.conversationModels.evaluations.getr  r  r  9DialogflowProjectsConversationModelsEvaluationsGetRequest2GoogleCloudDialogflowV2ConversationModelEvaluationFr   r   r   r   r   r   BDialogflowV2.ProjectsConversationModelsEvaluationsService.<lambda>X	  s4     6 6rJxH"UO!r   c                 D    U R                  S5      nU R                  X1US9$ )a6  Lists evaluations of a conversation model.

Args:
  request: (DialogflowProjectsConversationModelsEvaluationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse) The response message.
r!  r   r   r   s       r   r!  >DialogflowV2.ProjectsConversationModelsEvaluationsService.Listf	  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NzNv2/projects/{projectsId}/conversationModels/{conversationModelsId}/evaluationsr  z7dialogflow.projects.conversationModels.evaluations.listr   r&  r'  v2/{+parent}/evaluationsr  :DialogflowProjectsConversationModelsEvaluationsListRequest?GoogleCloudDialogflowV2ListConversationModelEvaluationsResponseFr   r   r   r   r   r   r  s	  s9    !7!7bK zJ +.0V\"r   r   r   )r   r   r   r   r   r   r   r  r   r!  r   r   r   s   @r   r?   r  A	  s1    Q5E
8C8Dr   r?   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ ).DialogflowV2.ProjectsConversationModelsServicei	  z;Service class for the projects_conversationModels resource.rB   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rA   r   r   r   s     r   r   7DialogflowV2.ProjectsConversationModelsService.__init__	  "    L::DJ6Rdr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateConversationModelOperationMetadata - `response`: ConversationModel.

Args:
  request: (DialogflowProjectsConversationModelsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  5DialogflowV2.ProjectsConversationModelsService.Create	  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N+v2/projects/{projectsId}/conversationModelsr   z-dialogflow.projects.conversationModels.creater   v2/{+parent}/conversationModels(googleCloudDialogflowV2ConversationModel1DialogflowProjectsConversationModelsCreateRequestr   Fr   r   r   r   r   r   7DialogflowV2.ProjectsConversationModelsService.<lambda>	  s4    8#9#9?A zJ7@M7$r   c                 D    U R                  S5      nU R                  X1US9$ )aX  Deletes a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: DeleteConversationModelOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsConversationModelsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  5DialogflowV2.ProjectsConversationModelsService.Delete	  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NBv2/projects/{projectsId}/conversationModels/{conversationModelsId}r  z-dialogflow.projects.conversationModels.deleter  r  r  1DialogflowProjectsConversationModelsDeleteRequestr   Fr   r   r   r   r   r   r/  	  s4    8#9#9VAxH"M7$r   c                 D    U R                  S5      nU R                  X1US9$ )a$  Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: DeployConversationModelOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsConversationModelsDeployRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
Deployr   r   r   s       r   r6  5DialogflowV2.ProjectsConversationModelsService.Deploy	  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzIv2/projects/{projectsId}/conversationModels/{conversationModelsId}:deployr   z-dialogflow.projects.conversationModels.deployr  v2/{+name}:deploy5googleCloudDialogflowV2DeployConversationModelRequest1DialogflowProjectsConversationModelsDeployRequestr   Fr   r   r   r   r   r   r/  	  s4    8#9#9]AxH)MM7$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets conversation model.

Args:
  request: (DialogflowProjectsConversationModelsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationModel) The response message.
r  r   r   r   s       r   r  2DialogflowV2.ProjectsConversationModelsService.Get	  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr3  r  z*dialogflow.projects.conversationModels.getr  r  r  .DialogflowProjectsConversationModelsGetRequest(GoogleCloudDialogflowV2ConversationModelFr   r   r   r   r   r   r/  	  s4     6 6V>xH"JE!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists conversation models.

Args:
  request: (DialogflowProjectsConversationModelsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationModelsResponse) The response message.
r!  r   r   r   s       r   r!  3DialogflowV2.ProjectsConversationModelsService.List	  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr+  r  z+dialogflow.projects.conversationModels.listr   r&  r'  r,  r  /DialogflowProjectsConversationModelsListRequest5GoogleCloudDialogflowV2ListConversationModelsResponseFr   r   r   r   r   r   r/  
  s9    !7!7?? zJ +.7KR"r   c                 D    U R                  S5      nU R                  X1US9$ )a$  Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used: - For article suggestion, article suggestion will fallback to the default model if model is undeployed. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: UndeployConversationModelOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsConversationModelsUndeployRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
Undeployr   r   r   s       r   rG  7DialogflowV2.ProjectsConversationModelsService.Undeploy
  /     ##J/f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzKv2/projects/{projectsId}/conversationModels/{conversationModelsId}:undeployr   z/dialogflow.projects.conversationModels.undeployr  v2/{+name}:undeploy7googleCloudDialogflowV2UndeployConversationModelRequest3DialogflowProjectsConversationModelsUndeployRequestr   Fr   r   r   r   r   r   r/  
  s4    X%;%;_CxH+OO7&r   r   r   r   r   r   r   r   r   r   r  r   r  r6  r  r!  rG  r   r   r   s   @r   rA   r$  	  sm    E)E
8F8F8F8C8D8Hr   rA   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )0DialogflowV2.ProjectsConversationProfilesServicei-
  z=Service class for the projects_conversationProfiles resource.rD   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rC   r   r   r   s     r   r   9DialogflowV2.ProjectsConversationProfilesService.__init__2
  r  r   c                 D    U R                  S5      nU R                  X1US9$ )ah  Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: ClearSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile.

Args:
  request: (DialogflowProjectsConversationProfilesClearSuggestionFeatureConfigRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
ClearSuggestionFeatureConfigr   r   r   s       r   rT  MDialogflowV2.ProjectsConversationProfilesService.ClearSuggestionFeatureConfig7
  0     ##$BCf__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzcv2/projects/{projectsId}/conversationProfiles/{conversationProfilesId}:clearSuggestionFeatureConfigr   zEdialogflow.projects.conversationProfiles.clearSuggestionFeatureConfigconversationProfile6v2/{+conversationProfile}:clearSuggestionFeatureConfig:googleCloudDialogflowV2ClearSuggestionFeatureConfigRequestIDialogflowProjectsConversationProfilesClearSuggestionFeatureConfigRequestr   Fr   r   r   r   r   r   9DialogflowV2.ProjectsConversationProfilesService.<lambda>D
  s6    9O9OwY-.*+NRe7:r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a conversation profile in the specified project. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API.

Args:
  request: (DialogflowProjectsConversationProfilesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationProfile) The response message.
r  r   r   r   s       r   r  7DialogflowV2.ProjectsConversationProfilesService.CreateR
  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N-v2/projects/{projectsId}/conversationProfilesr   z/dialogflow.projects.conversationProfiles.creater   !v2/{+parent}/conversationProfiles*googleCloudDialogflowV2ConversationProfile3DialogflowProjectsConversationProfilesCreateRequest*GoogleCloudDialogflowV2ConversationProfileFr   r   r   r   r   r   r\  _
  s4    8#9#9AC zJ9BOG$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified conversation profile.

Args:
  request: (DialogflowProjectsConversationProfilesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  7DialogflowV2.ProjectsConversationProfilesService.Deletem
  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NFv2/projects/{projectsId}/conversationProfiles/{conversationProfilesId}r  z/dialogflow.projects.conversationProfiles.deleter  r  r  3DialogflowProjectsConversationProfilesDeleteRequestr  Fr   r   r   r   r   r   r\  z
  s4    8#9#9ZCxH"O0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified conversation profile.

Args:
  request: (DialogflowProjectsConversationProfilesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationProfile) The response message.
r  r   r   r   s       r   r  4DialogflowV2.ProjectsConversationProfilesService.Get
  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrh  r  z,dialogflow.projects.conversationProfiles.getr  r  r  0DialogflowProjectsConversationProfilesGetRequestrd  Fr   r   r   r   r   r   r\  
  r  r   c                 D    U R                  S5      nU R                  X1US9$ )aB  Returns the list of all conversation profiles in the specified project.

Args:
  request: (DialogflowProjectsConversationProfilesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationProfilesResponse) The response message.
r!  r   r   r   s       r   r!  5DialogflowV2.ProjectsConversationProfilesService.List
  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr`  r  z-dialogflow.projects.conversationProfiles.listr   r&  r'  ra  r  1DialogflowProjectsConversationProfilesListRequest7GoogleCloudDialogflowV2ListConversationProfilesResponseFr   r   r   r   r   r   r\  
  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified conversation profile. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API.

Args:
  request: (DialogflowProjectsConversationProfilesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationProfile) The response message.
r+  r   r   r   s       r   r+  6DialogflowV2.ProjectsConversationProfilesService.Patch
  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrh  r/  z.dialogflow.projects.conversationProfiles.patchr  r0  r  rb  2DialogflowProjectsConversationProfilesPatchRequestrd  Fr   r   r   r   r   r   r\  
  s6    ("8"8ZBxH"^"BNG#r   c                 D    U R                  S5      nU R                  X1US9$ )a  Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: SetSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.

Args:
  request: (DialogflowProjectsConversationProfilesSetSuggestionFeatureConfigRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
SetSuggestionFeatureConfigr   r   r   s       r   rx  KDialogflowV2.ProjectsConversationProfilesService.SetSuggestionFeatureConfig
  0     ##$@Af__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzav2/projects/{projectsId}/conversationProfiles/{conversationProfilesId}:setSuggestionFeatureConfigr   zCdialogflow.projects.conversationProfiles.setSuggestionFeatureConfigrX  4v2/{+conversationProfile}:setSuggestionFeatureConfig8googleCloudDialogflowV2SetSuggestionFeatureConfigRequestGDialogflowProjectsConversationProfilesSetSuggestionFeatureConfigRequestr   Fr   r   r   r   r   r   r\  
  s6    x7M7MuW-.*+LPc78r   r   r   r   r   r   r   r   r   r   rT  r   r  r  r  r!  r+  rx  r   r   r   s   @r   rC   rP  -
  s~    G+E
82 .8F8F8C8D8E80,,r   rC   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	1DialogflowV2.ProjectsConversationsMessagesServicei
  z?Service class for the projects_conversations_messages resource.rF   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rE   r   r   r   s     r   r   :DialogflowV2.ProjectsConversationsMessagesService.__init__
  rA  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.

Args:
  request: (DialogflowProjectsConversationsMessagesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListMessagesResponse) The response message.
r!  r   r   r   s       r   r!  6DialogflowV2.ProjectsConversationsMessagesService.List
  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NzAv2/projects/{projectsId}/conversations/{conversationsId}/messagesr  z/dialogflow.projects.conversations.messages.listr   r  v2/{+parent}/messagesr  2DialogflowProjectsConversationsMessagesListRequest+GoogleCloudDialogflowV2ListMessagesResponseFr   r   r   r   r   r   :DialogflowV2.ProjectsConversationsMessagesService.<lambda>  s4    !7!7UC zJ8-NH"r   r   r   r@  r   s   @r   rE   r  
  s"    I-E
8Dr   rE   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )@DialogflowV2.ProjectsConversationsParticipantsSuggestionsServicei  zOService class for the projects_conversations_participants_suggestions resource.rH   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rG   r   r   r   s     r   r   IDialogflowV2.ProjectsConversationsParticipantsSuggestionsService.__init__  s#    LLLd\]cddr   c                 D    U R                  S5      nU R                  X1US9$ )a]  Gets suggested articles for a participant based on specific historical messages.

Args:
  request: (DialogflowProjectsConversationsParticipantsSuggestionsSuggestArticlesRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestArticlesResponse) The response message.
SuggestArticlesr   r   r   s       r   r  PDialogflowV2.ProjectsConversationsParticipantsSuggestionsService.SuggestArticles#  0     ##$56f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzrv2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestArticlesr   zJdialogflow.projects.conversations.participants.suggestions.suggestArticlesr   (v2/{+parent}/suggestions:suggestArticles-googleCloudDialogflowV2SuggestArticlesRequestLDialogflowProjectsConversationsParticipantsSuggestionsSuggestArticlesRequest.GoogleCloudDialogflowV2SuggestArticlesResponseFr   r   r   r   r   r   IDialogflowV2.ProjectsConversationsParticipantsSuggestionsService.<lambda>0  s7    H,B,B G^ zJ@EhK-r   c                 D    U R                  S5      nU R                  X1US9$ )ad  Gets suggested faq answers for a participant based on specific historical messages.

Args:
  request: (DialogflowProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestFaqAnswersResponse) The response message.
SuggestFaqAnswersr   r   r   s       r   r  RDialogflowV2.ProjectsConversationsParticipantsSuggestionsService.SuggestFaqAnswers>  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nztv2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestFaqAnswersr   zLdialogflow.projects.conversations.participants.suggestions.suggestFaqAnswersr   *v2/{+parent}/suggestions:suggestFaqAnswers/googleCloudDialogflowV2SuggestFaqAnswersRequestNDialogflowProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersRequest0GoogleCloudDialogflowV2SuggestFaqAnswersResponseFr   r   r   r   r   r   r  K  s7    h.D.D I` zJBGjM/r   c                 D    U R                  S5      nU R                  X1US9$ )aZ  Gets knowledge assist suggestions based on historical messages.

Args:
  request: (DialogflowProjectsConversationsParticipantsSuggestionsSuggestKnowledgeAssistRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse) The response message.
SuggestKnowledgeAssistr   r   r   s       r   r  WDialogflowV2.ProjectsConversationsParticipantsSuggestionsService.SuggestKnowledgeAssistY  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzyv2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestKnowledgeAssistr   zQdialogflow.projects.conversations.participants.suggestions.suggestKnowledgeAssistr   /v2/{+parent}/suggestions:suggestKnowledgeAssist4googleCloudDialogflowV2SuggestKnowledgeAssistRequestSDialogflowProjectsConversationsParticipantsSuggestionsSuggestKnowledgeAssistRequest5GoogleCloudDialogflowV2SuggestKnowledgeAssistResponseFr   r   r   r   r   r   r  f  s7    83I3I Ne zJGLoR4r   c                 D    U R                  S5      nU R                  X1US9$ )a`  Gets smart replies for a participant based on specific historical messages.

Args:
  request: (DialogflowProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestSmartRepliesResponse) The response message.
SuggestSmartRepliesr   r   r   s       r   r  TDialogflowV2.ProjectsConversationsParticipantsSuggestionsService.SuggestSmartRepliest  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzvv2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestSmartRepliesr   zNdialogflow.projects.conversations.participants.suggestions.suggestSmartRepliesr   ,v2/{+parent}/suggestions:suggestSmartReplies1googleCloudDialogflowV2SuggestSmartRepliesRequestPDialogflowProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesRequest2GoogleCloudDialogflowV2SuggestSmartRepliesResponseFr   r   r   r   r   r   r    s7    0F0F Kb zJDIlO1r   r   r   r   r   r   r   r   r   r   r  r   r  r  r  r   r   r   s   @r   rG   r    sR    Y=E
8%O!8'#8,(8)%%r   rG   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )5DialogflowV2.ProjectsConversationsParticipantsServicei  zCService class for the projects_conversations_participants resource.rJ   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rI   r   r   r   s     r   r   >DialogflowV2.ProjectsConversationsParticipantsService.__init__  #    LAA4QRXYdr   c                 D    U R                  S5      nU R                  X1US9$ )a'  Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).

Args:
  request: (DialogflowProjectsConversationsParticipantsAnalyzeContentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2AnalyzeContentResponse) The response message.
AnalyzeContentr   r   r   s       r   r  DDialogflowV2.ProjectsConversationsParticipantsService.AnalyzeContent  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzev2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}:analyzeContentr   z=dialogflow.projects.conversations.participants.analyzeContentparticipant v2/{+participant}:analyzeContent,googleCloudDialogflowV2AnalyzeContentRequest@DialogflowProjectsConversationsParticipantsAnalyzeContentRequest-GoogleCloudDialogflowV2AnalyzeContentResponseFr   r   r   r   r   r   >DialogflowV2.ProjectsConversationsParticipantsService.<lambda>  s4    8+A+AyQ%"O8D\J,r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new participant in a conversation.

Args:
  request: (DialogflowProjectsConversationsParticipantsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Participant) The response message.
r  r   r   r   s       r   r  <DialogflowV2.ProjectsConversationsParticipantsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NEv2/projects/{projectsId}/conversations/{conversationsId}/participantsr   z5dialogflow.projects.conversations.participants.creater   v2/{+parent}/participants"googleCloudDialogflowV2Participant8DialogflowProjectsConversationsParticipantsCreateRequest"GoogleCloudDialogflowV2ParticipantFr   r   r   r   r   r   r    s4    8#9#9YI zJ1:T?$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves a conversation participant.

Args:
  request: (DialogflowProjectsConversationsParticipantsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Participant) The response message.
r  r   r   r   s       r   r  9DialogflowV2.ProjectsConversationsParticipantsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NVv2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}r  z2dialogflow.projects.conversations.participants.getr  r  r  5DialogflowProjectsConversationsParticipantsGetRequestr  Fr   r   r   r   r   r   r    s4     6 6jFxH"Q?!r   c                 D    U R                  S5      nU R                  X1US9$ )a;  Returns the list of all participants in the specified conversation.

Args:
  request: (DialogflowProjectsConversationsParticipantsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListParticipantsResponse) The response message.
r!  r   r   r   s       r   r!  :DialogflowV2.ProjectsConversationsParticipantsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z3dialogflow.projects.conversations.participants.listr   r&  r'  r  r  6DialogflowProjectsConversationsParticipantsListRequest/GoogleCloudDialogflowV2ListParticipantsResponseFr   r   r   r   r   r   r    s9    !7!7YG zJ +.1RL"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified participant.

Args:
  request: (DialogflowProjectsConversationsParticipantsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Participant) The response message.
r+  r   r   r   s       r   r+  ;DialogflowV2.ProjectsConversationsParticipantsService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z4dialogflow.projects.conversations.participants.patchr  r0  r  r  7DialogflowProjectsConversationsParticipantsPatchRequestr  Fr   r   r   r   r   r   r    s6    ("8"8jHxH"^":S?#r   r   r   r   r   r   r   r   r   r   r  r   r  r  r!  r+  r   r   r   s   @r   rI   r    s^    M1E
8$N 8F8C8D8Er   rI   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )4DialogflowV2.ProjectsConversationsSuggestionsServicei   zBService class for the projects_conversations_suggestions resource.rL   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rK   r   r   r   s     r   r   =DialogflowV2.ProjectsConversationsSuggestionsService.__init__%  r   r   c                 D    U R                  S5      nU R                  X1US9$ )a  Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.

Args:
  request: (DialogflowProjectsConversationsSuggestionsGenerateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2GenerateSuggestionsResponse) The response message.
Generater   r   r   s       r   r  =DialogflowV2.ProjectsConversationsSuggestionsService.Generate*  rI  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzMv2/projects/{projectsId}/conversations/{conversationsId}/suggestions:generater   z6dialogflow.projects.conversations.suggestions.generateconversation'v2/{+conversation}/suggestions:generate1googleCloudDialogflowV2GenerateSuggestionsRequest9DialogflowProjectsConversationsSuggestionsGenerateRequest2GoogleCloudDialogflowV2GenerateSuggestionsResponseFr   r   r   r   r   r   =DialogflowV2.ProjectsConversationsSuggestionsService.<lambda>7  s6    X%;%;aJ&'#$?IUO&r   c                 D    U R                  S5      nU R                  X1US9$ a+  Get answers for the given query based on knowledge documents.

Args:
  request: (GoogleCloudDialogflowV2SearchKnowledgeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SearchKnowledgeResponse) The response message.
SearchKnowledger   r   r   s       r   r  DDialogflowV2.ProjectsConversationsSuggestionsService.SearchKnowledgeE  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzTv2/projects/{projectsId}/conversations/{conversationsId}/suggestions:searchKnowledger   z=dialogflow.projects.conversations.suggestions.searchKnowledger  .v2/{+conversation}/suggestions:searchKnowledge	<request>-GoogleCloudDialogflowV2SearchKnowledgeRequest.GoogleCloudDialogflowV2SearchKnowledgeResponseFr   r   r   r   r   r   r  R  s6    H,B,BhQ&'#$F!IK-r   c                 D    U R                  S5      nU R                  X1US9$ )a  Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.

Args:
  request: (DialogflowProjectsConversationsSuggestionsSuggestConversationSummaryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestConversationSummaryResponse) The response message.
SuggestConversationSummaryr   r   r   s       r   r  ODialogflowV2.ProjectsConversationsSuggestionsService.SuggestConversationSummary`  rz  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz_v2/projects/{projectsId}/conversations/{conversationsId}/suggestions:suggestConversationSummaryr   zHdialogflow.projects.conversations.suggestions.suggestConversationSummaryr  9v2/{+conversation}/suggestions:suggestConversationSummary8googleCloudDialogflowV2SuggestConversationSummaryRequestKDialogflowProjectsConversationsSuggestionsSuggestConversationSummaryRequest9GoogleCloudDialogflowV2SuggestConversationSummaryResponseFr   r   r   r   r   r   r  m  s6    x7M7Ms\&'#$QPgV8r   r   r   r   r   r   r   r   r   r   r  r   r  r  r   r   r   s   @r   rK   r     sA    L0E
8H8%O!80,,r   rK   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ ))DialogflowV2.ProjectsConversationsServicei{  z6Service class for the projects_conversations resource.rN   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rM   r   r   r   s     r   r   2DialogflowV2.ProjectsConversationsService.__init__  ry  r   c                 D    U R                  S5      nU R                  X1US9$ )aL  Completes the specified conversation. Finished conversations are purged from the database after 30 days.

Args:
  request: (DialogflowProjectsConversationsCompleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Conversation) The response message.
Completer   r   r   s       r   r  2DialogflowV2.ProjectsConversationsService.Complete  rI  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzAv2/projects/{projectsId}/conversations/{conversationsId}:completer   z*dialogflow.projects.conversations.completer  v2/{+name}:complete2googleCloudDialogflowV2CompleteConversationRequest.DialogflowProjectsConversationsCompleteRequest#GoogleCloudDialogflowV2ConversationFr   r   r   r   r   r   2DialogflowV2.ProjectsConversationsService.<lambda>  s4    X%;%;U>xH+JJ@&r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.

Args:
  request: (DialogflowProjectsConversationsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Conversation) The response message.
r  r   r   r   s       r   r  0DialogflowV2.ProjectsConversationsService.Create  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N&v2/projects/{projectsId}/conversationsr   z(dialogflow.projects.conversations.creater   conversationIdv2/{+parent}/conversations#googleCloudDialogflowV2Conversation,DialogflowProjectsConversationsCreateRequestr  Fr   r   r   r   r   r   r    s7    8#9#9:< zJ&'2;H@$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specific conversation.

Args:
  request: (DialogflowProjectsConversationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Conversation) The response message.
r  r   r   r   s       r   r  -DialogflowV2.ProjectsConversationsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz8v2/projects/{projectsId}/conversations/{conversationsId}r  z%dialogflow.projects.conversations.getr  r  r  )DialogflowProjectsConversationsGetRequestr  Fr   r   r   r   r   r   r    s4     6 6L9xH"E@!r   c                 D    U R                  S5      nU R                  X1US9$ )a,  Returns the list of all conversations in the specified project.

Args:
  request: (DialogflowProjectsConversationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationsResponse) The response message.
r!  r   r   r   s       r   r!  .DialogflowV2.ProjectsConversationsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r  z&dialogflow.projects.conversations.listr   r  r
  r  *DialogflowProjectsConversationsListRequest0GoogleCloudDialogflowV2ListConversationsResponseFr   r   r   r   r   r   r    r  r   r   r   )r   r   r   r   r   r   r   r  r   r  r  r!  r   r   r   s   @r   rM   r  {  sO    @$E
8H8F8C8Dr   rM   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )&DialogflowV2.ProjectsGeneratorsServicei  z3Service class for the projects_generators resource.rP   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rO   r   r   r   s     r   r   /DialogflowV2.ProjectsGeneratorsService.__init__  "    L22DB6Jdr   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a generator.

Args:
  request: (DialogflowProjectsGeneratorsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Generator) The response message.
r  r   r   r   s       r   r  -DialogflowV2.ProjectsGeneratorsService.Create  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N#v2/projects/{projectsId}/generatorsr   z%dialogflow.projects.generators.creater   generatorIdv2/{+parent}/generators googleCloudDialogflowV2Generator)DialogflowProjectsGeneratorsCreateRequest GoogleCloudDialogflowV2GeneratorFr   r   r   r   r   r   /DialogflowV2.ProjectsGeneratorsService.<lambda>  s6    8#9#979 zJ#_/8E=$r   c                 D    U R                  S5      nU R                  X1US9$ )zLists generators.

Args:
  request: (DialogflowProjectsGeneratorsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListGeneratorsResponse) The response message.
r!  r   r   r   s       r   r!  +DialogflowV2.ProjectsGeneratorsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z#dialogflow.projects.generators.listr   r&  r'  r   r  'DialogflowProjectsGeneratorsListRequest-GoogleCloudDialogflowV2ListGeneratorsResponseFr   r   r   r   r   r   r$  #  s9    !7!777 zJ +./CJ"r   r   r   )r   r   r   r   r   r   r   r  r   r!  r   r   r   s   @r   rO   r    s1    =!E
8F8Dr   rO   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )3DialogflowV2.ProjectsKnowledgeBasesDocumentsServicei1  zAService class for the projects_knowledgeBases_documents resource.rR   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rQ   r   r   r   s     r   r   <DialogflowV2.ProjectsKnowledgeBasesDocumentsService.__init__6  #    L??OPVWdr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document.

Args:
  request: (DialogflowProjectsKnowledgeBasesDocumentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  :DialogflowV2.ProjectsKnowledgeBasesDocumentsService.Create;  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NDv2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documentsr   z3dialogflow.projects.knowledgeBases.documents.creater   r  r  6DialogflowProjectsKnowledgeBasesDocumentsCreateRequestr   Fr   r   r   r   r   r   <DialogflowV2.ProjectsKnowledgeBasesDocumentsService.<lambda>H  s4    8#9#9XG zJ.7R7$r   c                 D    U R                  S5      nU R                  X1US9$ )a]  Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsKnowledgeBasesDocumentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  :DialogflowV2.ProjectsKnowledgeBasesDocumentsService.DeleteV  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NRv2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}r  z3dialogflow.projects.knowledgeBases.documents.deleter  r  r  6DialogflowProjectsKnowledgeBasesDocumentsDeleteRequestr   Fr   r   r   r   r   r   r4  c  s4    8#9#9fGxH"R7$r   c                 D    U R                  S5      nU R                  X1US9$ )a+  Exports a smart messaging candidate document into the specified destination. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document.

Args:
  request: (DialogflowProjectsKnowledgeBasesDocumentsExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  :DialogflowV2.ProjectsKnowledgeBasesDocumentsService.Exportq  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzYv2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:exportr   z3dialogflow.projects.knowledgeBases.documents.exportr  v2/{+name}:export,googleCloudDialogflowV2ExportDocumentRequest6DialogflowProjectsKnowledgeBasesDocumentsExportRequestr   Fr   r   r   r   r   r   r4  ~  4    8#9#9mGxH)DR7$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified document.

Args:
  request: (DialogflowProjectsKnowledgeBasesDocumentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Document) The response message.
r  r   r   r   s       r   r  7DialogflowV2.ProjectsKnowledgeBasesDocumentsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr8  r  z0dialogflow.projects.knowledgeBases.documents.getr  r  r  3DialogflowProjectsKnowledgeBasesDocumentsGetRequestr  Fr   r   r   r   r   r   r4    s4     6 6fDxH"O<!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: ImportDocumentsResponse.

Args:
  request: (DialogflowProjectsKnowledgeBasesDocumentsImportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  :DialogflowV2.ProjectsKnowledgeBasesDocumentsService.Import  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzKv2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents:importr   z3dialogflow.projects.knowledgeBases.documents.importr   v2/{+parent}/documents:import-googleCloudDialogflowV2ImportDocumentsRequest6DialogflowProjectsKnowledgeBasesDocumentsImportRequestr   Fr   r   r   r   r   r   r4    s4    8#9#9_G zJ5ER7$r   c                 D    U R                  S5      nU R                  X1US9$ )a+  Returns the list of all documents of the knowledge base.

Args:
  request: (DialogflowProjectsKnowledgeBasesDocumentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListDocumentsResponse) The response message.
r!  r   r   r   s       r   r!  8DialogflowV2.ProjectsKnowledgeBasesDocumentsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr2  r  z1dialogflow.projects.knowledgeBases.documents.listr   r  r  r  4DialogflowProjectsKnowledgeBasesDocumentsListRequestr  Fr   r   r   r   r   r   r4    s4    !7!7XE zJ8.PI"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document.

Args:
  request: (DialogflowProjectsKnowledgeBasesDocumentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r+  r   r   r   s       r   r+  9DialogflowV2.ProjectsKnowledgeBasesDocumentsService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr8  r/  z2dialogflow.projects.knowledgeBases.documents.patchr  r0  r  r  5DialogflowProjectsKnowledgeBasesDocumentsPatchRequestr   Fr   r   r   r   r   r   r4    s6    ("8"8fFxH"^"7Q7#r   c                 D    U R                  S5      nU R                  X1US9$ )aq  Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.

Args:
  request: (DialogflowProjectsKnowledgeBasesDocumentsReloadRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  :DialogflowV2.ProjectsKnowledgeBasesDocumentsService.Reload  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzYv2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reloadr   z3dialogflow.projects.knowledgeBases.documents.reloadr  r  r  6DialogflowProjectsKnowledgeBasesDocumentsReloadRequestr   Fr   r   r   r   r   r   r4    r@  r   r   r   r   r   r   r   r   r   r   r  r   r  r  r  r  r!  r+  r  r   r   r   s   @r   rQ   r+  1  s    K/E
8F8F8F8C8F8D8E8Fr   rQ   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )*DialogflowV2.ProjectsKnowledgeBasesServicei  z7Service class for the projects_knowledgeBases resource.rT   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rS   r   r   r   s     r   r   3DialogflowV2.ProjectsKnowledgeBasesService.__init__  "    L66FvNdr   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a knowledge base.

Args:
  request: (DialogflowProjectsKnowledgeBasesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r  r   r   r   s       r   r  1DialogflowV2.ProjectsKnowledgeBasesService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N'v2/projects/{projectsId}/knowledgeBasesr   z)dialogflow.projects.knowledgeBases.creater   r$  r%  -DialogflowProjectsKnowledgeBasesCreateRequestr'  Fr   r   r   r   r   r   3DialogflowV2.ProjectsKnowledgeBasesService.<lambda>*  s4    8#9#9;= zJ3<IA$r   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes the specified knowledge base.

Args:
  request: (DialogflowProjectsKnowledgeBasesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  1DialogflowV2.ProjectsKnowledgeBasesService.Delete8  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N:v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}r  z)dialogflow.projects.knowledgeBases.deleter  r-  r  r  -DialogflowProjectsKnowledgeBasesDeleteRequestr  Fr   r   r   r   r   r   rb  E  s6    8#9#9N=xHY"I0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified knowledge base.

Args:
  request: (DialogflowProjectsKnowledgeBasesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r  r   r   r   s       r   r  .DialogflowV2.ProjectsKnowledgeBasesService.GetS  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrf  r  z&dialogflow.projects.knowledgeBases.getr  r  r  *DialogflowProjectsKnowledgeBasesGetRequestr'  Fr   r   r   r   r   r   rb  `  s4     6 6N:xH"FA!r   c                 D    U R                  S5      nU R                  X1US9$ )a.  Returns the list of all knowledge bases of the specified agent.

Args:
  request: (DialogflowProjectsKnowledgeBasesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListKnowledgeBasesResponse) The response message.
r!  r   r   r   s       r   r!  /DialogflowV2.ProjectsKnowledgeBasesService.Listn  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr`  r  z'dialogflow.projects.knowledgeBases.listr   r  r$  r  +DialogflowProjectsKnowledgeBasesListRequestr7  Fr   r   r   r   r   r   rb  {  s4    !7!7;; zJ83GN"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified knowledge base.

Args:
  request: (DialogflowProjectsKnowledgeBasesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r+  r   r   r   s       r   r+  0DialogflowV2.ProjectsKnowledgeBasesService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrf  r/  z(dialogflow.projects.knowledgeBases.patchr  r0  r  r%  ,DialogflowProjectsKnowledgeBasesPatchRequestr'  Fr   r   r   r   r   r   rb    s6    ("8"8N<xH"^"<HA#r   r   r   ra  r   s   @r   rS   rY    r  r   rS   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )=DialogflowV2.ProjectsLocationsAgentEntityTypesEntitiesServicei  zMService class for the projects_locations_agent_entityTypes_entities resource.rV   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rU   r   r   r   s     r   r   FDialogflowV2.ProjectsLocationsAgentEntityTypesEntitiesService.__init__  #    LII4YZ`adr   c                 D    U R                  S5      nU R                  X1US9$ )ay  Creates multiple new entities in the specified entity type. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesEntitiesBatchCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   IDialogflowV2.ProjectsLocationsAgentEntityTypesEntitiesService.BatchCreate  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzgv2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchCreater   zDdialogflow.projects.locations.agent.entityTypes.entities.batchCreater   r   r   EDialogflowProjectsLocationsAgentEntityTypesEntitiesBatchCreateRequestr   Fr   r   r   r   r   r   FDialogflowV2.ProjectsLocationsAgentEntityTypesEntitiesService.<lambda>  4    (>(>{X zJ9Ia7)r   c                 D    U R                  S5      nU R                  X1US9$ )al  Deletes entities in the specified entity type. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesEntitiesBatchDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   IDialogflowV2.ProjectsLocationsAgentEntityTypesEntitiesService.BatchDelete  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzgv2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchDeleter   zDdialogflow.projects.locations.agent.entityTypes.entities.batchDeleter   r   r   EDialogflowProjectsLocationsAgentEntityTypesEntitiesBatchDeleteRequestr   Fr   r   r   r   r   r   r}    r~  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). .

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesEntitiesBatchUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   IDialogflowV2.ProjectsLocationsAgentEntityTypesEntitiesService.BatchUpdate  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzgv2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}/entities:batchUpdater   zDdialogflow.projects.locations.agent.entityTypes.entities.batchUpdater   r   r   EDialogflowProjectsLocationsAgentEntityTypesEntitiesBatchUpdateRequestr   Fr   r   r   r   r   r   r}    r~  r   r   r   r   r   s   @r   rU   ru    s@    W;E
8!K8!K8!Kr   rU   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )5DialogflowV2.ProjectsLocationsAgentEntityTypesServicei  zDService class for the projects_locations_agent_entityTypes resource.rX   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rW   r   r   r   s     r   r   >DialogflowV2.ProjectsLocationsAgentEntityTypesService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )ab  Deletes entity types in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesBatchDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   ADialogflowV2.ProjectsLocationsAgentEntityTypesService.BatchDelete	  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzNv2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes:batchDeleter   z;dialogflow.projects.locations.agent.entityTypes.batchDeleter   r   r   =DialogflowProjectsLocationsAgentEntityTypesBatchDeleteRequestr   Fr   r   r   r   r   r   >DialogflowV2.ProjectsLocationsAgentEntityTypesService.<lambda>  4    (>(>bO zJ<LY7)r   c                 D    U R                  S5      nU R                  X1US9$ )a*  Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesBatchUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   ADialogflowV2.ProjectsLocationsAgentEntityTypesService.BatchUpdate$  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzNv2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes:batchUpdater   z;dialogflow.projects.locations.agent.entityTypes.batchUpdater   r   r  =DialogflowProjectsLocationsAgentEntityTypesBatchUpdateRequestr   Fr   r   r   r   r   r   r  1  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EntityType) The response message.
r  r   r   r   s       r   r  <DialogflowV2.ProjectsLocationsAgentEntityTypesService.Create?  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NBv2/projects/{projectsId}/locations/{locationsId}/agent/entityTypesr   z6dialogflow.projects.locations.agent.entityTypes.creater   r	  r
  r  8DialogflowProjectsLocationsAgentEntityTypesCreateRequestr  Fr   r   r   r   r   r   r  L  s7    8#9#9VJ zJ$%09T>$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  <DialogflowV2.ProjectsLocationsAgentEntityTypesService.DeleteZ  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NRv2/projects/{projectsId}/locations/{locationsId}/agent/entityTypes/{entityTypesId}r  z6dialogflow.projects.locations.agent.entityTypes.deleter  r  r  8DialogflowProjectsLocationsAgentEntityTypesDeleteRequestr  Fr   r   r   r   r   r   r  g  s4    8#9#9fJxH"T0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified entity type.

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EntityType) The response message.
r  r   r   r   s       r   r  9DialogflowV2.ProjectsLocationsAgentEntityTypesService.Getu  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r  z3dialogflow.projects.locations.agent.entityTypes.getr  r	  r  r  5DialogflowProjectsLocationsAgentEntityTypesGetRequestr  Fr   r   r   r   r   r   r    s7     6 6fGxH$%"Q>!r   c                 D    U R                  S5      nU R                  X1US9$ )a3  Returns the list of all entity types in the specified agent.

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListEntityTypesResponse) The response message.
r!  r   r   r   s       r   r!  :DialogflowV2.ProjectsLocationsAgentEntityTypesService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r  z4dialogflow.projects.locations.agent.entityTypes.listr   r%  r
  r  6DialogflowProjectsLocationsAgentEntityTypesListRequestr)  Fr   r   r   r   r   r   r    s4    !7!7VH zJ>0RK"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentEntityTypesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EntityType) The response message.
r+  r   r   r   s       r   r+  ;DialogflowV2.ProjectsLocationsAgentEntityTypesService.Patch  r-  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r/  z5dialogflow.projects.locations.agent.entityTypes.patchr  r	  r0  r  r  7DialogflowProjectsLocationsAgentEntityTypesPatchRequestr  Fr   r   r   r   r   r   r    s9    ("8"8fIxH$l3"9S>#r   r   r   r2  r   s   @r   rW   r    s|    N2E
8!K8!K8F8F8C8D8Er   rW   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	=DialogflowV2.ProjectsLocationsAgentEnvironmentsIntentsServicei  zMService class for the projects_locations_agent_environments_intents resource.rZ   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rY   r   r   r   s     r   r   FDialogflowV2.ProjectsLocationsAgentEnvironmentsIntentsService.__init__  rx  r   c                 D    U R                  S5      nU R                  X1US9$ )a2  Returns the list of all intents in the specified agent.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsIntentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListIntentsResponse) The response message.
r!  r   r   r   s       r   r!  BDialogflowV2.ProjectsLocationsAgentEnvironmentsIntentsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz\v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/intentsr  z=dialogflow.projects.locations.agent.environments.intents.listr   r:  r<  r  >DialogflowProjectsLocationsAgentEnvironmentsIntentsListRequestr>  Fr   r   r   r   r   r   FDialogflowV2.ProjectsLocationsAgentEnvironmentsIntentsService.<lambda>  s4    !7!7pQ zJL,ZG"r   r   r   r@  r   s   @r   rY   r    s"    W;E
8Dr   rY   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )KDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsContextsServicei  z]Service class for the projects_locations_agent_environments_users_sessions_contexts resource.r\   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r[   r   r   r   s     r   r   TDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService.__init__  s$    LWWY]ghnodr   c                 D    U R                  S5      nU R                  X1US9$ )aQ  Creates a context. If the specified context already exists, overrides the context.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r  r   r   r   s       r   r  RDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contextsr   zOdialogflow.projects.locations.agent.environments.users.sessions.contexts.creater   rJ  rK  NDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateRequestrM  Fr   r   r   r   r   r   TDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService.<lambda>  s7    8#9#9 Xc zJ-6j;$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified context.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  RDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/contexts/{contextsId}r  zOdialogflow.projects.locations.agent.environments.users.sessions.contexts.deleter  r  r  NDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteRequestr  Fr   r   r   r   r   r   r    s7    8#9#9 ecxH"j0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified context.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r  r   r   r   s       r   r  ODialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService.Get+  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  zLdialogflow.projects.locations.agent.environments.users.sessions.contexts.getr  r  r  KDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetRequestrM  Fr   r   r   r   r   r   r  8  s7     6 6 e`xH"g;!r   c                 D    U R                  S5      nU R                  X1US9$ )aD  Returns the list of all contexts in the specified session.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListContextsResponse) The response message.
r!  r   r   r   s       r   r!  PDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService.ListF  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  zMdialogflow.projects.locations.agent.environments.users.sessions.contexts.listr   r&  r'  rJ  r  LDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsListRequestr\  Fr   r   r   r   r   r   r  S  s<    !7!7 Xa zJ +.-hH"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified context.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r+  r   r   r   s       r   r+  QDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService.Patcha  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  zNdialogflow.projects.locations.agent.environments.users.sessions.contexts.patchr  r0  r  rK  MDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchRequestrM  Fr   r   r   r   r   r   r  n  s9    ("8"8 ebxH"^"6i;#r   r   r   ra  r   s   @r   r[   r    s^    gKE
8F8F8C8D8Er   r[   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )NDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesServicei|  z`Service class for the projects_locations_agent_environments_users_sessions_entityTypes resource.r^   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r]   r   r   r   s     r   r   WDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService.__init__  s$    LZZ\`jkqrdr   c                 D    U R                  S5      nU R                  X1US9$ )a   Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r  r   r   r   s       r   r  UDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypesr   zRdialogflow.projects.locations.agent.environments.users.sessions.entityTypes.creater   r
  rj  QDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateRequestrl  Fr   r   r   r   r   r   WDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService.<lambda>  s7    8#9#9 [f zJ0@mE$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  UDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}/entityTypes/{entityTypesId}r  zRdialogflow.projects.locations.agent.environments.users.sessions.entityTypes.deleter  r  r  QDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteRequestr  Fr   r   r   r   r   r   r    s7    8#9#9 kfxH"m0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r  r   r   r   s       r   r  RDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  zOdialogflow.projects.locations.agent.environments.users.sessions.entityTypes.getr  r  r  NDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetRequestrl  Fr   r   r   r   r   r   r    s7     6 6 kcxH"jE!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListSessionEntityTypesResponse) The response message.
r!  r   r   r   s       r   r!  SDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  zPdialogflow.projects.locations.agent.environments.users.sessions.entityTypes.listr   r&  r'  r
  r  ODialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListRequestr{  Fr   r   r   r   r   r   r    s<    !7!7 [d zJ +.0kR"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r+  r   r   r   s       r   r+  TDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  zQdialogflow.projects.locations.agent.environments.users.sessions.entityTypes.patchr  r0  r  rj  PDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchRequestrl  Fr   r   r   r   r   r   r    s9    ("8"8 kexH"^"@lE#r   r   r   ra  r   s   @r   r]   r  |  s^    jNE
8F8F8C8D8Er   r]   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )CDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsServicei  zTService class for the projects_locations_agent_environments_users_sessions resource.r`   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r_   r   r   r   s     r   r   LDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsService.__init__  s$    LOOQU_`fgdr   c                 D    U R                  S5      nU R                  X1US9$ )a)  Deletes all active contexts in the specified session.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  RDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsService.DeleteContexts  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  zNdialogflow.projects.locations.agent.environments.users.sessions.deleteContextsr   rJ  r  NDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsRequestr  Fr   r   r   r   r   r   LDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsService.<lambda>$  s7    8+A+A Xb zJ-j0,r   c                 D    U R                  S5      nU R                  X1US9$ )a  Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2DetectIntentResponse) The response message.
r  r   r   r   s       r   r  PDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersSessionsService.DetectIntent2  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/users/{usersId}/sessions/{sessionsId}:detectIntentr   zLdialogflow.projects.locations.agent.environments.users.sessions.detectIntentr  r  r  LDialogflowProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentRequestr  Fr   r   r   r   r   r   r  ?  s7    )?)? \`!{K2BhH*r   r   r   r  r   s   @r   r_   r    s1    ^BE
8$N 8"Lr   r_   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ );DialogflowV2.ProjectsLocationsAgentEnvironmentsUsersServiceiM  zKService class for the projects_locations_agent_environments_users resource.rb   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   ra   r   r   r   s     r   r   DDialogflowV2.ProjectsLocationsAgentEnvironmentsUsersService.__init__R  s#    LGGWX^_dr   r   r  r   s   @r   ra   r  M  s    U9E r   ra   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )6DialogflowV2.ProjectsLocationsAgentEnvironmentsServiceiW  zEService class for the projects_locations_agent_environments resource.rd   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rc   r   r   r   s     r   r   ?DialogflowV2.ProjectsLocationsAgentEnvironmentsService.__init__\  s#    LBBDRSYZdr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates an agent environment.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Environment) The response message.
r  r   r   r   s       r   r  =DialogflowV2.ProjectsLocationsAgentEnvironmentsService.Createa  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NCv2/projects/{projectsId}/locations/{locationsId}/agent/environmentsr   z7dialogflow.projects.locations.agent.environments.creater   r  r  r  9DialogflowProjectsLocationsAgentEnvironmentsCreateRequestr  Fr   r   r   r   r   r   ?DialogflowV2.ProjectsLocationsAgentEnvironmentsService.<lambda>n  s7    8#9#9WK zJ%&1:U?$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified agent environment.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  =DialogflowV2.ProjectsLocationsAgentEnvironmentsService.Delete|  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NTv2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}r  z7dialogflow.projects.locations.agent.environments.deleter  r  r  9DialogflowProjectsLocationsAgentEnvironmentsDeleteRequestr  Fr   r   r   r   r   r   r    s4    8#9#9hKxH"U0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified agent environment.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Environment) The response message.
r  r   r   r   s       r   r  :DialogflowV2.ProjectsLocationsAgentEnvironmentsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z4dialogflow.projects.locations.agent.environments.getr  r  r  6DialogflowProjectsLocationsAgentEnvironmentsGetRequestr  Fr   r   r   r   r   r   r    s4     6 6hHxH"R?!r   c                 D    U R                  S5      nU R                  X1US9$ )a'  Gets the history of the specified environment.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsGetHistoryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EnvironmentHistory) The response message.
r  r   r   r   s       r   r  ADialogflowV2.ProjectsLocationsAgentEnvironmentsService.GetHistory  r  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nz\v2/projects/{projectsId}/locations/{locationsId}/agent/environments/{environmentsId}/historyr  z;dialogflow.projects.locations.agent.environments.getHistoryr   r&  r'  r  r  =DialogflowProjectsLocationsAgentEnvironmentsGetHistoryRequestr  Fr   r   r   r   r   r   r    s9    x'='=pO zJ +.,YF(r   c                 D    U R                  S5      nU R                  X1US9$ )aA  Returns the list of all non-default environments of the specified agent.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListEnvironmentsResponse) The response message.
r!  r   r   r   s       r   r!  ;DialogflowV2.ProjectsLocationsAgentEnvironmentsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z5dialogflow.projects.locations.agent.environments.listr   r&  r'  r  r  7DialogflowProjectsLocationsAgentEnvironmentsListRequestr  Fr   r   r   r   r   r   r    s9    !7!7WI zJ +.1SL"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment continues serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use "-" as Environment ID in environment name to update an agent version in the default environment. WARNING: this will negate all recent changes to the draft agent and can't be undone. You may want to save the draft agent to a version before calling this method.

Args:
  request: (DialogflowProjectsLocationsAgentEnvironmentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Environment) The response message.
r+  r   r   r   s       r   r+  <DialogflowV2.ProjectsLocationsAgentEnvironmentsService.Patch  r-  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r/  z6dialogflow.projects.locations.agent.environments.patchr  r  r0  r  r  8DialogflowProjectsLocationsAgentEnvironmentsPatchRequestr  Fr   r   r   r   r   r   r    s9    ("8"8hJxH9<H":T?#r   r   r   r  r   s   @r   rc   r  W  sm    O3E
8F8F8C8 J8D8Er   rc   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )1DialogflowV2.ProjectsLocationsAgentIntentsServicei  z@Service class for the projects_locations_agent_intents resource.rf   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   re   r   r   r   s     r   r   :DialogflowV2.ProjectsLocationsAgentIntentsService.__init__  rA  r   c                 D    U R                  S5      nU R                  X1US9$ )aY  Deletes intents in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentIntentsBatchDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   =DialogflowV2.ProjectsLocationsAgentIntentsService.BatchDelete  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv2/projects/{projectsId}/locations/{locationsId}/agent/intents:batchDeleter   z7dialogflow.projects.locations.agent.intents.batchDeleter   r  r  9DialogflowProjectsLocationsAgentIntentsBatchDeleteRequestr   Fr   r   r   r   r   r   :DialogflowV2.ProjectsLocationsAgentIntentsService.<lambda>  4    (>(>^K zJ8HU7)r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateIntentsResponse Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentIntentsBatchUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r   r   r   r   s       r   r   =DialogflowV2.ProjectsLocationsAgentIntentsService.BatchUpdate(  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv2/projects/{projectsId}/locations/{locationsId}/agent/intents:batchUpdater   z7dialogflow.projects.locations.agent.intents.batchUpdater   r  r  9DialogflowProjectsLocationsAgentIntentsBatchUpdateRequestr   Fr   r   r   r   r   r   r"  5  r#  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentIntentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Intent) The response message.
r  r   r   r   s       r   r  8DialogflowV2.ProjectsLocationsAgentIntentsService.CreateC  r  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )N>v2/projects/{projectsId}/locations/{locationsId}/agent/intentsr   z2dialogflow.projects.locations.agent.intents.creater   r;  r	  r<  r  4DialogflowProjectsLocationsAgentIntentsCreateRequestr  Fr   r   r   r   r   r   r"  P  s9    8#9#9RF zJ"N3,5P:$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentIntentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  8DialogflowV2.ProjectsLocationsAgentIntentsService.Delete^  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NJv2/projects/{projectsId}/locations/{locationsId}/agent/intents/{intentsId}r  z2dialogflow.projects.locations.agent.intents.deleter  r  r  4DialogflowProjectsLocationsAgentIntentsDeleteRequestr  Fr   r   r   r   r   r   r"  k  rM  r   c                 D    U R                  S5      nU R                  X1US9$ )a   Retrieves the specified intent.

Args:
  request: (DialogflowProjectsLocationsAgentIntentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Intent) The response message.
r  r   r   r   s       r   r  5DialogflowV2.ProjectsLocationsAgentIntentsService.Gety  r  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr0  r  z/dialogflow.projects.locations.agent.intents.getr  r;  r	  r  r  1DialogflowProjectsLocationsAgentIntentsGetRequestr  Fr   r   r   r   r   r   r"    s9     6 6^CxH"N3"M:!r   c                 D    U R                  S5      nU R                  X1US9$ )a&  Returns the list of all intents in the specified agent.

Args:
  request: (DialogflowProjectsLocationsAgentIntentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListIntentsResponse) The response message.
r!  r   r   r   s       r   r!  6DialogflowV2.ProjectsLocationsAgentIntentsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr+  r  z0dialogflow.projects.locations.agent.intents.listr   r:  r<  r  2DialogflowProjectsLocationsAgentIntentsListRequestr>  Fr   r   r   r   r   r   r"    s4    !7!7RD zJL,NG"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentIntentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Intent) The response message.
r+  r   r   r   s       r   r+  7DialogflowV2.ProjectsLocationsAgentIntentsService.Patch  r-  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr0  r/  z1dialogflow.projects.locations.agent.intents.patchr  r  r  r  3DialogflowProjectsLocationsAgentIntentsPatchRequestr  Fr   r   r   r   r   r   r"    s4    ("8"8^ExHA"5O:#r   r   r   r2  r   s   @r   re   r    s|    J.E
8!K8!K8F8F8C8D8Er   re   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ ):DialogflowV2.ProjectsLocationsAgentSessionsContextsServicei  zJService class for the projects_locations_agent_sessions_contexts resource.rh   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rg   r   r   r   s     r   r   CDialogflowV2.ProjectsLocationsAgentSessionsContextsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a@  Creates a context. If the specified context already exists, overrides the context.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsContextsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r  r   r   r   s       r   r  ADialogflowV2.ProjectsLocationsAgentSessionsContextsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NUv2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contextsr   z<dialogflow.projects.locations.agent.sessions.contexts.creater   rJ  rK  =DialogflowProjectsLocationsAgentSessionsContextsCreateRequestrM  Fr   r   r   r   r   r   CDialogflowV2.ProjectsLocationsAgentSessionsContextsService.<lambda>  s4    8#9#9iP zJ-6Y;$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified context.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsContextsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  ADialogflowV2.ProjectsLocationsAgentSessionsContextsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nbv2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/contexts/{contextsId}r  z<dialogflow.projects.locations.agent.sessions.contexts.deleter  r  r  =DialogflowProjectsLocationsAgentSessionsContextsDeleteRequestr  Fr   r   r   r   r   r   rG    s4    8#9#9vPxH"Y0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified context.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsContextsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r  r   r   r   s       r   r  >DialogflowV2.ProjectsLocationsAgentSessionsContextsService.Get
  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrK  r  z9dialogflow.projects.locations.agent.sessions.contexts.getr  r  r  :DialogflowProjectsLocationsAgentSessionsContextsGetRequestrM  Fr   r   r   r   r   r   rG    s4     6 6vMxH"V;!r   c                 D    U R                  S5      nU R                  X1US9$ )a3  Returns the list of all contexts in the specified session.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsContextsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListContextsResponse) The response message.
r!  r   r   r   s       r   r!  ?DialogflowV2.ProjectsLocationsAgentSessionsContextsService.List%  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NrE  r  z:dialogflow.projects.locations.agent.sessions.contexts.listr   r&  r'  rJ  r  ;DialogflowProjectsLocationsAgentSessionsContextsListRequestr\  Fr   r   r   r   r   r   rG  2  s9    !7!7iN zJ +.-WH"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified context.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsContextsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Context) The response message.
r+  r   r   r   s       r   r+  @DialogflowV2.ProjectsLocationsAgentSessionsContextsService.Patch@  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NrK  r/  z;dialogflow.projects.locations.agent.sessions.contexts.patchr  r0  r  rK  <DialogflowProjectsLocationsAgentSessionsContextsPatchRequestrM  Fr   r   r   r   r   r   rG  M  s6    ("8"8vOxH"^"6X;#r   r   r   ra  r   s   @r   rg   r?    s^    T8E
8F8F8C8D8Er   rg   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )=DialogflowV2.ProjectsLocationsAgentSessionsEntityTypesServicei[  zMService class for the projects_locations_agent_sessions_entityTypes resource.rj   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   ri   r   r   r   s     r   r   FDialogflowV2.ProjectsLocationsAgentSessionsEntityTypesService.__init__`  rx  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsEntityTypesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r  r   r   r   s       r   r  DDialogflowV2.ProjectsLocationsAgentSessionsEntityTypesService.Createe  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NXv2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypesr   z?dialogflow.projects.locations.agent.sessions.entityTypes.creater   r
  rj  @DialogflowProjectsLocationsAgentSessionsEntityTypesCreateRequestrl  Fr   r   r   r   r   r   FDialogflowV2.ProjectsLocationsAgentSessionsEntityTypesService.<lambda>r  s4    8#9#9lS zJ0@\E$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsEntityTypesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  DDialogflowV2.ProjectsLocationsAgentSessionsEntityTypesService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nhv2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}/entityTypes/{entityTypesId}r  z?dialogflow.projects.locations.agent.sessions.entityTypes.deleter  r  r  @DialogflowProjectsLocationsAgentSessionsEntityTypesDeleteRequestr  Fr   r   r   r   r   r   rb    s4    8#9#9|SxH"\0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsEntityTypesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r  r   r   r   s       r   r  ADialogflowV2.ProjectsLocationsAgentSessionsEntityTypesService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrf  r  z<dialogflow.projects.locations.agent.sessions.entityTypes.getr  r  r  =DialogflowProjectsLocationsAgentSessionsEntityTypesGetRequestrl  Fr   r   r   r   r   r   rb    s4     6 6|PxH"YE!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsEntityTypesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListSessionEntityTypesResponse) The response message.
r!  r   r   r   s       r   r!  BDialogflowV2.ProjectsLocationsAgentSessionsEntityTypesService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr`  r  z=dialogflow.projects.locations.agent.sessions.entityTypes.listr   r&  r'  r
  r  >DialogflowProjectsLocationsAgentSessionsEntityTypesListRequestr{  Fr   r   r   r   r   r   rb    s9    !7!7lQ zJ +.0ZR"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsEntityTypesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SessionEntityType) The response message.
r+  r   r   r   s       r   r+  CDialogflowV2.ProjectsLocationsAgentSessionsEntityTypesService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrf  r/  z>dialogflow.projects.locations.agent.sessions.entityTypes.patchr  r0  r  rj  ?DialogflowProjectsLocationsAgentSessionsEntityTypesPatchRequestrl  Fr   r   r   r   r   r   rb    s6    ("8"8|RxH"^"@[E#r   r   r   ra  r   s   @r   ri   rZ  [  s^    W;E
8F8F8C8D8Er   ri   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )2DialogflowV2.ProjectsLocationsAgentSessionsServicei  zAService class for the projects_locations_agent_sessions resource.rl   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rk   r   r   r   s     r   r   ;DialogflowV2.ProjectsLocationsAgentSessionsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes all active contexts in the specified session.

Args:
  request: (DialogflowProjectsLocationsAgentSessionsDeleteContextsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  ADialogflowV2.ProjectsLocationsAgentSessionsService.DeleteContexts  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrE  r  z;dialogflow.projects.locations.agent.sessions.deleteContextsr   rJ  r  =DialogflowProjectsLocationsAgentSessionsDeleteContextsRequestr  Fr   r   r   r   r   r   ;DialogflowV2.ProjectsLocationsAgentSessionsService.<lambda>  s4    8+A+AiO zJ-Y0,r   c                 D    U R                  S5      nU R                  X1US9$ )a  Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).

Args:
  request: (DialogflowProjectsLocationsAgentSessionsDetectIntentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2DetectIntentResponse) The response message.
r  r   r   r   s       r   r  ?DialogflowV2.ProjectsLocationsAgentSessionsService.DetectIntent  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzYv2/projects/{projectsId}/locations/{locationsId}/agent/sessions/{sessionsId}:detectIntentr   z9dialogflow.projects.locations.agent.sessions.detectIntentr  r  r  ;DialogflowProjectsLocationsAgentSessionsDetectIntentRequestr  Fr   r   r   r   r   r   r|    s4    )?)?mM!{K2BWH*r   r   r   r  r   s   @r   rk   ru    s1    K/E
8$N 8"Lr   rk   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )2DialogflowV2.ProjectsLocationsAgentVersionsServicei,  zAService class for the projects_locations_agent_versions resource.rn   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rm   r   r   r   s     r   r   ;DialogflowV2.ProjectsLocationsAgentVersionsService.__init__1  r  r   c                 D    U R                  S5      nU R                  X1US9$ )aJ  Creates an agent version. The new version points to the agent instance in the "default" environment.

Args:
  request: (DialogflowProjectsLocationsAgentVersionsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Version) The response message.
r  r   r   r   s       r   r  9DialogflowV2.ProjectsLocationsAgentVersionsService.Create6  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N?v2/projects/{projectsId}/locations/{locationsId}/agent/versionsr   z3dialogflow.projects.locations.agent.versions.creater   r  r  5DialogflowProjectsLocationsAgentVersionsCreateRequestr  Fr   r   r   r   r   r   ;DialogflowV2.ProjectsLocationsAgentVersionsService.<lambda>C  s4    8#9#9SG zJ-6Q;$r   c                 D    U R                  S5      nU R                  X1US9$ )zDelete the specified agent version.

Args:
  request: (DialogflowProjectsLocationsAgentVersionsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  9DialogflowV2.ProjectsLocationsAgentVersionsService.DeleteQ  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NLv2/projects/{projectsId}/locations/{locationsId}/agent/versions/{versionsId}r  z3dialogflow.projects.locations.agent.versions.deleter  r  r  5DialogflowProjectsLocationsAgentVersionsDeleteRequestr  Fr   r   r   r   r   r   r  ^  s4    8#9#9`GxH"Q0$r   c                 D    U R                  S5      nU R                  X1US9$ )a	  Retrieves the specified agent version.

Args:
  request: (DialogflowProjectsLocationsAgentVersionsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Version) The response message.
r  r   r   r   s       r   r  6DialogflowV2.ProjectsLocationsAgentVersionsService.Getl  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z0dialogflow.projects.locations.agent.versions.getr  r  r  2DialogflowProjectsLocationsAgentVersionsGetRequestr  Fr   r   r   r   r   r   r  y  s4     6 6`DxH"N;!r   c                 D    U R                  S5      nU R                  X1US9$ )a)  Returns the list of all versions of the specified agent.

Args:
  request: (DialogflowProjectsLocationsAgentVersionsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListVersionsResponse) The response message.
r!  r   r   r   s       r   r!  7DialogflowV2.ProjectsLocationsAgentVersionsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z1dialogflow.projects.locations.agent.versions.listr   r&  r'  r  r  3DialogflowProjectsLocationsAgentVersionsListRequestr  Fr   r   r   r   r   r   r    s9    !7!7SE zJ +.-OH"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.

Args:
  request: (DialogflowProjectsLocationsAgentVersionsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Version) The response message.
r+  r   r   r   s       r   r+  8DialogflowV2.ProjectsLocationsAgentVersionsService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z2dialogflow.projects.locations.agent.versions.patchr  r0  r  r  4DialogflowProjectsLocationsAgentVersionsPatchRequestr  Fr   r   r   r   r   r   r    s6    ("8"8`FxH"^"6P;#r   r   r   ra  r   s   @r   rm   r  ,  ^    K/E
8F8F8C8D8Er   rm   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )*DialogflowV2.ProjectsLocationsAgentServicei  z8Service class for the projects_locations_agent resource.rp   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   ro   r   r   r   s     r   r   3DialogflowV2.ProjectsLocationsAgentService.__init__  r\  r   c                 D    U R                  S5      nU R                  X1US9$ )aa  Exports the specified agent to a ZIP file. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: ExportAgentResponse.

Args:
  request: (DialogflowProjectsLocationsAgentExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  1DialogflowV2.ProjectsLocationsAgentService.Export  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz=v2/projects/{projectsId}/locations/{locationsId}/agent:exportr   z*dialogflow.projects.locations.agent.exportr   r  r  -DialogflowProjectsLocationsAgentExportRequestr   Fr   r   r   r   r   r   3DialogflowV2.ProjectsLocationsAgentService.<lambda>  4    8#9#9Q> zJ1AI7$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the fulfillment.

Args:
  request: (DialogflowProjectsLocationsAgentGetFulfillmentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Fulfillment) The response message.
r  r   r   r   s       r   r  9DialogflowV2.ProjectsLocationsAgentService.GetFulfillment  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NBv2/projects/{projectsId}/locations/{locationsId}/agent/fulfillmentr  z2dialogflow.projects.locations.agent.getFulfillmentr  r  r  5DialogflowProjectsLocationsAgentGetFulfillmentRequestr  Fr   r   r   r   r   r   r    s4    8+A+AVFxH"Q?,r   c                 D    U R                  S5      nU R                  X1US9$ )a}  Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.

Args:
  request: (DialogflowProjectsLocationsAgentGetValidationResultRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ValidationResult) The response message.
r  r   r   r   s       r   r  >DialogflowV2.ProjectsLocationsAgentService.GetValidationResult  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzGv2/projects/{projectsId}/locations/{locationsId}/agent/validationResultr  z7dialogflow.projects.locations.agent.getValidationResultr   r	  r  r  :DialogflowProjectsLocationsAgentGetValidationResultRequestr  Fr   r   r   r   r   r   r  
  s7    0F0F[K zJ$%;VD1r   c                 D    U R                  S5      nU R                  X1US9$ )ae  Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when importing is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentImportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  1DialogflowV2.ProjectsLocationsAgentService.Import  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz=v2/projects/{projectsId}/locations/{locationsId}/agent:importr   z*dialogflow.projects.locations.agent.importr   r  r  -DialogflowProjectsLocationsAgentImportRequestr   Fr   r   r   r   r   r   r  %  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a.  Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when restoring is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentRestoreRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  2DialogflowV2.ProjectsLocationsAgentService.Restore3  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz>v2/projects/{projectsId}/locations/{locationsId}/agent:restorer   z+dialogflow.projects.locations.agent.restorer   r  r  .DialogflowProjectsLocationsAgentRestoreRequestr   Fr   r   r   r   r   r   r  @  s4    H$:$:R? zJ2BJ7%r   c                 D    U R                  S5      nU R                  X1US9$ )aP  Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).

Args:
  request: (DialogflowProjectsLocationsAgentSearchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SearchAgentsResponse) The response message.
r  r   r   r   s       r   r  1DialogflowV2.ProjectsLocationsAgentService.SearchN  r  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nz=v2/projects/{projectsId}/locations/{locationsId}/agent:searchr  z*dialogflow.projects.locations.agent.searchr   r&  r'  r  r  -DialogflowProjectsLocationsAgentSearchRequestr  Fr   r   r   r   r   r   r  [  s9    8#9#9Q> zJ +.1IH$r   c                 D    U R                  S5      nU R                  X1US9$ )a@  Trains the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsAgentTrainRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  0DialogflowV2.ProjectsLocationsAgentService.Traini  r-  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz<v2/projects/{projectsId}/locations/{locationsId}/agent:trainr   z)dialogflow.projects.locations.agent.trainr   r  r  ,DialogflowProjectsLocationsAgentTrainRequestr   Fr   r   r   r   r   r   r  v  s4    ("8"8P= zJ0@H7#r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the fulfillment.

Args:
  request: (DialogflowProjectsLocationsAgentUpdateFulfillmentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Fulfillment) The response message.
r  r   r   r   s       r   r  <DialogflowV2.ProjectsLocationsAgentService.UpdateFulfillment  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z5dialogflow.projects.locations.agent.updateFulfillmentr  r0  r  r  8DialogflowProjectsLocationsAgentUpdateFulfillmentRequestr  Fr   r   r   r   r   r   r    s6    h.D.DVIxH"^":T?/r   r   r   r  r   s   @r   ro   r    s    B&E
8F8$N 8)%8F8G8F8E8'##r   ro   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )2DialogflowV2.ProjectsLocationsAnswerRecordsServicei  z@Service class for the projects_locations_answerRecords resource.rr   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rq   r   r   r   s     r   r   ;DialogflowV2.ProjectsLocationsAnswerRecordsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )aU  Returns the list of all answer records in the specified project in reverse chronological order.

Args:
  request: (DialogflowProjectsLocationsAnswerRecordsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListAnswerRecordsResponse) The response message.
r!  r   r   r   s       r   r!  7DialogflowV2.ProjectsLocationsAnswerRecordsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz>v2/projects/{projectsId}/locations/{locationsId}/answerRecordsr  z0dialogflow.projects.locations.answerRecords.listr   r  r  r  3DialogflowProjectsLocationsAnswerRecordsListRequestr  Fr   r   r   r   r   r   ;DialogflowV2.ProjectsLocationsAnswerRecordsService.<lambda>  4    !7!7RD zJ82OM"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified answer record.

Args:
  request: (DialogflowProjectsLocationsAnswerRecordsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2AnswerRecord) The response message.
r+  r   r   r   s       r   r+  8DialogflowV2.ProjectsLocationsAnswerRecordsService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzPv2/projects/{projectsId}/locations/{locationsId}/answerRecords/{answerRecordsId}r/  z1dialogflow.projects.locations.answerRecords.patchr  r0  r  r  4DialogflowProjectsLocationsAnswerRecordsPatchRequestr  Fr   r   r   r   r   r   r    s6    ("8"8dExH"^";P@#r   r   r   r  r   s   @r   rq   r    s1    J.E
8D8Er   rq   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )9DialogflowV2.ProjectsLocationsConversationDatasetsServicei  zGService class for the projects_locations_conversationDatasets resource.rt   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rs   r   r   r   s     r   r   BDialogflowV2.ProjectsLocationsConversationDatasetsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a$  Creates a new conversation dataset. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateConversationDatasetOperationMetadata - `response`: ConversationDataset.

Args:
  request: (DialogflowProjectsLocationsConversationDatasetsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  @DialogflowV2.ProjectsLocationsConversationDatasetsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NEv2/projects/{projectsId}/locations/{locationsId}/conversationDatasetsr   z9dialogflow.projects.locations.conversationDatasets.creater   r  *googleCloudDialogflowV2ConversationDataset<DialogflowProjectsLocationsConversationDatasetsCreateRequestr   Fr   r   r   r   r   r   BDialogflowV2.ProjectsLocationsConversationDatasetsService.<lambda>  s4    8#9#9YM zJ9BX7$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified conversation dataset. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: DeleteConversationDatasetOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsLocationsConversationDatasetsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  @DialogflowV2.ProjectsLocationsConversationDatasetsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N^v2/projects/{projectsId}/locations/{locationsId}/conversationDatasets/{conversationDatasetsId}r  z9dialogflow.projects.locations.conversationDatasets.deleter  r  r  <DialogflowProjectsLocationsConversationDatasetsDeleteRequestr   Fr   r   r   r   r   r   r    s4    8#9#9rMxH"X7$r   c                 D    U R                  S5      nU R                  X1US9$ )a#  Retrieves the specified conversation dataset.

Args:
  request: (DialogflowProjectsLocationsConversationDatasetsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationDataset) The response message.
r  r   r   r   s       r   r  =DialogflowV2.ProjectsLocationsConversationDatasetsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z6dialogflow.projects.locations.conversationDatasets.getr  r  r  9DialogflowProjectsLocationsConversationDatasetsGetRequestr   Fr   r   r   r   r   r   r  ,  4     6 6rJxH"UG!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: ImportConversationDataOperationMetadata - `response`: ImportConversationDataOperationResponse.

Args:
  request: (DialogflowProjectsLocationsConversationDatasetsImportConversationDataRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  PDialogflowV2.ProjectsLocationsConversationDatasetsService.ImportConversationData:  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzuv2/projects/{projectsId}/locations/{locationsId}/conversationDatasets/{conversationDatasetsId}:importConversationDatar   zIdialogflow.projects.locations.conversationDatasets.importConversationDatar  r  r	  LDialogflowProjectsLocationsConversationDatasetsImportConversationDataRequestr   Fr   r   r   r   r   r   r  G  s7    83I3I J]xH9Lh74r   c                 D    U R                  S5      nU R                  X1US9$ )aX  Returns the list of all conversation datasets in the specified project and location.

Args:
  request: (DialogflowProjectsLocationsConversationDatasetsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationDatasetsResponse) The response message.
r!  r   r   r   s       r   r!  >DialogflowV2.ProjectsLocationsConversationDatasetsService.ListU  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z7dialogflow.projects.locations.conversationDatasets.listr   r&  r'  r  r  :DialogflowProjectsLocationsConversationDatasetsListRequestr  Fr   r   r   r   r   r   r  b  9    !7!7YK zJ +.9VT"r   r   r   )r   r   r   r   r   r   r   r  r   r  r  r  r!  r   r   r   s   @r   rs   r    s_    Q5E
8F8F8C8,(8Dr   rs   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )BDialogflowV2.ProjectsLocationsConversationModelsEvaluationsServiceip  zQService class for the projects_locations_conversationModels_evaluations resource.rv   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   ru   r   r   r   s     r   r   KDialogflowV2.ProjectsLocationsConversationModelsEvaluationsService.__init__u  rE  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates evaluation of a conversation model.

Args:
  request: (DialogflowProjectsLocationsConversationModelsEvaluationsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  IDialogflowV2.ProjectsLocationsConversationModelsEvaluationsService.Createz  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nfv2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}/evaluationsr   zCdialogflow.projects.locations.conversationModels.evaluations.creater   r   ?googleCloudDialogflowV2CreateConversationModelEvaluationRequestEDialogflowProjectsLocationsConversationModelsEvaluationsCreateRequestr   Fr   r   r   r   r   r   KDialogflowV2.ProjectsLocationsConversationModelsEvaluationsService.<lambda>  s4    8#9#9zW zJ0Wa7$r   c                 D    U R                  S5      nU R                  X1US9$ )a0  Gets an evaluation of conversation model.

Args:
  request: (DialogflowProjectsLocationsConversationModelsEvaluationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationModelEvaluation) The response message.
r  r   r   r   s       r   r  FDialogflowV2.ProjectsLocationsConversationModelsEvaluationsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzvv2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}/evaluations/{evaluationsId}r  z@dialogflow.projects.locations.conversationModels.evaluations.getr  r  r  BDialogflowProjectsLocationsConversationModelsEvaluationsGetRequestr  Fr   r   r   r   r   r   r    s7     6 6 KTxH"^O!r   c                 D    U R                  S5      nU R                  X1US9$ )a?  Lists evaluations of a conversation model.

Args:
  request: (DialogflowProjectsLocationsConversationModelsEvaluationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse) The response message.
r!  r   r   r   s       r   r!  GDialogflowV2.ProjectsLocationsConversationModelsEvaluationsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  zAdialogflow.projects.locations.conversationModels.evaluations.listr   r&  r'  r   r  CDialogflowProjectsLocationsConversationModelsEvaluationsListRequestr"  Fr   r   r   r   r   r   r    s9    !7!7zU zJ +.0_\"r   r   r   )r   r   r   r   r   r   r   r  r   r  r!  r   r   r   s   @r   ru   r  p  s@    [?E
8F8C8Dr   ru   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )7DialogflowV2.ProjectsLocationsConversationModelsServicei  zEService class for the projects_locations_conversationModels resource.rx   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   rw   r   r   r   s     r   r   @DialogflowV2.ProjectsLocationsConversationModelsService.__init__  s#    LCCTSTZ[dr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateConversationModelOperationMetadata - `response`: ConversationModel.

Args:
  request: (DialogflowProjectsLocationsConversationModelsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  >DialogflowV2.ProjectsLocationsConversationModelsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NCv2/projects/{projectsId}/locations/{locationsId}/conversationModelsr   z7dialogflow.projects.locations.conversationModels.creater   r,  r-  :DialogflowProjectsLocationsConversationModelsCreateRequestr   Fr   r   r   r   r   r   @DialogflowV2.ProjectsLocationsConversationModelsService.<lambda>  s4    8#9#9WK zJ7@V7$r   c                 D    U R                  S5      nU R                  X1US9$ )aa  Deletes a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: DeleteConversationModelOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsLocationsConversationModelsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  >DialogflowV2.ProjectsLocationsConversationModelsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NZv2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}r  z7dialogflow.projects.locations.conversationModels.deleter  r  r  :DialogflowProjectsLocationsConversationModelsDeleteRequestr   Fr   r   r   r   r   r   r    s4    8#9#9nKxH"V7$r   c                 D    U R                  S5      nU R                  X1US9$ )a-  Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: DeployConversationModelOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsLocationsConversationModelsDeployRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r6  r   r   r   s       r   r6  >DialogflowV2.ProjectsLocationsConversationModelsService.Deploy  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzav2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}:deployr   z7dialogflow.projects.locations.conversationModels.deployr  r9  r:  :DialogflowProjectsLocationsConversationModelsDeployRequestr   Fr   r   r   r   r   r   r    s4    8#9#9uKxH)MV7$r   c                 D    U R                  S5      nU R                  X1US9$ )a
  Gets conversation model.

Args:
  request: (DialogflowProjectsLocationsConversationModelsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationModel) The response message.
r  r   r   r   s       r   r  ;DialogflowV2.ProjectsLocationsConversationModelsService.Get&  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z4dialogflow.projects.locations.conversationModels.getr  r  r  7DialogflowProjectsLocationsConversationModelsGetRequestr@  Fr   r   r   r   r   r   r  3  s4     6 6nHxH"SE!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists conversation models.

Args:
  request: (DialogflowProjectsLocationsConversationModelsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationModelsResponse) The response message.
r!  r   r   r   s       r   r!  <DialogflowV2.ProjectsLocationsConversationModelsService.ListA  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr
  r  z5dialogflow.projects.locations.conversationModels.listr   r&  r'  r,  r  8DialogflowProjectsLocationsConversationModelsListRequestrE  Fr   r   r   r   r   r   r  N  s9    !7!7WI zJ +.7TR"r   c                 D    U R                  S5      nU R                  X1US9$ )a-  Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used: - For article suggestion, article suggestion will fallback to the default model if model is undeployed. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: UndeployConversationModelOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsLocationsConversationModelsUndeployRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
rG  r   r   r   s       r   rG  @DialogflowV2.ProjectsLocationsConversationModelsService.Undeploy\  rI  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzcv2/projects/{projectsId}/locations/{locationsId}/conversationModels/{conversationModelsId}:undeployr   z9dialogflow.projects.locations.conversationModels.undeployr  rK  rL  <DialogflowProjectsLocationsConversationModelsUndeployRequestr   Fr   r   r   r   r   r   r  i  s4    X%;%;wMxH+OX7&r   r   r   rN  r   s   @r   rw   r    sm    O3E
8F8F8F8C8D8Hr   rw   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )9DialogflowV2.ProjectsLocationsConversationProfilesServiceiw  zGService class for the projects_locations_conversationProfiles resource.rz   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   ry   r   r   r   s     r   r   BDialogflowV2.ProjectsLocationsConversationProfilesService.__init__|  r  r   c                 D    U R                  S5      nU R                  X1US9$ )aq  Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: ClearSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile.

Args:
  request: (DialogflowProjectsLocationsConversationProfilesClearSuggestionFeatureConfigRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
rT  r   r   r   s       r   rT  VDialogflowV2.ProjectsLocationsConversationProfilesService.ClearSuggestionFeatureConfig  rV  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz{v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}:clearSuggestionFeatureConfigr   zOdialogflow.projects.locations.conversationProfiles.clearSuggestionFeatureConfigrX  rY  rZ  RDialogflowProjectsLocationsConversationProfilesClearSuggestionFeatureConfigRequestr   Fr   r   r   r   r   r   BDialogflowV2.ProjectsLocationsConversationProfilesService.<lambda>  s9    9O9O Pc-.*+NRn7:r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a conversation profile in the specified project. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API.

Args:
  request: (DialogflowProjectsLocationsConversationProfilesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationProfile) The response message.
r  r   r   r   s       r   r  @DialogflowV2.ProjectsLocationsConversationProfilesService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NEv2/projects/{projectsId}/locations/{locationsId}/conversationProfilesr   z9dialogflow.projects.locations.conversationProfiles.creater   ra  rb  <DialogflowProjectsLocationsConversationProfilesCreateRequestrd  Fr   r   r   r   r   r   r*    s4    8#9#9YM zJ9BXG$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified conversation profile.

Args:
  request: (DialogflowProjectsLocationsConversationProfilesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  @DialogflowV2.ProjectsLocationsConversationProfilesService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N^v2/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}r  z9dialogflow.projects.locations.conversationProfiles.deleter  r  r  <DialogflowProjectsLocationsConversationProfilesDeleteRequestr  Fr   r   r   r   r   r   r*    s4    8#9#9rMxH"X0$r   c                 D    U R                  S5      nU R                  X1US9$ )a#  Retrieves the specified conversation profile.

Args:
  request: (DialogflowProjectsLocationsConversationProfilesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationProfile) The response message.
r  r   r   r   s       r   r  =DialogflowV2.ProjectsLocationsConversationProfilesService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr3  r  z6dialogflow.projects.locations.conversationProfiles.getr  r  r  9DialogflowProjectsLocationsConversationProfilesGetRequestrd  Fr   r   r   r   r   r   r*    r  r   c                 D    U R                  S5      nU R                  X1US9$ )aK  Returns the list of all conversation profiles in the specified project.

Args:
  request: (DialogflowProjectsLocationsConversationProfilesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationProfilesResponse) The response message.
r!  r   r   r   s       r   r!  >DialogflowV2.ProjectsLocationsConversationProfilesService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr.  r  z7dialogflow.projects.locations.conversationProfiles.listr   r&  r'  ra  r  :DialogflowProjectsLocationsConversationProfilesListRequestrr  Fr   r   r   r   r   r   r*    r  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified conversation profile. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API.

Args:
  request: (DialogflowProjectsLocationsConversationProfilesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ConversationProfile) The response message.
r+  r   r   r   s       r   r+  ?DialogflowV2.ProjectsLocationsConversationProfilesService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr3  r/  z8dialogflow.projects.locations.conversationProfiles.patchr  r0  r  rb  ;DialogflowProjectsLocationsConversationProfilesPatchRequestrd  Fr   r   r   r   r   r   r*    s6    ("8"8rLxH"^"BWG#r   c                 D    U R                  S5      nU R                  X1US9$ )a  Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: SetSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.

Args:
  request: (DialogflowProjectsLocationsConversationProfilesSetSuggestionFeatureConfigRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
rx  r   r   r   s       r   rx  TDialogflowV2.ProjectsLocationsConversationProfilesService.SetSuggestionFeatureConfig#  rz  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzyv2/projects/{projectsId}/locations/{locationsId}/conversationProfiles/{conversationProfilesId}:setSuggestionFeatureConfigr   zMdialogflow.projects.locations.conversationProfiles.setSuggestionFeatureConfigrX  r|  r}  PDialogflowProjectsLocationsConversationProfilesSetSuggestionFeatureConfigRequestr   Fr   r   r   r   r   r   r*  0  s9    x7M7M Na-.*+LPl78r   r   r   r  r   s   @r   ry   r#  w  s~    Q5E
82 .8F8F8C8D8E80,,r   ry   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	:DialogflowV2.ProjectsLocationsConversationsMessagesServicei>  zIService class for the projects_locations_conversations_messages resource.r|   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r{   r   r   r   s     r   r   CDialogflowV2.ProjectsLocationsConversationsMessagesService.__init__C  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.

Args:
  request: (DialogflowProjectsLocationsConversationsMessagesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListMessagesResponse) The response message.
r!  r   r   r   s       r   r!  ?DialogflowV2.ProjectsLocationsConversationsMessagesService.ListH  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NzYv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/messagesr  z9dialogflow.projects.locations.conversations.messages.listr   r  r  r  ;DialogflowProjectsLocationsConversationsMessagesListRequestr  Fr   r   r   r   r   r   CDialogflowV2.ProjectsLocationsConversationsMessagesService.<lambda>U  s4    !7!7mM zJ8-WH"r   r   r   r@  r   s   @r   r{   rF  >  s"    S7E
8Dr   r{   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )IDialogflowV2.ProjectsLocationsConversationsParticipantsSuggestionsServiceic  zYService class for the projects_locations_conversations_participants_suggestions resource.r~   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r}   r   r   r   s     r   r   RDialogflowV2.ProjectsLocationsConversationsParticipantsSuggestionsService.__init__h  s$    LUUW[eflmdr   c                 D    U R                  S5      nU R                  X1US9$ )af  Gets suggested articles for a participant based on specific historical messages.

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestArticlesResponse) The response message.
r  r   r   r   s       r   r  YDialogflowV2.ProjectsLocationsConversationsParticipantsSuggestionsService.SuggestArticlesm  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestArticlesr   zTdialogflow.projects.locations.conversations.participants.suggestions.suggestArticlesr   r  r  UDialogflowProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesRequestr  Fr   r   r   r   r   r   RDialogflowV2.ProjectsLocationsConversationsParticipantsSuggestionsService.<lambda>z  s7    H,B,B _h zJ@EqK-r   c                 D    U R                  S5      nU R                  X1US9$ )am  Gets suggested faq answers for a participant based on specific historical messages.

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestFaqAnswersResponse) The response message.
r  r   r   r   s       r   r  [DialogflowV2.ProjectsLocationsConversationsParticipantsSuggestionsService.SuggestFaqAnswers  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestFaqAnswersr   zVdialogflow.projects.locations.conversations.participants.suggestions.suggestFaqAnswersr   r  r  WDialogflowProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersRequestr  Fr   r   r   r   r   r   rV    s7    h.D.D aj zJBGsM/r   c                 D    U R                  S5      nU R                  X1US9$ )ac  Gets knowledge assist suggestions based on historical messages.

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsSuggestionsSuggestKnowledgeAssistRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse) The response message.
r  r   r   r   s       r   r  `DialogflowV2.ProjectsLocationsConversationsParticipantsSuggestionsService.SuggestKnowledgeAssist  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestKnowledgeAssistr   z[dialogflow.projects.locations.conversations.participants.suggestions.suggestKnowledgeAssistr   r  r  \DialogflowProjectsLocationsConversationsParticipantsSuggestionsSuggestKnowledgeAssistRequestr  Fr   r   r   r   r   r   rV    s7    83I3I fo zJGLxR4r   c                 D    U R                  S5      nU R                  X1US9$ )ai  Gets smart replies for a participant based on specific historical messages.

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestSmartRepliesResponse) The response message.
r  r   r   r   s       r   r  ]DialogflowV2.ProjectsLocationsConversationsParticipantsSuggestionsService.SuggestSmartReplies  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestSmartRepliesr   zXdialogflow.projects.locations.conversations.participants.suggestions.suggestSmartRepliesr   r  r  YDialogflowProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesRequestr  Fr   r   r   r   r   r   rV    s7    0F0F cl zJDIuO1r   r   r   r  r   s   @r   r}   rO  c  sR    cGE
8%O!8'#8,(8)%%r   r}   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )>DialogflowV2.ProjectsLocationsConversationsParticipantsServicei  zMService class for the projects_locations_conversations_participants resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   GDialogflowV2.ProjectsLocationsConversationsParticipantsService.__init__  s#    LJJDZ[abdr   c                 D    U R                  S5      nU R                  X1US9$ )a0  Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsAnalyzeContentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2AnalyzeContentResponse) The response message.
r  r   r   r   s       r   r  MDialogflowV2.ProjectsLocationsConversationsParticipantsService.AnalyzeContent  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz}v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}:analyzeContentr   zGdialogflow.projects.locations.conversations.participants.analyzeContentr  r  r  IDialogflowProjectsLocationsConversationsParticipantsAnalyzeContentRequestr  Fr   r   r   r   r   r   GDialogflowV2.ProjectsLocationsConversationsParticipantsService.<lambda>  s7    8+A+A R[%"O8DeJ,r   c                 D    U R                  S5      nU R                  X1US9$ )a"  Creates a new participant in a conversation.

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Participant) The response message.
r  r   r   r   s       r   r  EDialogflowV2.ProjectsLocationsConversationsParticipantsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N]v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participantsr   z?dialogflow.projects.locations.conversations.participants.creater   r  r  ADialogflowProjectsLocationsConversationsParticipantsCreateRequestr  Fr   r   r   r   r   r   rk    s4    8#9#9qS zJ1:]?$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves a conversation participant.

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Participant) The response message.
r  r   r   r   s       r   r  BDialogflowV2.ProjectsLocationsConversationsParticipantsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nnv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}r  z<dialogflow.projects.locations.conversations.participants.getr  r  r  >DialogflowProjectsLocationsConversationsParticipantsGetRequestr  Fr   r   r   r   r   r   rk  &  s7     6 6 CPxH"Z?!r   c                 D    U R                  S5      nU R                  X1US9$ )aD  Returns the list of all participants in the specified conversation.

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListParticipantsResponse) The response message.
r!  r   r   r   s       r   r!  CDialogflowV2.ProjectsLocationsConversationsParticipantsService.List4  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nro  r  z=dialogflow.projects.locations.conversations.participants.listr   r&  r'  r  r  ?DialogflowProjectsLocationsConversationsParticipantsListRequestr  Fr   r   r   r   r   r   rk  A  s9    !7!7qQ zJ +.1[L"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified participant.

Args:
  request: (DialogflowProjectsLocationsConversationsParticipantsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Participant) The response message.
r+  r   r   r   s       r   r+  DDialogflowV2.ProjectsLocationsConversationsParticipantsService.PatchO  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrt  r/  z>dialogflow.projects.locations.conversations.participants.patchr  r0  r  r  @DialogflowProjectsLocationsConversationsParticipantsPatchRequestr  Fr   r   r   r   r   r   rk  \  s9    ("8"8 CRxH"^":\?#r   r   r   r  r   s   @r   r   rd    s^    W;E
8$N 8F8C8D8Er   r   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )=DialogflowV2.ProjectsLocationsConversationsSuggestionsServiceij  zLService class for the projects_locations_conversations_suggestions resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   FDialogflowV2.ProjectsLocationsConversationsSuggestionsService.__init__o  rx  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.

Args:
  request: (DialogflowProjectsLocationsConversationsSuggestionsGenerateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2GenerateSuggestionsResponse) The response message.
r  r   r   r   s       r   r  FDialogflowV2.ProjectsLocationsConversationsSuggestionsService.Generatet  rI  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzev2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:generater   z@dialogflow.projects.locations.conversations.suggestions.generater  r  r  BDialogflowProjectsLocationsConversationsSuggestionsGenerateRequestr  Fr   r   r   r   r   r   FDialogflowV2.ProjectsLocationsConversationsSuggestionsService.<lambda>  s6    X%;%;yT&'#$?I^O&r   c                 D    U R                  S5      nU R                  X1US9$ r  r   r   s       r   r  MDialogflowV2.ProjectsLocationsConversationsSuggestionsService.SearchKnowledge  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzlv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:searchKnowledger   zGdialogflow.projects.locations.conversations.suggestions.searchKnowledger  r  r  r  r  Fr   r   r   r   r   r   r    s9    H,B,B A[&'#$F!IK-r   c                 D    U R                  S5      nU R                  X1US9$ )a  Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.

Args:
  request: (DialogflowProjectsLocationsConversationsSuggestionsSuggestConversationSummaryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SuggestConversationSummaryResponse) The response message.
r  r   r   r   s       r   r  XDialogflowV2.ProjectsLocationsConversationsSuggestionsService.SuggestConversationSummary  rz  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzwv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/suggestions:suggestConversationSummaryr   zRdialogflow.projects.locations.conversations.suggestions.suggestConversationSummaryr  r  r  TDialogflowProjectsLocationsConversationsSuggestionsSuggestConversationSummaryRequestr  Fr   r   r   r   r   r   r    s9    x7M7M Lf&'#$QPpV8r   r   r   r  r   s   @r   r   r  j  sA    V:E
8H8%O!80,,r   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )2DialogflowV2.ProjectsLocationsConversationsServicei  z@Service class for the projects_locations_conversations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   ;DialogflowV2.ProjectsLocationsConversationsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )aU  Completes the specified conversation. Finished conversations are purged from the database after 30 days.

Args:
  request: (DialogflowProjectsLocationsConversationsCompleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Conversation) The response message.
r  r   r   r   s       r   r  ;DialogflowV2.ProjectsLocationsConversationsService.Complete  rI  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzYv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}:completer   z4dialogflow.projects.locations.conversations.completer  r   r  7DialogflowProjectsLocationsConversationsCompleteRequestr  Fr   r   r   r   r   r   ;DialogflowV2.ProjectsLocationsConversationsService.<lambda>  s4    X%;%;mHxH+JS@&r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.

Args:
  request: (DialogflowProjectsLocationsConversationsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Conversation) The response message.
r  r   r   r   s       r   r  9DialogflowV2.ProjectsLocationsConversationsService.Create  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N>v2/projects/{projectsId}/locations/{locationsId}/conversationsr   z2dialogflow.projects.locations.conversations.creater   r	  r
  r  5DialogflowProjectsLocationsConversationsCreateRequestr  Fr   r   r   r   r   r   r    s7    8#9#9RF zJ&'2;Q@$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specific conversation.

Args:
  request: (DialogflowProjectsLocationsConversationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Conversation) The response message.
r  r   r   r   s       r   r  6DialogflowV2.ProjectsLocationsConversationsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzPv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}r  z/dialogflow.projects.locations.conversations.getr  r  r  2DialogflowProjectsLocationsConversationsGetRequestr  Fr   r   r   r   r   r   r    s4     6 6dCxH"N@!r   c                 D    U R                  S5      nU R                  X1US9$ )a[  Data ingestion API. Ingests context references for an existing conversation.

Args:
  request: (DialogflowProjectsLocationsConversationsIngestContextReferencesRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2IngestContextReferencesResponse) The response message.
IngestContextReferencesr   r   r   s       r   r  JDialogflowV2.ProjectsLocationsConversationsService.IngestContextReferences   s0     ##$=>f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzhv2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}:ingestContextReferencesr   zCdialogflow.projects.locations.conversations.ingestContextReferencesr  z*v2/{+conversation}:ingestContextReferences5googleCloudDialogflowV2IngestContextReferencesRequestFDialogflowProjectsLocationsConversationsIngestContextReferencesRequest6GoogleCloudDialogflowV2IngestContextReferencesResponseFr   r   r   r   r   r   r  -  s6    H4J4J|W&'#$BMbS5r   c                 D    U R                  S5      nU R                  X1US9$ )a5  Returns the list of all conversations in the specified project.

Args:
  request: (DialogflowProjectsLocationsConversationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListConversationsResponse) The response message.
r!  r   r   r   s       r   r!  7DialogflowV2.ProjectsLocationsConversationsService.List;  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r  z0dialogflow.projects.locations.conversations.listr   r  r
  r  3DialogflowProjectsLocationsConversationsListRequestr  Fr   r   r   r   r   r   r  H  r  r   r   r   )r   r   r   r   r   r   r   r  r   r  r  r  r!  r   r   r   s   @r   r   r    s_    J.E
8H8F8C8-)8Dr   r   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	3DialogflowV2.ProjectsLocationsEncryptionSpecServiceiV  zAService class for the projects_locations_encryptionSpec resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   <DialogflowV2.ProjectsLocationsEncryptionSpecService.__init__[  r.  r   c                 D    U R                  S5      nU R                  X1US9$ )a8  Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.

Args:
  request: (DialogflowProjectsLocationsEncryptionSpecInitializeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.

Initializer   r   r   s       r   r  >DialogflowV2.ProjectsLocationsEncryptionSpecService.Initialize`  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv2/projects/{projectsId}/locations/{locationsId}/encryptionSpec:initializer   z7dialogflow.projects.locations.encryptionSpec.initializer  zv2/{+name}:initialize6googleCloudDialogflowV2InitializeEncryptionSpecRequest:DialogflowProjectsLocationsEncryptionSpecInitializeRequestr   Fr   r   r   r   r   r   <DialogflowV2.ProjectsLocationsEncryptionSpecService.<lambda>m  s4    x'='=^KxH-NV7(r   r   r   )r   r   r   r   r   r   r   r  r   r   r   r   s   @r   r   r  V  s"    K/E
8 Jr   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ ):DialogflowV2.ProjectsLocationsGeneratorsEvaluationsServicei{  zIService class for the projects_locations_generators_evaluations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   CDialogflowV2.ProjectsLocationsGeneratorsEvaluationsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates evaluation of a generator.

Args:
  request: (DialogflowProjectsLocationsGeneratorsEvaluationsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  ADialogflowV2.ProjectsLocationsGeneratorsEvaluationsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NVv2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluationsr   z;dialogflow.projects.locations.generators.evaluations.creater   r   *googleCloudDialogflowV2GeneratorEvaluation=DialogflowProjectsLocationsGeneratorsEvaluationsCreateRequestr   Fr   r   r   r   r   r   CDialogflowV2.ProjectsLocationsGeneratorsEvaluationsService.<lambda>  s4    8#9#9jO zJ0BY7$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes an evaluation of generator.

Args:
  request: (DialogflowProjectsLocationsGeneratorsEvaluationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  ADialogflowV2.ProjectsLocationsGeneratorsEvaluationsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nfv2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}/evaluations/{evaluationsId}r  z;dialogflow.projects.locations.generators.evaluations.deleter  r  r  =DialogflowProjectsLocationsGeneratorsEvaluationsDeleteRequestr  Fr   r   r   r   r   r   r    s4    8#9#9zOxH"Y0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets an evaluation of generator.

Args:
  request: (DialogflowProjectsLocationsGeneratorsEvaluationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2GeneratorEvaluation) The response message.
r  r   r   r   s       r   r  >DialogflowV2.ProjectsLocationsGeneratorsEvaluationsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z8dialogflow.projects.locations.generators.evaluations.getr  r  r  :DialogflowProjectsLocationsGeneratorsEvaluationsGetRequest*GoogleCloudDialogflowV2GeneratorEvaluationFr   r   r   r   r   r   r    s4     6 6zLxH"VG!r   c                 D    U R                  S5      nU R                  X1US9$ )a$  Lists evaluations of generator.

Args:
  request: (DialogflowProjectsLocationsGeneratorsEvaluationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse) The response message.
r!  r   r   r   s       r   r!  ?DialogflowV2.ProjectsLocationsGeneratorsEvaluationsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z9dialogflow.projects.locations.generators.evaluations.listr   r&  r'  r   r  ;DialogflowProjectsLocationsGeneratorsEvaluationsListRequest7GoogleCloudDialogflowV2ListGeneratorEvaluationsResponseFr   r   r   r   r   r   r    s9    !7!7jM zJ +.0WT"r   r   r   )r   r   r   r   r   r   r   r  r   r  r  r!  r   r   r   s   @r   r   r  {  sO    S7E
8F8F8C8Dr   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )/DialogflowV2.ProjectsLocationsGeneratorsServicei  z=Service class for the projects_locations_generators resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   8DialogflowV2.ProjectsLocationsGeneratorsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a generator.

Args:
  request: (DialogflowProjectsLocationsGeneratorsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Generator) The response message.
r  r   r   r   s       r   r  6DialogflowV2.ProjectsLocationsGeneratorsService.Create  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N;v2/projects/{projectsId}/locations/{locationsId}/generatorsr   z/dialogflow.projects.locations.generators.creater   r  r   r!  2DialogflowProjectsLocationsGeneratorsCreateRequestr#  Fr   r   r   r   r   r   8DialogflowV2.ProjectsLocationsGeneratorsService.<lambda>  s6    8#9#9OC zJ#_/8N=$r   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a generator.

Args:
  request: (DialogflowProjectsLocationsGeneratorsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  6DialogflowV2.ProjectsLocationsGeneratorsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NJv2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}r  z/dialogflow.projects.locations.generators.deleter  r  r  2DialogflowProjectsLocationsGeneratorsDeleteRequestr  Fr   r   r   r   r   r   r  #  s4    8#9#9^CxH"N0$r   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieves a generator.

Args:
  request: (DialogflowProjectsLocationsGeneratorsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Generator) The response message.
r  r   r   r   s       r   r  3DialogflowV2.ProjectsLocationsGeneratorsService.Get1  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z,dialogflow.projects.locations.generators.getr  r  r  /DialogflowProjectsLocationsGeneratorsGetRequestr#  Fr   r   r   r   r   r   r  >  s4     6 6^@xH"K=!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists generators.

Args:
  request: (DialogflowProjectsLocationsGeneratorsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListGeneratorsResponse) The response message.
r!  r   r   r   s       r   r!  4DialogflowV2.ProjectsLocationsGeneratorsService.ListL  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z-dialogflow.projects.locations.generators.listr   r&  r'  r   r  0DialogflowProjectsLocationsGeneratorsListRequestr)  Fr   r   r   r   r   r   r  Y  s9    !7!7OA zJ +./LJ"r   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates a generator.

Args:
  request: (DialogflowProjectsLocationsGeneratorsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Generator) The response message.
r+  r   r   r   s       r   r+  5DialogflowV2.ProjectsLocationsGeneratorsService.Patchg  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z.dialogflow.projects.locations.generators.patchr  r0  r  r!  1DialogflowProjectsLocationsGeneratorsPatchRequestr#  Fr   r   r   r   r   r   r  t  s6    ("8"8^BxH"^"8M=#r   r   r   ra  r   s   @r   r   r    r<  r   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )<DialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsServicei  zKService class for the projects_locations_knowledgeBases_documents resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   EDialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.__init__  s#    LHH$XY_`dr   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDocumentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  CDialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.Create  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N\v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documentsr   z=dialogflow.projects.locations.knowledgeBases.documents.creater   r  r  ?DialogflowProjectsLocationsKnowledgeBasesDocumentsCreateRequestr   Fr   r   r   r   r   r   EDialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.<lambda>  s4    8#9#9pQ zJ.7[7$r   c                 D    U R                  S5      nU R                  X1US9$ )af  Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty).

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDocumentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  CDialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.Delete  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Njv2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}r  z=dialogflow.projects.locations.knowledgeBases.documents.deleter  r  r  ?DialogflowProjectsLocationsKnowledgeBasesDocumentsDeleteRequestr   Fr   r   r   r   r   r   r    s4    8#9#9~QxH"[7$r   c                 D    U R                  S5      nU R                  X1US9$ )a4  Exports a smart messaging candidate document into the specified destination. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDocumentsExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  CDialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.Export  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzqv2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:exportr   z=dialogflow.projects.locations.knowledgeBases.documents.exportr  r=  r>  ?DialogflowProjectsLocationsKnowledgeBasesDocumentsExportRequestr   Fr   r   r   r   r   r   r    7    8#9#9 FQxH)D[7$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified document.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDocumentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Document) The response message.
r  r   r   r   s       r   r  @DialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z:dialogflow.projects.locations.knowledgeBases.documents.getr  r  r  <DialogflowProjectsLocationsKnowledgeBasesDocumentsGetRequestr  Fr   r   r   r   r   r   r    s4     6 6~NxH"X<!r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: ImportDocumentsResponse.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDocumentsImportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  CDialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.Import  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzcv2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents:importr   z=dialogflow.projects.locations.knowledgeBases.documents.importr   rH  rI  ?DialogflowProjectsLocationsKnowledgeBasesDocumentsImportRequestr   Fr   r   r   r   r   r   r    s4    8#9#9wQ zJ5E[7$r   c                 D    U R                  S5      nU R                  X1US9$ )a4  Returns the list of all documents of the knowledge base.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDocumentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListDocumentsResponse) The response message.
r!  r   r   r   s       r   r!  ADialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r  z;dialogflow.projects.locations.knowledgeBases.documents.listr   r  r  r  =DialogflowProjectsLocationsKnowledgeBasesDocumentsListRequestr  Fr   r   r   r   r   r   r     s4    !7!7pO zJ8.YI"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDocumentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r+  r   r   r   s       r   r+  BDialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.Patch.  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z<dialogflow.projects.locations.knowledgeBases.documents.patchr  r0  r  r  >DialogflowProjectsLocationsKnowledgeBasesDocumentsPatchRequestr   Fr   r   r   r   r   r   r  ;  s6    ("8"8~PxH"^"7Z7#r   c                 D    U R                  S5      nU R                  X1US9$ )az  Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDocumentsReloadRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  CDialogflowV2.ProjectsLocationsKnowledgeBasesDocumentsService.ReloadI  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzqv2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents/{documentsId}:reloadr   z=dialogflow.projects.locations.knowledgeBases.documents.reloadr  r  r  ?DialogflowProjectsLocationsKnowledgeBasesDocumentsReloadRequestr   Fr   r   r   r   r   r   r  V  r  r   r   r   rW  r   s   @r   r   r    s    U9E
8F8F8F8C8F8D8E8Fr   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )3DialogflowV2.ProjectsLocationsKnowledgeBasesServiceid  zAService class for the projects_locations_knowledgeBases resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   <DialogflowV2.ProjectsLocationsKnowledgeBasesService.__init__i  r.  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a knowledge base.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r  r   r   r   s       r   r  :DialogflowV2.ProjectsLocationsKnowledgeBasesService.Createn  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N?v2/projects/{projectsId}/locations/{locationsId}/knowledgeBasesr   z3dialogflow.projects.locations.knowledgeBases.creater   r$  r%  6DialogflowProjectsLocationsKnowledgeBasesCreateRequestr'  Fr   r   r   r   r   r   <DialogflowV2.ProjectsLocationsKnowledgeBasesService.<lambda>{  s4    8#9#9SG zJ3<RA$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified knowledge base.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  :DialogflowV2.ProjectsLocationsKnowledgeBasesService.Delete  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NRv2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}r  z3dialogflow.projects.locations.knowledgeBases.deleter  r-  r  r  6DialogflowProjectsLocationsKnowledgeBasesDeleteRequestr  Fr   r   r   r   r   r   r    s6    8#9#9fGxHY"R0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified knowledge base.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r  r   r   r   s       r   r  7DialogflowV2.ProjectsLocationsKnowledgeBasesService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   r  z0dialogflow.projects.locations.knowledgeBases.getr  r  r  3DialogflowProjectsLocationsKnowledgeBasesGetRequestr'  Fr   r   r   r   r   r   r    s4     6 6fDxH"OA!r   c                 D    U R                  S5      nU R                  X1US9$ )a7  Returns the list of all knowledge bases of the specified agent.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListKnowledgeBasesResponse) The response message.
r!  r   r   r   s       r   r!  8DialogflowV2.ProjectsLocationsKnowledgeBasesService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r  z1dialogflow.projects.locations.knowledgeBases.listr   r  r$  r  4DialogflowProjectsLocationsKnowledgeBasesListRequestr7  Fr   r   r   r   r   r   r    s4    !7!7SE zJ83PN"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified knowledge base.

Args:
  request: (DialogflowProjectsLocationsKnowledgeBasesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2KnowledgeBase) The response message.
r+  r   r   r   s       r   r+  9DialogflowV2.ProjectsLocationsKnowledgeBasesService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr   r/  z2dialogflow.projects.locations.knowledgeBases.patchr  r0  r  r%  5DialogflowProjectsLocationsKnowledgeBasesPatchRequestr'  Fr   r   r   r   r   r   r    s6    ("8"8fFxH"^"<QA#r   r   r   ra  r   s   @r   r   r  d  r  r   r   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )/DialogflowV2.ProjectsLocationsOperationsServicei  z=Service class for the projects_locations_operations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   8DialogflowV2.ProjectsLocationsOperationsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a#  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

Args:
  request: (DialogflowProjectsLocationsOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
Cancelr   r   r   s       r   r3  6DialogflowV2.ProjectsLocationsOperationsService.Cancel  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzQv2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelr   z/dialogflow.projects.locations.operations.cancelr  v2/{+name}:cancelr  2DialogflowProjectsLocationsOperationsCancelRequestr  Fr   r   r   r   r   r   8DialogflowV2.ProjectsLocationsOperationsService.<lambda>  s4    8#9#9eCxH)N0$r   c                 D    U R                  S5      nU R                  X1US9$ )aw  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Args:
  request: (DialogflowProjectsLocationsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  3DialogflowV2.ProjectsLocationsOperationsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}r  z,dialogflow.projects.locations.operations.getr  r  r  /DialogflowProjectsLocationsOperationsGetRequestr   Fr   r   r   r   r   r   r8  '  s4     6 6^@xH"K7!r   c                 D    U R                  S5      nU R                  X1US9$ )aq  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

Args:
  request: (DialogflowProjectsLocationsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningListOperationsResponse) The response message.
r!  r   r   r   s       r   r!  4DialogflowV2.ProjectsLocationsOperationsService.List5  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz;v2/projects/{projectsId}/locations/{locationsId}/operationsr  z-dialogflow.projects.locations.operations.listr  r  r&  r'  returnPartialSuccessv2/{+name}/operationsr  0DialogflowProjectsLocationsOperationsListRequest'GoogleLongrunningListOperationsResponseFr   r   r   r   r   r   r8  B  s4    !7!7OAxHP-LD"r   r   r   r   r   r   r   r   r   r   r3  r   r  r!  r   r   r   s   @r   r   r/    s@    G+E
8F8C8Dr   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ ).DialogflowV2.ProjectsLocationsSipTrunksServiceiP  z<Service class for the projects_locations_sipTrunks resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   7DialogflowV2.ProjectsLocationsSipTrunksService.__init__U  r'  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a SipTrunk for a specified location.

Args:
  request: (DialogflowProjectsLocationsSipTrunksCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SipTrunk) The response message.
r  r   r   r   s       r   r  5DialogflowV2.ProjectsLocationsSipTrunksService.CreateZ  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N:v2/projects/{projectsId}/locations/{locationsId}/sipTrunksr   z.dialogflow.projects.locations.sipTrunks.creater   v2/{+parent}/sipTrunksgoogleCloudDialogflowV2SipTrunk1DialogflowProjectsLocationsSipTrunksCreateRequestGoogleCloudDialogflowV2SipTrunkFr   r   r   r   r   r   7DialogflowV2.ProjectsLocationsSipTrunksService.<lambda>g  s4    8#9#9NB zJ.7M<$r   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a specified SipTrunk.

Args:
  request: (DialogflowProjectsLocationsSipTrunksDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  5DialogflowV2.ProjectsLocationsSipTrunksService.Deleteu  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NHv2/projects/{projectsId}/locations/{locationsId}/sipTrunks/{sipTrunksId}r  z.dialogflow.projects.locations.sipTrunks.deleter  r  r  1DialogflowProjectsLocationsSipTrunksDeleteRequestr  Fr   r   r   r   r   r   rR    s4    8#9#9\BxH"M0$r   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves the specified SipTrunk.

Args:
  request: (DialogflowProjectsLocationsSipTrunksGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SipTrunk) The response message.
r  r   r   r   s       r   r  2DialogflowV2.ProjectsLocationsSipTrunksService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrV  r  z+dialogflow.projects.locations.sipTrunks.getr  r  r  .DialogflowProjectsLocationsSipTrunksGetRequestrQ  Fr   r   r   r   r   r   rR    s4     6 6\?xH"J<!r   c                 D    U R                  S5      nU R                  X1US9$ )a$  Returns a list of SipTrunks in the specified location.

Args:
  request: (DialogflowProjectsLocationsSipTrunksListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListSipTrunksResponse) The response message.
r!  r   r   r   s       r   r!  3DialogflowV2.ProjectsLocationsSipTrunksService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NrM  r  z,dialogflow.projects.locations.sipTrunks.listr   r&  r'  rN  r  /DialogflowProjectsLocationsSipTrunksListRequest,GoogleCloudDialogflowV2ListSipTrunksResponseFr   r   r   r   r   r   rR    s9    !7!7N@ zJ +..KI"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified SipTrunk.

Args:
  request: (DialogflowProjectsLocationsSipTrunksPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2SipTrunk) The response message.
r+  r   r   r   s       r   r+  4DialogflowV2.ProjectsLocationsSipTrunksService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NrV  r/  z-dialogflow.projects.locations.sipTrunks.patchr  r0  r  rO  0DialogflowProjectsLocationsSipTrunksPatchRequestrQ  Fr   r   r   r   r   r   rR    s6    ("8"8\AxH"^"7L<#r   r   r   ra  r   s   @r   r   rG  P  s^    F*E
8F8F8C8D8Er   r   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	8DialogflowV2.ProjectsLocationsStatelessSuggestionServicei  zFService class for the projects_locations_statelessSuggestion resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   ADialogflowV2.ProjectsLocationsStatelessSuggestionService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )am  Generates and returns a suggestion for a conversation that does not have a resource created for it.

Args:
  request: (DialogflowProjectsLocationsStatelessSuggestionGenerateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse) The response message.
r  r   r   r   s       r   r  ADialogflowV2.ProjectsLocationsStatelessSuggestionService.Generate  rI  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzMv2/projects/{projectsId}/locations/{locationsId}/statelessSuggestion:generater   z:dialogflow.projects.locations.statelessSuggestion.generater   z)v2/{+parent}/statelessSuggestion:generate9googleCloudDialogflowV2GenerateStatelessSuggestionRequest=DialogflowProjectsLocationsStatelessSuggestionGenerateRequest:GoogleCloudDialogflowV2GenerateStatelessSuggestionResponseFr   r   r   r   r   r   ADialogflowV2.ProjectsLocationsStatelessSuggestionService.<lambda>  s4    X%;%;aN zJAQYW&r   r   r   )r   r   r   r   r   r   r   r  r   r   r   r   s   @r   r   rf    s"    P4E
8Hr   r   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )0DialogflowV2.ProjectsLocationsSuggestionsServicei  z>Service class for the projects_locations_suggestions resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   9DialogflowV2.ProjectsLocationsSuggestionsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )ao  Generates and returns a summary for a conversation that does not have a resource created for it.

Args:
  request: (DialogflowProjectsLocationsSuggestionsGenerateStatelessSummaryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2GenerateStatelessSummaryResponse) The response message.
GenerateStatelessSummaryr   r   r   s       r   ru  IDialogflowV2.ProjectsLocationsSuggestionsService.GenerateStatelessSummary  0     ##$>?f__
  8 8r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzUv2/projects/{projectsId}/locations/{locationsId}/suggestions:generateStatelessSummaryr   zBdialogflow.projects.locations.suggestions.generateStatelessSummaryr   1v2/{+parent}/suggestions:generateStatelessSummary6googleCloudDialogflowV2GenerateStatelessSummaryRequestEDialogflowProjectsLocationsSuggestionsGenerateStatelessSummaryRequest7GoogleCloudDialogflowV2GenerateStatelessSummaryResponseFr   r   r   r   r   r   9DialogflowV2.ProjectsLocationsSuggestionsService.<lambda>  s4    X5K5KiV zJINaT6r   c                 D    U R                  S5      nU R                  X1US9$ r  r   r   s       r   r  @DialogflowV2.ProjectsLocationsSuggestionsService.SearchKnowledge+  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzLv2/projects/{projectsId}/locations/{locationsId}/suggestions:searchKnowledger   z9dialogflow.projects.locations.suggestions.searchKnowledger   (v2/{+parent}/suggestions:searchKnowledger  r  r  Fr   r   r   r   r   r   r}  8  s4    H,B,B`M zJ@!IK-r   r   r   r   r   r   r   r   r   r   ru  r   r  r   r   r   s   @r   r   rq    s2    H,E
8.*8%O!!r   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )*DialogflowV2.ProjectsLocationsToolsServiceiF  z8Service class for the projects_locations_tools resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   3DialogflowV2.ProjectsLocationsToolsService.__init__K  r\  r   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a tool.

Args:
  request: (DialogflowProjectsLocationsToolsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Tool) The response message.
r  r   r   r   s       r   r  1DialogflowV2.ProjectsLocationsToolsService.CreateP  r  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N6v2/projects/{projectsId}/locations/{locationsId}/toolsr   z*dialogflow.projects.locations.tools.creater   toolIdv2/{+parent}/toolsgoogleCloudDialogflowV2Tool-DialogflowProjectsLocationsToolsCreateRequestGoogleCloudDialogflowV2ToolFr   r   r   r   r   r   3DialogflowV2.ProjectsLocationsToolsService.<lambda>]  s6    8#9#9J> zJZ*3I8$r   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a tool.

Args:
  request: (DialogflowProjectsLocationsToolsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  1DialogflowV2.ProjectsLocationsToolsService.Deletek  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N@v2/projects/{projectsId}/locations/{locationsId}/tools/{toolsId}r  z*dialogflow.projects.locations.tools.deleter  r  r  -DialogflowProjectsLocationsToolsDeleteRequestr  Fr   r   r   r   r   r   r  x  s4    8#9#9T>xH"I0$r   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieves a tool.

Args:
  request: (DialogflowProjectsLocationsToolsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Tool) The response message.
r  r   r   r   s       r   r  .DialogflowV2.ProjectsLocationsToolsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z'dialogflow.projects.locations.tools.getr  r  r  *DialogflowProjectsLocationsToolsGetRequestr  Fr   r   r   r   r   r   r    s4     6 6T;xH"F8!r   c                 D    U R                  S5      nU R                  X1US9$ )zLists tools.

Args:
  request: (DialogflowProjectsLocationsToolsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2ListToolsResponse) The response message.
r!  r   r   r   s       r   r!  /DialogflowV2.ProjectsLocationsToolsService.List  r#  r   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  r  z(dialogflow.projects.locations.tools.listr   r&  r'  r  r  +DialogflowProjectsLocationsToolsListRequest(GoogleCloudDialogflowV2ListToolsResponseFr   r   r   r   r   r   r    s9    !7!7J< zJ +.*GE"r   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates a tool.

Args:
  request: (DialogflowProjectsLocationsToolsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Tool) The response message.
r+  r   r   r   s       r   r+  0DialogflowV2.ProjectsLocationsToolsService.Patch  r-  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r/  z)dialogflow.projects.locations.tools.patchr  r0  r  r  ,DialogflowProjectsLocationsToolsPatchRequestr  Fr   r   r   r   r   r   r    s6    ("8"8T=xH"^"3H8#r   r   r   ra  r   s   @r   r   r  F  s^    B&E
8F8F8C8D8Er   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )%DialogflowV2.ProjectsLocationsServicei  z2Service class for the projects_locations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   .DialogflowV2.ProjectsLocationsService.__init__  s"    L114A&Idr   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes the specified agent.

Args:
  request: (DialogflowProjectsLocationsDeleteAgentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
DeleteAgentr   r   r   s       r   r  1DialogflowV2.ProjectsLocationsService.DeleteAgent  r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N6v2/projects/{projectsId}/locations/{locationsId}/agentr  z)dialogflow.projects.locations.deleteAgentr   v2/{+parent}/agentr  -DialogflowProjectsLocationsDeleteAgentRequestr  Fr   r   r   r   r   r   .DialogflowV2.ProjectsLocationsService.<lambda>  s4    (>(>J= zJ*I0)r   c                 D    U R                  S5      nU R                  X1US9$ )zGets information about a location.

Args:
  request: (DialogflowProjectsLocationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudLocationLocation) The response message.
r  r   r   r   s       r   r  )DialogflowV2.ProjectsLocationsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz0v2/projects/{projectsId}/locations/{locationsId}r  z!dialogflow.projects.locations.getr  r  r  %DialogflowProjectsLocationsGetRequestGoogleCloudLocationLocationFr   r   r   r   r   r   r  	  s4     6 6D5xH"A8!r   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieves the specified agent.

Args:
  request: (DialogflowProjectsLocationsGetAgentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Agent) The response message.
GetAgentr   r   r   s       r   r  .DialogflowV2.ProjectsLocationsService.GetAgent  rI  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  z&dialogflow.projects.locations.getAgentr   r  r  *DialogflowProjectsLocationsGetAgentRequestGoogleCloudDialogflowV2AgentFr   r   r   r   r   r   r  $  s4    X%;%;J: zJ*F9&r   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets location-level encryption key specification.

Args:
  request: (DialogflowProjectsLocationsGetEncryptionSpecRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2EncryptionSpec) The response message.
GetEncryptionSpecr   r   r   s       r   r  7DialogflowV2.ProjectsLocationsService.GetEncryptionSpec2  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz?v2/projects/{projectsId}/locations/{locationsId}/encryptionSpecr  z/dialogflow.projects.locations.getEncryptionSpecr  r  r  3DialogflowProjectsLocationsGetEncryptionSpecRequest%GoogleCloudDialogflowV2EncryptionSpecFr   r   r   r   r   r   r  ?  s4    h.D.DSCxH"OB/r   c                 D    U R                  S5      nU R                  X1US9$ )a"  Lists information about the supported locations for this service.

Args:
  request: (DialogflowProjectsLocationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudLocationListLocationsResponse) The response message.
r!  r   r   r   s       r   r!  *DialogflowV2.ProjectsLocationsService.ListM  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz"v2/projects/{projectsId}/locationsr  z"dialogflow.projects.locations.listr  )extraLocationTypesr  r&  r'  zv2/{+name}/locationsr  &DialogflowProjectsLocationsListRequest(GoogleCloudLocationListLocationsResponseFr   r   r   r   r   r   r  Z  s4    !7!766xHN,BE"r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsLocationsSetAgentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Agent) The response message.
SetAgentr   r   r   s       r   r  .DialogflowV2.ProjectsLocationsService.SetAgenth  rI  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r   z&dialogflow.projects.locations.setAgentr   r0  r  googleCloudDialogflowV2Agent*DialogflowProjectsLocationsSetAgentRequestr  Fr   r   r   r   r   r   r  u  s6    X%;%;J: zJ"^*4F9&r   r   r   )r   r   r   r   r   r   r   r  r   r  r  r  r!  r  r   r   r   s   @r   r   r    sn    < E
8!K8C8H8'#8D8Hr   r   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )&DialogflowV2.ProjectsOperationsServicei  z3Service class for the projects_operations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   /DialogflowV2.ProjectsOperationsService.__init__  r  r   c                 D    U R                  S5      nU R                  X1US9$ )a  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

Args:
  request: (DialogflowProjectsOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r3  r   r   r   s       r   r3  -DialogflowV2.ProjectsOperationsService.Cancel  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz9v2/projects/{projectsId}/operations/{operationsId}:cancelr   z%dialogflow.projects.operations.cancelr  r6  r  )DialogflowProjectsOperationsCancelRequestr  Fr   r   r   r   r   r   /DialogflowV2.ProjectsOperationsService.<lambda>  s4    8#9#9M9xH)E0$r   c                 D    U R                  S5      nU R                  X1US9$ )an  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Args:
  request: (DialogflowProjectsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
r  r   r   r   s       r   r  *DialogflowV2.ProjectsOperationsService.Get  r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz2v2/projects/{projectsId}/operations/{operationsId}r  z"dialogflow.projects.operations.getr  r  r  &DialogflowProjectsOperationsGetRequestr   Fr   r   r   r   r   r   r    s4     6 6F6xH"B7!r   c                 D    U R                  S5      nU R                  X1US9$ )ah  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

Args:
  request: (DialogflowProjectsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningListOperationsResponse) The response message.
r!  r   r   r   s       r   r!  +DialogflowV2.ProjectsOperationsService.List  r#  r   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz#v2/projects/{projectsId}/operationsr  z#dialogflow.projects.operations.listr  r@  rB  r  'DialogflowProjectsOperationsListRequestrD  Fr   r   r   r   r   r   r    s4    !7!777xHP-CD"r   r   r   rE  r   s   @r   r   r    s@    =!E
8F8C8Dr   r   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )'DialogflowV2.ProjectsSuggestionsServicei  z4Service class for the projects_suggestions resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   0DialogflowV2.ProjectsSuggestionsService.__init__  s"    L33TCFKdr   c                 D    U R                  S5      nU R                  X1US9$ )af  Generates and returns a summary for a conversation that does not have a resource created for it.

Args:
  request: (DialogflowProjectsSuggestionsGenerateStatelessSummaryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2GenerateStatelessSummaryResponse) The response message.
ru  r   r   r   s       r   ru  @DialogflowV2.ProjectsSuggestionsService.GenerateStatelessSummary  rw  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz=v2/projects/{projectsId}/suggestions:generateStatelessSummaryr   z8dialogflow.projects.suggestions.generateStatelessSummaryr   ry  rz  <DialogflowProjectsSuggestionsGenerateStatelessSummaryRequestr|  Fr   r   r   r   r   r   0DialogflowV2.ProjectsSuggestionsService.<lambda>  s4    X5K5KQL zJINXT6r   c                 D    U R                  S5      nU R                  X1US9$ r  r   r   s       r   r  7DialogflowV2.ProjectsSuggestionsService.SearchKnowledge   r  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz4v2/projects/{projectsId}/suggestions:searchKnowledger   z/dialogflow.projects.suggestions.searchKnowledger   r  r  r  r  Fr   r   r   r   r   r   r     s4    H,B,BHC zJ@!IK-r   r   r   r  r   s   @r   r   r    s2    >"E
8.*8%O!!r   r   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )DialogflowV2.ProjectsServicei   z(Service class for the projects resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r   )r   r   r   r   r   r   s     r   r   %DialogflowV2.ProjectsService.__init__#   s"    L(($8@dr   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes the specified agent.

Args:
  request: (DialogflowProjectsDeleteAgentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
r  r   r   r   s       r   r  (DialogflowV2.ProjectsService.DeleteAgent(   r   r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv2/projects/{projectsId}/agentr  zdialogflow.projects.deleteAgentr   r  r  $DialogflowProjectsDeleteAgentRequestr  Fr   r   r   r   r   r   %DialogflowV2.ProjectsService.<lambda>5   s4    (>(>23 zJ*@0)r   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieves the specified agent.

Args:
  request: (DialogflowProjectsGetAgentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Agent) The response message.
r  r   r   r   s       r   r  %DialogflowV2.ProjectsService.GetAgentC   rI  r   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r  zdialogflow.projects.getAgentr   r  r  !DialogflowProjectsGetAgentRequestr  Fr   r   r   r   r   r   r  P   s4    X%;%;20 zJ*=9&r   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).

Args:
  request: (DialogflowProjectsSetAgentRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudDialogflowV2Agent) The response message.
r  r   r   r   s       r   r  %DialogflowV2.ProjectsService.SetAgent^   rI  r   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r   zdialogflow.projects.setAgentr   r0  r  r  !DialogflowProjectsSetAgentRequestr  Fr   r   r   r   r   r   r  k   s6    X%;%;20 zJ"^*4=9&r   r   r   )r   r   r   r   r   r   r   r  r   r  r  r   r   r   s   @r   r   r     s@    2E
8!K8H8Hr   r   )Cr   r:   r   r   r*   r    r(   r&   r"   r$   r,   r0   r.   r6   r2   r4   r8   r<   r>   rB   r@   rD   rN   rF   rJ   rH   rL   rP   rT   rR   r   rp   rX   rV   rd   rZ   rb   r`   r\   r^   rf   rl   rh   rj   rn   rr   rt   rx   rv   rz   r   r|   r   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   )r  NTNNFFNNNN)Zr   r   r   r   r   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r!   r#   r%   r'   r)   r+   r-   r/   r1   r3   r5   r7   r9   r;   r=   r?   rA   rC   rE   rG   rI   rK   rM   rO   rQ   rS   rU   rW   rY   r[   r]   r_   ra   rc   re   rg   ri   rk   rm   ro   rq   rs   ru   rw   ry   r{   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r   r   r   
   s   C/1(;-(=?kl'(*"."+%,()-6:/4<@?C	Q/fY0G0G YvE(?(? EN#0G0G #JOh>U>U ObOAXAX Ob>h6M6M >@h.E.E j)@)@ jXEH$;$; ENjH4K4K jXO8+B+B ObOX-D-D ObO0G0G Ob>X%<%< >@OX%<%< Ob`X44 `D>X%<%< >@YH,C,C Yv>X5L5L >@j(*A*A jXEH,C,C EN#X-D-D #JtH<S<S tlO1H1H ObY0G0G YvtX%<%< tl>("9"9 >@`x/F/F `DOh&=&= ObY9P9P YvE1H1H EN#9P9P #JOxG^G^ ObO(JaJa Ob>x?V?V >@x7N7N j(2I2I jXEX-D-D ENOh6M6M ObO9P9P Ob>h.E.E >@Oh.E.E Ob`h&=&= `D>h.E.E >@OX5L5L ObYh>U>U Yvj83J3J jXEX5L5L EN#h6M6M #JtXE\E\ tlO(:Q:Q ObY9P9P YvOh.E.E Ob#x/F/F #Jth6M6M tlO8+B+B Ob`8O8O `DOx/F/F ObY8+B+B YvO(*A*A Ob#H4K4K #J>H,C,C >@Oh&=&= Obj!8!8 jXY("9"9 Yv>8#:#: >@Y// Y Yr   r   N)
r   
__future__r   apitools.base.pyr   3googlecloudsdk.generated_clients.apis.dialogflow.v2r   r  BaseApiClientr   r   r   r   <module>r     s)    9 ' % bmA8)) mAr   