google-cloud-dialogflow-v2 1.17.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -2
  3. data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +1 -1
  4. data/lib/google/cloud/dialogflow/v2/agents/client.rb +1 -1
  5. data/lib/google/cloud/dialogflow/v2/agents/credentials.rb +1 -1
  6. data/lib/google/cloud/dialogflow/v2/agents/operations.rb +1 -1
  7. data/lib/google/cloud/dialogflow/v2/agents/paths.rb +1 -1
  8. data/lib/google/cloud/dialogflow/v2/agents/rest/client.rb +1 -1
  9. data/lib/google/cloud/dialogflow/v2/agents/rest/operations.rb +2 -2
  10. data/lib/google/cloud/dialogflow/v2/agents/rest/service_stub.rb +1 -1
  11. data/lib/google/cloud/dialogflow/v2/agents/rest.rb +1 -1
  12. data/lib/google/cloud/dialogflow/v2/agents.rb +1 -1
  13. data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +2 -1
  14. data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +1 -1
  15. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +1 -1
  16. data/lib/google/cloud/dialogflow/v2/answer_records/credentials.rb +1 -1
  17. data/lib/google/cloud/dialogflow/v2/answer_records/paths.rb +1 -1
  18. data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +1 -1
  19. data/lib/google/cloud/dialogflow/v2/answer_records/rest/service_stub.rb +1 -1
  20. data/lib/google/cloud/dialogflow/v2/answer_records/rest.rb +1 -1
  21. data/lib/google/cloud/dialogflow/v2/answer_records.rb +1 -1
  22. data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +4 -1
  23. data/lib/google/cloud/dialogflow/v2/bindings_override.rb +1 -1
  24. data/lib/google/cloud/dialogflow/v2/ces_app_pb.rb +1 -1
  25. data/lib/google/cloud/dialogflow/v2/companion_agent_pb.rb +45 -0
  26. data/lib/google/cloud/dialogflow/v2/companion_agent_services_pb.rb +53 -0
  27. data/lib/google/cloud/dialogflow/v2/companion_agents/client.rb +891 -0
  28. data/lib/google/cloud/dialogflow/v2/companion_agents/credentials.rb +52 -0
  29. data/lib/google/cloud/dialogflow/v2/companion_agents/paths.rb +111 -0
  30. data/lib/google/cloud/dialogflow/v2/companion_agents/rest/client.rb +821 -0
  31. data/lib/google/cloud/dialogflow/v2/companion_agents/rest/service_stub.rb +388 -0
  32. data/lib/google/cloud/dialogflow/v2/companion_agents/rest.rb +53 -0
  33. data/lib/google/cloud/dialogflow/v2/companion_agents.rb +55 -0
  34. data/lib/google/cloud/dialogflow/v2/context_services_pb.rb +1 -1
  35. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +1 -1
  36. data/lib/google/cloud/dialogflow/v2/contexts/credentials.rb +1 -1
  37. data/lib/google/cloud/dialogflow/v2/contexts/paths.rb +1 -1
  38. data/lib/google/cloud/dialogflow/v2/contexts/rest/client.rb +1 -1
  39. data/lib/google/cloud/dialogflow/v2/contexts/rest/service_stub.rb +1 -1
  40. data/lib/google/cloud/dialogflow/v2/contexts/rest.rb +1 -1
  41. data/lib/google/cloud/dialogflow/v2/contexts.rb +1 -1
  42. data/lib/google/cloud/dialogflow/v2/conversation_dataset_services_pb.rb +1 -1
  43. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +1 -1
  44. data/lib/google/cloud/dialogflow/v2/conversation_datasets/credentials.rb +1 -1
  45. data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +1 -1
  46. data/lib/google/cloud/dialogflow/v2/conversation_datasets/paths.rb +1 -1
  47. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb +1 -1
  48. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +2 -2
  49. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/service_stub.rb +1 -1
  50. data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest.rb +1 -1
  51. data/lib/google/cloud/dialogflow/v2/conversation_datasets.rb +1 -1
  52. data/lib/google/cloud/dialogflow/v2/conversation_model_services_pb.rb +1 -1
  53. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +1 -1
  54. data/lib/google/cloud/dialogflow/v2/conversation_models/credentials.rb +1 -1
  55. data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +1 -1
  56. data/lib/google/cloud/dialogflow/v2/conversation_models/paths.rb +1 -1
  57. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb +1 -1
  58. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +2 -2
  59. data/lib/google/cloud/dialogflow/v2/conversation_models/rest/service_stub.rb +1 -1
  60. data/lib/google/cloud/dialogflow/v2/conversation_models/rest.rb +1 -1
  61. data/lib/google/cloud/dialogflow/v2/conversation_models.rb +1 -1
  62. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +1 -1
  63. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +1 -1
  64. data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +1 -1
  65. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +1 -1
  66. data/lib/google/cloud/dialogflow/v2/conversation_profiles/credentials.rb +1 -1
  67. data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +1 -1
  68. data/lib/google/cloud/dialogflow/v2/conversation_profiles/paths.rb +20 -1
  69. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +1 -1
  70. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +2 -2
  71. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/service_stub.rb +1 -1
  72. data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest.rb +1 -1
  73. data/lib/google/cloud/dialogflow/v2/conversation_profiles.rb +1 -1
  74. data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +1 -1
  75. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +3 -3
  76. data/lib/google/cloud/dialogflow/v2/conversations/credentials.rb +1 -1
  77. data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +61 -1
  78. data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +3 -3
  79. data/lib/google/cloud/dialogflow/v2/conversations/rest/service_stub.rb +1 -1
  80. data/lib/google/cloud/dialogflow/v2/conversations/rest.rb +1 -1
  81. data/lib/google/cloud/dialogflow/v2/conversations.rb +1 -1
  82. data/lib/google/cloud/dialogflow/v2/document_services_pb.rb +1 -1
  83. data/lib/google/cloud/dialogflow/v2/documents/client.rb +1 -1
  84. data/lib/google/cloud/dialogflow/v2/documents/credentials.rb +1 -1
  85. data/lib/google/cloud/dialogflow/v2/documents/operations.rb +1 -1
  86. data/lib/google/cloud/dialogflow/v2/documents/paths.rb +1 -1
  87. data/lib/google/cloud/dialogflow/v2/documents/rest/client.rb +1 -1
  88. data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +2 -2
  89. data/lib/google/cloud/dialogflow/v2/documents/rest/service_stub.rb +1 -1
  90. data/lib/google/cloud/dialogflow/v2/documents/rest.rb +1 -1
  91. data/lib/google/cloud/dialogflow/v2/documents.rb +1 -1
  92. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb +1 -1
  93. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/credentials.rb +1 -1
  94. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +1 -1
  95. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/paths.rb +1 -1
  96. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/client.rb +1 -1
  97. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb +2 -2
  98. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/service_stub.rb +1 -1
  99. data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest.rb +1 -1
  100. data/lib/google/cloud/dialogflow/v2/encryption_spec_service.rb +1 -1
  101. data/lib/google/cloud/dialogflow/v2/encryption_spec_services_pb.rb +1 -1
  102. data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +1 -1
  103. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +1 -1
  104. data/lib/google/cloud/dialogflow/v2/entity_types/credentials.rb +1 -1
  105. data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +1 -1
  106. data/lib/google/cloud/dialogflow/v2/entity_types/paths.rb +1 -1
  107. data/lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb +1 -1
  108. data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +2 -2
  109. data/lib/google/cloud/dialogflow/v2/entity_types/rest/service_stub.rb +1 -1
  110. data/lib/google/cloud/dialogflow/v2/entity_types/rest.rb +1 -1
  111. data/lib/google/cloud/dialogflow/v2/entity_types.rb +1 -1
  112. data/lib/google/cloud/dialogflow/v2/environment_services_pb.rb +1 -1
  113. data/lib/google/cloud/dialogflow/v2/environments/client.rb +1 -1
  114. data/lib/google/cloud/dialogflow/v2/environments/credentials.rb +1 -1
  115. data/lib/google/cloud/dialogflow/v2/environments/paths.rb +1 -1
  116. data/lib/google/cloud/dialogflow/v2/environments/rest/client.rb +1 -1
  117. data/lib/google/cloud/dialogflow/v2/environments/rest/service_stub.rb +1 -1
  118. data/lib/google/cloud/dialogflow/v2/environments/rest.rb +1 -1
  119. data/lib/google/cloud/dialogflow/v2/environments.rb +1 -1
  120. data/lib/google/cloud/dialogflow/v2/fulfillment_services_pb.rb +1 -1
  121. data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +1 -1
  122. data/lib/google/cloud/dialogflow/v2/fulfillments/credentials.rb +1 -1
  123. data/lib/google/cloud/dialogflow/v2/fulfillments/paths.rb +1 -1
  124. data/lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb +1 -1
  125. data/lib/google/cloud/dialogflow/v2/fulfillments/rest/service_stub.rb +1 -1
  126. data/lib/google/cloud/dialogflow/v2/fulfillments/rest.rb +1 -1
  127. data/lib/google/cloud/dialogflow/v2/fulfillments.rb +1 -1
  128. data/lib/google/cloud/dialogflow/v2/generator_evaluation_services_pb.rb +1 -1
  129. data/lib/google/cloud/dialogflow/v2/generator_evaluations/client.rb +1 -1
  130. data/lib/google/cloud/dialogflow/v2/generator_evaluations/credentials.rb +1 -1
  131. data/lib/google/cloud/dialogflow/v2/generator_evaluations/operations.rb +1 -1
  132. data/lib/google/cloud/dialogflow/v2/generator_evaluations/paths.rb +1 -1
  133. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/client.rb +1 -1
  134. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/operations.rb +2 -2
  135. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest/service_stub.rb +1 -1
  136. data/lib/google/cloud/dialogflow/v2/generator_evaluations/rest.rb +1 -1
  137. data/lib/google/cloud/dialogflow/v2/generator_evaluations.rb +1 -1
  138. data/lib/google/cloud/dialogflow/v2/generator_pb.rb +1 -1
  139. data/lib/google/cloud/dialogflow/v2/generator_services_pb.rb +1 -1
  140. data/lib/google/cloud/dialogflow/v2/generators/client.rb +1 -1
  141. data/lib/google/cloud/dialogflow/v2/generators/credentials.rb +1 -1
  142. data/lib/google/cloud/dialogflow/v2/generators/paths.rb +1 -1
  143. data/lib/google/cloud/dialogflow/v2/generators/rest/client.rb +1 -1
  144. data/lib/google/cloud/dialogflow/v2/generators/rest/service_stub.rb +1 -1
  145. data/lib/google/cloud/dialogflow/v2/generators/rest.rb +1 -1
  146. data/lib/google/cloud/dialogflow/v2/generators.rb +1 -1
  147. data/lib/google/cloud/dialogflow/v2/grounding_pb.rb +29 -0
  148. data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +1 -1
  149. data/lib/google/cloud/dialogflow/v2/intents/client.rb +1 -1
  150. data/lib/google/cloud/dialogflow/v2/intents/credentials.rb +1 -1
  151. data/lib/google/cloud/dialogflow/v2/intents/operations.rb +1 -1
  152. data/lib/google/cloud/dialogflow/v2/intents/paths.rb +1 -1
  153. data/lib/google/cloud/dialogflow/v2/intents/rest/client.rb +1 -1
  154. data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +2 -2
  155. data/lib/google/cloud/dialogflow/v2/intents/rest/service_stub.rb +1 -1
  156. data/lib/google/cloud/dialogflow/v2/intents/rest.rb +1 -1
  157. data/lib/google/cloud/dialogflow/v2/intents.rb +1 -1
  158. data/lib/google/cloud/dialogflow/v2/knowledge_base_services_pb.rb +1 -1
  159. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +1 -1
  160. data/lib/google/cloud/dialogflow/v2/knowledge_bases/credentials.rb +1 -1
  161. data/lib/google/cloud/dialogflow/v2/knowledge_bases/paths.rb +1 -1
  162. data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb +1 -1
  163. data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/service_stub.rb +1 -1
  164. data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest.rb +1 -1
  165. data/lib/google/cloud/dialogflow/v2/knowledge_bases.rb +1 -1
  166. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +21 -1
  167. data/lib/google/cloud/dialogflow/v2/participant_services_pb.rb +6 -1
  168. data/lib/google/cloud/dialogflow/v2/participants/client.rb +176 -1
  169. data/lib/google/cloud/dialogflow/v2/participants/credentials.rb +1 -1
  170. data/lib/google/cloud/dialogflow/v2/participants/paths.rb +42 -1
  171. data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +1 -1
  172. data/lib/google/cloud/dialogflow/v2/participants/rest/service_stub.rb +1 -1
  173. data/lib/google/cloud/dialogflow/v2/participants/rest.rb +1 -1
  174. data/lib/google/cloud/dialogflow/v2/participants.rb +1 -1
  175. data/lib/google/cloud/dialogflow/v2/rest.rb +2 -1
  176. data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +1 -1
  177. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +1 -1
  178. data/lib/google/cloud/dialogflow/v2/session_entity_types/credentials.rb +1 -1
  179. data/lib/google/cloud/dialogflow/v2/session_entity_types/paths.rb +1 -1
  180. data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb +1 -1
  181. data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/service_stub.rb +1 -1
  182. data/lib/google/cloud/dialogflow/v2/session_entity_types/rest.rb +1 -1
  183. data/lib/google/cloud/dialogflow/v2/session_entity_types.rb +1 -1
  184. data/lib/google/cloud/dialogflow/v2/session_pb.rb +1 -1
  185. data/lib/google/cloud/dialogflow/v2/session_services_pb.rb +1 -1
  186. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +1 -1
  187. data/lib/google/cloud/dialogflow/v2/sessions/credentials.rb +1 -1
  188. data/lib/google/cloud/dialogflow/v2/sessions/paths.rb +1 -1
  189. data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +1 -1
  190. data/lib/google/cloud/dialogflow/v2/sessions/rest/service_stub.rb +1 -1
  191. data/lib/google/cloud/dialogflow/v2/sessions/rest.rb +1 -1
  192. data/lib/google/cloud/dialogflow/v2/sessions.rb +1 -1
  193. data/lib/google/cloud/dialogflow/v2/sip_trunk_services_pb.rb +1 -1
  194. data/lib/google/cloud/dialogflow/v2/sip_trunks/client.rb +1 -1
  195. data/lib/google/cloud/dialogflow/v2/sip_trunks/credentials.rb +1 -1
  196. data/lib/google/cloud/dialogflow/v2/sip_trunks/paths.rb +1 -1
  197. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/client.rb +1 -1
  198. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest/service_stub.rb +1 -1
  199. data/lib/google/cloud/dialogflow/v2/sip_trunks/rest.rb +1 -1
  200. data/lib/google/cloud/dialogflow/v2/sip_trunks.rb +1 -1
  201. data/lib/google/cloud/dialogflow/v2/tool_call_pb.rb +1 -1
  202. data/lib/google/cloud/dialogflow/v2/tool_services_pb.rb +1 -1
  203. data/lib/google/cloud/dialogflow/v2/tools/client.rb +1 -1
  204. data/lib/google/cloud/dialogflow/v2/tools/credentials.rb +1 -1
  205. data/lib/google/cloud/dialogflow/v2/tools/paths.rb +1 -1
  206. data/lib/google/cloud/dialogflow/v2/tools/rest/client.rb +1 -1
  207. data/lib/google/cloud/dialogflow/v2/tools/rest/service_stub.rb +1 -1
  208. data/lib/google/cloud/dialogflow/v2/tools/rest.rb +1 -1
  209. data/lib/google/cloud/dialogflow/v2/tools.rb +1 -1
  210. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  211. data/lib/google/cloud/dialogflow/v2/version_services_pb.rb +1 -1
  212. data/lib/google/cloud/dialogflow/v2/versions/client.rb +1 -1
  213. data/lib/google/cloud/dialogflow/v2/versions/credentials.rb +1 -1
  214. data/lib/google/cloud/dialogflow/v2/versions/paths.rb +1 -1
  215. data/lib/google/cloud/dialogflow/v2/versions/rest/client.rb +1 -1
  216. data/lib/google/cloud/dialogflow/v2/versions/rest/service_stub.rb +1 -1
  217. data/lib/google/cloud/dialogflow/v2/versions/rest.rb +1 -1
  218. data/lib/google/cloud/dialogflow/v2/versions.rb +1 -1
  219. data/lib/google/cloud/dialogflow/v2.rb +2 -1
  220. data/lib/google-cloud-dialogflow-v2.rb +1 -1
  221. data/proto_docs/google/api/client.rb +1 -1
  222. data/proto_docs/google/api/field_behavior.rb +1 -1
  223. data/proto_docs/google/api/launch_stage.rb +1 -1
  224. data/proto_docs/google/api/resource.rb +1 -1
  225. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +2 -2
  226. data/proto_docs/google/cloud/dialogflow/v2/agent_coaching_instruction.rb +2 -2
  227. data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +24 -5
  228. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +71 -2
  229. data/proto_docs/google/cloud/dialogflow/v2/ces_app.rb +2 -0
  230. data/proto_docs/google/cloud/dialogflow/v2/companion_agent.rb +276 -0
  231. data/proto_docs/google/cloud/dialogflow/v2/context.rb +1 -1
  232. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +5 -6
  233. data/proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb +1 -1
  234. data/proto_docs/google/cloud/dialogflow/v2/conversation_event.rb +1 -1
  235. data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +1 -1
  236. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +14 -2
  237. data/proto_docs/google/cloud/dialogflow/v2/document.rb +1 -1
  238. data/proto_docs/google/cloud/dialogflow/v2/encryption_spec.rb +1 -1
  239. data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +1 -1
  240. data/proto_docs/google/cloud/dialogflow/v2/environment.rb +1 -1
  241. data/proto_docs/google/cloud/dialogflow/v2/fulfillment.rb +1 -1
  242. data/proto_docs/google/cloud/dialogflow/v2/gcs.rb +1 -1
  243. data/proto_docs/google/cloud/dialogflow/v2/generator.rb +4 -2
  244. data/proto_docs/google/cloud/dialogflow/v2/generator_evaluation.rb +1 -1
  245. data/proto_docs/google/cloud/dialogflow/v2/grounding.rb +152 -0
  246. data/proto_docs/google/cloud/dialogflow/v2/human_agent_assistant_event.rb +1 -1
  247. data/proto_docs/google/cloud/dialogflow/v2/intent.rb +1 -1
  248. data/proto_docs/google/cloud/dialogflow/v2/knowledge_base.rb +1 -1
  249. data/proto_docs/google/cloud/dialogflow/v2/operations.rb +1 -1
  250. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +430 -13
  251. data/proto_docs/google/cloud/dialogflow/v2/session.rb +3 -2
  252. data/proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb +1 -1
  253. data/proto_docs/google/cloud/dialogflow/v2/sip_trunk.rb +1 -1
  254. data/proto_docs/google/cloud/dialogflow/v2/tool.rb +1 -1
  255. data/proto_docs/google/cloud/dialogflow/v2/tool_call.rb +4 -1
  256. data/proto_docs/google/cloud/dialogflow/v2/validation_result.rb +1 -1
  257. data/proto_docs/google/cloud/dialogflow/v2/version.rb +1 -1
  258. data/proto_docs/google/cloud/dialogflow/v2/webhook.rb +1 -1
  259. data/proto_docs/google/longrunning/operations.rb +1 -1
  260. data/proto_docs/google/protobuf/any.rb +1 -1
  261. data/proto_docs/google/protobuf/duration.rb +1 -1
  262. data/proto_docs/google/protobuf/empty.rb +1 -1
  263. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  264. data/proto_docs/google/protobuf/struct.rb +1 -1
  265. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  266. data/proto_docs/google/rpc/status.rb +1 -1
  267. data/proto_docs/google/type/latlng.rb +1 -1
  268. metadata +17 -9
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2021 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -168,7 +168,8 @@ module Google
168
168
  # ID>/conversations/<Conversation ID>/messages/<Message ID>`.
169
169
  # @!attribute [rw] content
170
170
  # @return [::String]
171
- # Required. The message content.
171
+ # Optional. The message content.
172
+ # Only one of `content` and `companion_query` should be set - not both.
172
173
  # @!attribute [rw] language_code
173
174
  # @return [::String]
174
175
  # Optional. The message language.
@@ -468,7 +469,7 @@ module Google
468
469
  # is set in the first message. The complete audio over all streaming
469
470
  # messages must not exceed 1 minute.
470
471
  #
471
- # Note: The following fields are mutually exclusive: `input_audio`, `input_text`, `input_dtmf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
472
+ # Note: The following fields are mutually exclusive: `input_audio`, `input_text`, `input_dtmf`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
472
473
  # @!attribute [rw] input_text
473
474
  # @return [::String]
474
475
  # The UTF-8 encoded natural language text to be processed. Must be sent if
@@ -476,7 +477,7 @@ module Google
476
477
  # 256 bytes for virtual agent interactions. The `input_text` field can be
477
478
  # only sent once, and would cancel the speech recognition if any ongoing.
478
479
  #
479
- # Note: The following fields are mutually exclusive: `input_text`, `input_audio`, `input_dtmf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
480
+ # Note: The following fields are mutually exclusive: `input_text`, `input_audio`, `input_dtmf`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
480
481
  # @!attribute [rw] input_dtmf
481
482
  # @return [::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents]
482
483
  # The DTMF digits used to invoke intent and fill in parameter value.
@@ -484,7 +485,12 @@ module Google
484
485
  # This input is ignored if the previous response indicated that DTMF input
485
486
  # is not accepted.
486
487
  #
487
- # Note: The following fields are mutually exclusive: `input_dtmf`, `input_audio`, `input_text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
488
+ # Note: The following fields are mutually exclusive: `input_dtmf`, `input_audio`, `input_text`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
489
+ # @!attribute [rw] suggestion_input
490
+ # @return [::Google::Cloud::Dialogflow::V2::SuggestionInput]
491
+ # Optional. Input for confirming, revising, or canceling a suggestion.
492
+ #
493
+ # Note: The following fields are mutually exclusive: `suggestion_input`, `input_audio`, `input_text`, `input_dtmf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
488
494
  # @!attribute [rw] query_params
489
495
  # @return [::Google::Cloud::Dialogflow::V2::QueryParameters]
490
496
  # Parameters for a Dialogflow virtual-agent query.
@@ -764,6 +770,113 @@ module Google
764
770
  end
765
771
  end
766
772
 
773
+ # Structured wrapper that pairs tool execution details with strongly-typed
774
+ # citations.
775
+ # @!attribute [rw] tool_call_info
776
+ # @return [::Google::Cloud::Dialogflow::V2::GeneratorSuggestion::ToolCallInfo]
777
+ # Optional. Tool execution request/response details.
778
+ # @!attribute [rw] text_update
779
+ # @return [::String]
780
+ # Optional. The conversational text update generated by the agent
781
+ # accompanying this tool call (e.g. "The status of your order 12345 is
782
+ # currently being retrieved..."). This is a status update emitted alongside
783
+ # in-flight tool execution and is not accumulated into the final response.
784
+ class ToolCallSuggestion
785
+ include ::Google::Protobuf::MessageExts
786
+ extend ::Google::Protobuf::MessageExts::ClassMethods
787
+ end
788
+
789
+ # Represents events containing tool call execution progress.
790
+ # @!attribute [rw] tool_call_suggestions
791
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>]
792
+ # Optional. Tool call suggestions associated with these events.
793
+ class ToolCallEvents
794
+ include ::Google::Protobuf::MessageExts
795
+ extend ::Google::Protobuf::MessageExts::ClassMethods
796
+ end
797
+
798
+ # Represents a companion suggestion answer.
799
+ # @!attribute [rw] guidances
800
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::CompanionSuggestion::Guidance>]
801
+ # List of guidances generated by the Companion Agent.
802
+ class CompanionSuggestion
803
+ include ::Google::Protobuf::MessageExts
804
+ extend ::Google::Protobuf::MessageExts::ClassMethods
805
+
806
+ # Represents guidance for companion suggestion.
807
+ # @!attribute [rw] suggested_reply
808
+ # @return [::String]
809
+ # Suggested reply for the agent to respond to the customer.
810
+ # @!attribute [rw] suggested_action
811
+ # @return [::String]
812
+ # Suggested action to human agent. For example, "Ask the customer for
813
+ # their shipping address" or "Create a new case for the customer".
814
+ # @!attribute [rw] instruction_source
815
+ # @return [::Google::Cloud::Dialogflow::V2::GuidanceInstruction]
816
+ # Guidance instruction source.
817
+ # @!attribute [rw] knowledge_sources
818
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::CompanionSuggestion::Guidance::KnowledgeSource>]
819
+ # Knowledge sources.
820
+ # @!attribute [rw] explanation
821
+ # @return [::String]
822
+ # Optional. A brief explanation of why the action is suggested.
823
+ # @!attribute [rw] grounding_metadata
824
+ # @return [::Google::Cloud::Dialogflow::V2::GroundingMetadata]
825
+ # Optional. Grounding metadata for the generated guidance.
826
+ # @!attribute [rw] tool_calls
827
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>]
828
+ # Optional. Rich structured tool calls and their associated citations
829
+ # delivered directly as suggestions.
830
+ # @!attribute [rw] triggering_tool_call_answer_records
831
+ # @return [::Array<::String>]
832
+ # Optional. The AnswerRecords of the tool calls that triggered this
833
+ # guidance.
834
+ # Format: `projects/<Project ID>/locations/<Location
835
+ # ID>/answerRecords/<Answer Record ID>`.
836
+ class Guidance
837
+ include ::Google::Protobuf::MessageExts
838
+ extend ::Google::Protobuf::MessageExts::ClassMethods
839
+
840
+ # Represents a knowledge source for the guidance.
841
+ # @!attribute [rw] knowledge_article_url
842
+ # @return [::String]
843
+ # URL of the knowledge article.
844
+ # @!attribute [rw] knowledge_article_title
845
+ # @return [::String]
846
+ # Knowledge article title.
847
+ # @!attribute [rw] knowledge_snippet
848
+ # @return [::String]
849
+ # Knowledge snippet.
850
+ class KnowledgeSource
851
+ include ::Google::Protobuf::MessageExts
852
+ extend ::Google::Protobuf::MessageExts::ClassMethods
853
+ end
854
+ end
855
+ end
856
+
857
+ # Represents the response message for GenerateCompanionSuggestions.
858
+ # @!attribute [rw] companion_suggestion
859
+ # @return [::Google::Cloud::Dialogflow::V2::CompanionSuggestion]
860
+ # Contains the core suggestion generated by the Companion Agent.
861
+ # @!attribute [rw] answer_record
862
+ # @return [::String]
863
+ # Answer record that uniquely identifies the suggestion.
864
+ # Format: `projects/<Project ID>/locations/<Location
865
+ # ID>/answerRecords/<Answer Record ID>`.
866
+ # @!attribute [rw] latest_message
867
+ # @return [::String]
868
+ # The name of the latest conversation message used to compile suggestion for.
869
+ # Format: `projects/<Project ID>/locations/<Location
870
+ # ID>/conversations/<Conversation ID>/messages/<Message ID>`.
871
+ # @!attribute [r] suggestion_index
872
+ # @return [::Integer]
873
+ # Output only. The 1-based sequential index of the suggestion generated in
874
+ # this session.
875
+ class GenerateCompanionSuggestionsResponse
876
+ include ::Google::Protobuf::MessageExts
877
+ extend ::Google::Protobuf::MessageExts::ClassMethods
878
+ end
879
+
767
880
  # The request message for
768
881
  # {::Google::Cloud::Dialogflow::V2::Participants::Client#suggest_smart_replies Participants.SuggestSmartReplies}.
769
882
  # @!attribute [rw] parent
@@ -1036,33 +1149,38 @@ module Google
1036
1149
  # @return [::Google::Rpc::Status]
1037
1150
  # Error status if the request failed.
1038
1151
  #
1039
- # Note: The following fields are mutually exclusive: `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1152
+ # Note: The following fields are mutually exclusive: `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`, `generate_companion_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1040
1153
  # @!attribute [rw] suggest_articles_response
1041
1154
  # @return [::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse]
1042
1155
  # SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
1043
1156
  #
1044
- # Note: The following fields are mutually exclusive: `suggest_articles_response`, `error`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1157
+ # Note: The following fields are mutually exclusive: `suggest_articles_response`, `error`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`, `generate_companion_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1045
1158
  # @!attribute [rw] suggest_knowledge_assist_response
1046
1159
  # @return [::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse]
1047
1160
  # SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
1048
1161
  #
1049
- # Note: The following fields are mutually exclusive: `suggest_knowledge_assist_response`, `error`, `suggest_articles_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1162
+ # Note: The following fields are mutually exclusive: `suggest_knowledge_assist_response`, `error`, `suggest_articles_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`, `generate_companion_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1050
1163
  # @!attribute [rw] suggest_faq_answers_response
1051
1164
  # @return [::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse]
1052
1165
  # SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
1053
1166
  #
1054
- # Note: The following fields are mutually exclusive: `suggest_faq_answers_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1167
+ # Note: The following fields are mutually exclusive: `suggest_faq_answers_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_smart_replies_response`, `generate_suggestions_response`, `generate_companion_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1055
1168
  # @!attribute [rw] suggest_smart_replies_response
1056
1169
  # @return [::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse]
1057
1170
  # SuggestSmartRepliesResponse if request is for SMART_REPLY.
1058
1171
  #
1059
- # Note: The following fields are mutually exclusive: `suggest_smart_replies_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1172
+ # Note: The following fields are mutually exclusive: `suggest_smart_replies_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `generate_suggestions_response`, `generate_companion_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1060
1173
  # @!attribute [rw] generate_suggestions_response
1061
1174
  # @return [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse]
1062
1175
  # Suggestions generated using generators triggered by customer or agent
1063
1176
  # messages.
1064
1177
  #
1065
- # Note: The following fields are mutually exclusive: `generate_suggestions_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1178
+ # Note: The following fields are mutually exclusive: `generate_suggestions_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_companion_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1179
+ # @!attribute [rw] generate_companion_suggestions_response
1180
+ # @return [::Google::Cloud::Dialogflow::V2::GenerateCompanionSuggestionsResponse]
1181
+ # Suggestions generated by companion agent.
1182
+ #
1183
+ # Note: The following fields are mutually exclusive: `generate_companion_suggestions_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1066
1184
  class SuggestionResult
1067
1185
  include ::Google::Protobuf::MessageExts
1068
1186
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1359,7 +1477,7 @@ module Google
1359
1477
  # The latency of the service.
1360
1478
  # @!attribute [rw] query_generation_debug_info
1361
1479
  # @return [::Google::Cloud::Dialogflow::V2::KnowledgeAssistDebugInfo::QueryGenerationDebugInfo]
1362
- # Token usage metadata for query generation.
1480
+ # Debug information and model metadata for query generation.
1363
1481
  # @!attribute [rw] ces_debug_info
1364
1482
  # @return [::Google::Protobuf::Struct]
1365
1483
  # Debug information from CES runtime API.
@@ -1431,7 +1549,7 @@ module Google
1431
1549
  extend ::Google::Protobuf::MessageExts::ClassMethods
1432
1550
  end
1433
1551
 
1434
- # Token usage metadata for query generation.
1552
+ # Debug information and model metadata for query generation.
1435
1553
  # @!attribute [rw] prompt_token_count
1436
1554
  # @return [::Integer]
1437
1555
  # The total number of tokens in the prompt.
@@ -1441,6 +1559,20 @@ module Google
1441
1559
  # @!attribute [rw] total_token_count
1442
1560
  # @return [::Integer]
1443
1561
  # The total number of tokens for the entire request.
1562
+ # @!attribute [rw] thinking_level
1563
+ # @return [::String]
1564
+ # The thinking level configured for the Gemini model.
1565
+ # @!attribute [rw] thinking_budget_tokens
1566
+ # @return [::Integer]
1567
+ # The thinking budget (in number of tokens) configured for the Gemini
1568
+ # model.
1569
+ # @!attribute [rw] similarity_to_last_query
1570
+ # @return [::Float]
1571
+ # The similarity score of the suggested query to the last suggested query.
1572
+ # @!attribute [rw] similarity_to_last_query_threshold
1573
+ # @return [::Float]
1574
+ # The similarity threshold used to filter out queries similar to the last
1575
+ # suggestion.
1444
1576
  class QueryGenerationDebugInfo
1445
1577
  include ::Google::Protobuf::MessageExts
1446
1578
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1650,6 +1782,291 @@ module Google
1650
1782
  end
1651
1783
  end
1652
1784
 
1785
+ # The request message for
1786
+ # {::Google::Cloud::Dialogflow::V2::Participants::Client#streaming_reactive_companion_suggestions Participants.StreamingReactiveCompanionSuggestions}.
1787
+ # @!attribute [rw] participant
1788
+ # @return [::String]
1789
+ # Required. The human-agent participant name.
1790
+ # Format: `projects/<Project ID>/locations/<Location
1791
+ # ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
1792
+ # @!attribute [rw] text_input
1793
+ # @return [::String]
1794
+ # The natural language text to be processed.
1795
+ #
1796
+ # Note: The following fields are mutually exclusive: `text_input`, `cancel_reactive_query`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1797
+ # @!attribute [rw] cancel_reactive_query
1798
+ # @return [::Google::Cloud::Dialogflow::V2::CancelQuery]
1799
+ # Signals to cancel the current ongoing reactive query processing.
1800
+ #
1801
+ # Note: The following fields are mutually exclusive: `cancel_reactive_query`, `text_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1802
+ # @!attribute [rw] suggestion_input
1803
+ # @return [::Google::Cloud::Dialogflow::V2::SuggestionInput]
1804
+ # An input representing the selection of a suggestion.
1805
+ #
1806
+ # Note: The following fields are mutually exclusive: `suggestion_input`, `text_input`, `cancel_reactive_query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1807
+ class StreamingReactiveCompanionSuggestionsRequest
1808
+ include ::Google::Protobuf::MessageExts
1809
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1810
+ end
1811
+
1812
+ # Message to signal cancellation of the current query turn.
1813
+ # Cancels the currently active interactive query, not any query running in
1814
+ # the background.
1815
+ class CancelQuery
1816
+ include ::Google::Protobuf::MessageExts
1817
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1818
+ end
1819
+
1820
+ # The response message for
1821
+ # {::Google::Cloud::Dialogflow::V2::Participants::Client#streaming_reactive_companion_suggestions Participants.StreamingReactiveCompanionSuggestions}.
1822
+ # @!attribute [rw] response_chunk
1823
+ # @return [::String]
1824
+ # Streamed response text chunks.
1825
+ #
1826
+ # Note: The following fields are mutually exclusive: `response_chunk`, `status`, `reactive_mode_final_response`, `intermediate_tool_call_events`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1827
+ # @!attribute [rw] status
1828
+ # @return [::Google::Rpc::Status]
1829
+ # Status of the response for the current query. If set and non-ok,
1830
+ # indicates an error occurred during processing of the current query, or
1831
+ # confirms that a requested cancellation has successfully completed (status
1832
+ # code CANCELLED).
1833
+ #
1834
+ # Note: The following fields are mutually exclusive: `status`, `response_chunk`, `reactive_mode_final_response`, `intermediate_tool_call_events`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1835
+ # @!attribute [r] reactive_mode_final_response
1836
+ # @return [::Google::Cloud::Dialogflow::V2::StreamingReactiveCompanionSuggestionsResponse::ReactiveModeResponse]
1837
+ # Output only. The final response from the reactive mode capturing the
1838
+ # entire accumulated streaming response, grounding metadata, and tool
1839
+ # calls. Only set when `is_final` is `true` and conversational processing
1840
+ # for the query turn completes.
1841
+ #
1842
+ # Note: The following fields are mutually exclusive: `reactive_mode_final_response`, `response_chunk`, `status`, `intermediate_tool_call_events`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1843
+ # @!attribute [r] intermediate_tool_call_events
1844
+ # @return [::Google::Cloud::Dialogflow::V2::ToolCallEvents]
1845
+ # Output only. Captures intermediate tool call events that occur during the
1846
+ # execution of the reactive query turn. Note that conversational messages
1847
+ # within tool calls are displayed within the tool cards and hence are not
1848
+ # accumulated within the `reactive_mode_final_response.response` string.
1849
+ #
1850
+ # Note: The following fields are mutually exclusive: `intermediate_tool_call_events`, `response_chunk`, `status`, `reactive_mode_final_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1851
+ # @!attribute [r] is_final
1852
+ # @return [::Boolean]
1853
+ # Output only. Indicates whether the client/UI can accept a new query for
1854
+ # reactive chat. When `is_final` is `true`, the reactive chat interface is
1855
+ # unblocked and ready to receive new human agent queries. For synchronous
1856
+ # turns, this is set to `true` on the final response chunk. For asynchronous
1857
+ # tool calls running in the background, this is set to `true` on the
1858
+ # intermediate trigger chunk to unblock the UI while the background tool
1859
+ # execution is in progress.
1860
+ # @!attribute [r] answer_record
1861
+ # @return [::String]
1862
+ # Output only. Only set when `is_final` is `true` and conversational turn
1863
+ # processing completes. The final answer record representing the completed
1864
+ # suggestion. Only present in the last chunk of the completed response.
1865
+ # @!attribute [rw] text_message_id
1866
+ # @return [::String]
1867
+ # Required. The unique message identifier corresponding to the
1868
+ # human agent query that generated this response chunk.
1869
+ # @!attribute [rw] send_time
1870
+ # @return [::Google::Protobuf::Timestamp]
1871
+ # The timestamp when the response chunk was sent by the service.
1872
+ class StreamingReactiveCompanionSuggestionsResponse
1873
+ include ::Google::Protobuf::MessageExts
1874
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1875
+
1876
+ # The complete response generated by the reactive mode capturing the entire
1877
+ # accumulated streaming response, grounding metadata, and tool calls.
1878
+ # @!attribute [rw] response
1879
+ # @return [::String]
1880
+ # Optional. The full reactive suggestion generated by the Companion Agent.
1881
+ # After the last streaming chunk is sent, this is the final response
1882
+ # concatenating all the streaming response chunks together to represent the
1883
+ # full reactive suggestion.
1884
+ # @!attribute [rw] grounding_metadata
1885
+ # @return [::Google::Cloud::Dialogflow::V2::GroundingMetadata]
1886
+ # Optional. Grounding metadata for the generated response.
1887
+ # @!attribute [rw] tool_calls
1888
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>]
1889
+ # Optional. Captures all the rich structured tool calls and their
1890
+ # associated citations used by the reactive agent to generate the reactive
1891
+ # suggestion.
1892
+ class ReactiveModeResponse
1893
+ include ::Google::Protobuf::MessageExts
1894
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1895
+ end
1896
+ end
1897
+
1898
+ # The request message for
1899
+ # {::Google::Cloud::Dialogflow::V2::Participants::Client#bidi_streaming_analyze_content Participants.BidiStreamingAnalyzeContent}.
1900
+ # @!attribute [rw] config
1901
+ # @return [::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentRequest::Config]
1902
+ # The config message for this conversation.
1903
+ #
1904
+ # Note: The following fields are mutually exclusive: `config`, `input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1905
+ # @!attribute [rw] input
1906
+ # @return [::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentRequest::Input]
1907
+ # Text, audio or other multi-modality inputs.
1908
+ # This is the second and following messages sent by the client.
1909
+ #
1910
+ # Note: The following fields are mutually exclusive: `input`, `config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1911
+ class BidiStreamingAnalyzeContentRequest
1912
+ include ::Google::Protobuf::MessageExts
1913
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1914
+
1915
+ # The config of the session.
1916
+ # @!attribute [rw] participant
1917
+ # @return [::String]
1918
+ # Required. The name of the participant to fetch response for.
1919
+ # Format: `projects/<Project ID>/locations/<Location
1920
+ # ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
1921
+ # @!attribute [rw] voice_session_config
1922
+ # @return [::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentRequest::Config::VoiceSessionConfig]
1923
+ # Configure a voice-based session.
1924
+ # @!attribute [rw] initial_virtual_agent_parameters
1925
+ # @return [::Google::Protobuf::Struct]
1926
+ # Optional. Parameters to be passed to the virtual agent at the beginning.
1927
+ # @!attribute [rw] initial_virtual_agent_query_params
1928
+ # @return [::Google::Cloud::Dialogflow::V2::QueryParameters]
1929
+ # Optional. Initial parameters for the virtual-agent.
1930
+ class Config
1931
+ include ::Google::Protobuf::MessageExts
1932
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1933
+
1934
+ # The config about how to process the audio for a voice-based session.
1935
+ # @!attribute [rw] input_audio_encoding
1936
+ # @return [::Google::Cloud::Dialogflow::V2::AudioEncoding]
1937
+ # Required. The encoding of input audio.
1938
+ # @!attribute [rw] input_audio_sample_rate_hertz
1939
+ # @return [::Integer]
1940
+ # Required. The sample rate of input audio.
1941
+ # @!attribute [rw] output_audio_encoding
1942
+ # @return [::Google::Cloud::Dialogflow::V2::OutputAudioEncoding]
1943
+ # Required. The encoding of output audio.
1944
+ # @!attribute [rw] output_audio_sample_rate_hertz
1945
+ # @return [::Integer]
1946
+ # Required. The sample rate of output audio.
1947
+ # @!attribute [rw] enable_cx_proactive_processing
1948
+ # @return [::Boolean]
1949
+ # Optional. Whether to enable CX proactive processing.
1950
+ # @!attribute [rw] enable_streaming_synthesize
1951
+ # @return [::Boolean]
1952
+ # Optional. If true, Dialogflow will stream the audio bytes from Cloud
1953
+ # TTS for speech synthesis using the StreamingSynthesize api.
1954
+ # @!attribute [rw] gemini_asr_config
1955
+ # @return [::Google::Cloud::Dialogflow::V2::SpeechToTextConfig::GeminiAsrConfig]
1956
+ # Optional. Configuration for using Gemini ASR models served via Vertex
1957
+ # AI.
1958
+ # This field is only used when `use_gemini_asr` is true.
1959
+ # @!attribute [rw] use_gemini_asr
1960
+ # @return [::Boolean]
1961
+ # Optional. If true, Gemini ASR will be used for transcription instead of
1962
+ # Cloud Speech-to-Text. If false, Cloud Speech-to-Text will be used.
1963
+ # If unset, this setting is inherited from the ConversationProfile.
1964
+ class VoiceSessionConfig
1965
+ include ::Google::Protobuf::MessageExts
1966
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1967
+ end
1968
+ end
1969
+
1970
+ # Input that forms data for a single turn.
1971
+ # @!attribute [rw] text
1972
+ # @return [::String]
1973
+ # The UTF-8 encoded natural language text to be processed.
1974
+ #
1975
+ # Note: The following fields are mutually exclusive: `text`, `intent`, `event`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1976
+ # @!attribute [rw] intent
1977
+ # @return [::String]
1978
+ # The intent to be triggered on V3 agent.
1979
+ # Format: `projects/<Project ID>/locations/<Location ID>/locations/
1980
+ # <Location ID>/agents/<Agent ID>/intents/<Intent ID>`. This can only be
1981
+ # used to trigger the Welcome intent id if the modality is text.
1982
+ #
1983
+ # Note: The following fields are mutually exclusive: `intent`, `text`, `event`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1984
+ # @!attribute [rw] event
1985
+ # @return [::String]
1986
+ # The input event name.
1987
+ # This can only be sent once and would cancel the ongoing speech
1988
+ # recognition if any. To trigger the Welcome intent use the
1989
+ # event "WELCOME"
1990
+ #
1991
+ # Note: The following fields are mutually exclusive: `event`, `text`, `intent`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1992
+ # @!attribute [rw] suggestion_input
1993
+ # @return [::Google::Cloud::Dialogflow::V2::SuggestionInput]
1994
+ # Optional. Input for confirming, revising, or canceling a suggestion.
1995
+ #
1996
+ # Note: The following fields are mutually exclusive: `suggestion_input`, `text`, `intent`, `event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1997
+ # @!attribute [rw] virtual_agent_parameters
1998
+ # @return [::Google::Protobuf::Struct]
1999
+ # Optional. Parameters to be passed to the virtual agent.
2000
+ class TurnInput
2001
+ include ::Google::Protobuf::MessageExts
2002
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2003
+ end
2004
+
2005
+ # Input for the conversation.
2006
+ # @!attribute [rw] audio
2007
+ # @return [::String]
2008
+ # The content of audio stream to be recognized.
2009
+ #
2010
+ # Note: The following fields are mutually exclusive: `audio`, `dtmf`, `turn`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2011
+ # @!attribute [rw] dtmf
2012
+ # @return [::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents]
2013
+ # The DTMF digits used to invoke intent and fill in parameter value.
2014
+ #
2015
+ # This input is ignored if the previous response indicated that DTMF
2016
+ # input is not accepted.
2017
+ #
2018
+ # Note: The following fields are mutually exclusive: `dtmf`, `audio`, `turn`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2019
+ # @!attribute [rw] turn
2020
+ # @return [::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentRequest::TurnInput]
2021
+ # Turn input.
2022
+ #
2023
+ # Note: The following fields are mutually exclusive: `turn`, `audio`, `dtmf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2024
+ class Input
2025
+ include ::Google::Protobuf::MessageExts
2026
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2027
+ end
2028
+ end
2029
+
2030
+ # The response message for
2031
+ # {::Google::Cloud::Dialogflow::V2::Participants::Client#bidi_streaming_analyze_content Participants.BidiStreamingAnalyzeContent}.
2032
+ # @!attribute [rw] recognition_result
2033
+ # @return [::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult]
2034
+ # The result of speech recognition.
2035
+ #
2036
+ # Note: The following fields are mutually exclusive: `recognition_result`, `barge_in_signal`, `analyze_content_response`, `turn_complete`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2037
+ # @!attribute [rw] barge_in_signal
2038
+ # @return [::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentResponse::BargeInSignal]
2039
+ # Indicate the user barge-in has been detected, and client should stop
2040
+ # playing back the audio.
2041
+ #
2042
+ # Note: The following fields are mutually exclusive: `barge_in_signal`, `recognition_result`, `analyze_content_response`, `turn_complete`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2043
+ # @!attribute [rw] analyze_content_response
2044
+ # @return [::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse]
2045
+ # The agent response from analyze content.
2046
+ #
2047
+ # Note: The following fields are mutually exclusive: `analyze_content_response`, `recognition_result`, `barge_in_signal`, `turn_complete`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2048
+ # @!attribute [rw] turn_complete
2049
+ # @return [::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentResponse::TurnComplete]
2050
+ # Indicate that the turn is complete.
2051
+ #
2052
+ # Note: The following fields are mutually exclusive: `turn_complete`, `recognition_result`, `barge_in_signal`, `analyze_content_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2053
+ class BidiStreamingAnalyzeContentResponse
2054
+ include ::Google::Protobuf::MessageExts
2055
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2056
+
2057
+ # Indicate the user barge-in has been detected.
2058
+ class BargeInSignal
2059
+ include ::Google::Protobuf::MessageExts
2060
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2061
+ end
2062
+
2063
+ # Indicate that the turn is complete.
2064
+ class TurnComplete
2065
+ include ::Google::Protobuf::MessageExts
2066
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2067
+ end
2068
+ end
2069
+
1653
2070
  # Response reason from datastore which indicates data serving status or
1654
2071
  # answer quality degradation.
1655
2072
  module DatastoreResponseReason
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -673,8 +673,9 @@ module Google
673
673
  # Represents the natural language text to be processed.
674
674
  # @!attribute [rw] text
675
675
  # @return [::String]
676
- # Required. The UTF-8 encoded natural language text to be processed.
676
+ # Optional. The UTF-8 encoded natural language text to be processed.
677
677
  # Text length must not exceed 256 characters for virtual agent interactions.
678
+ # Only one of `text` and `companion_query` should be set - not both.
678
679
  # @!attribute [rw] language_code
679
680
  # @return [::String]
680
681
  # Required. The language of this conversational query. See [Language
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2025 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -150,6 +150,9 @@ module Google
150
150
  # @!attribute [rw] message
151
151
  # @return [::String]
152
152
  # Optional. The error message of the function.
153
+ # @!attribute [rw] retryable
154
+ # @return [::Boolean]
155
+ # Optional. Specifies whether the tool call is retryable.
153
156
  class Error
154
157
  include ::Google::Protobuf::MessageExts
155
158
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2021 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.