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
@@ -0,0 +1,276 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module V2
24
+ # Request of CreateCompanionAgent.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Resource identifier of the project creating the companion agent.
28
+ # Format: `projects/{project}/locations/{location}`
29
+ # @!attribute [rw] companion_agent
30
+ # @return [::Google::Cloud::Dialogflow::V2::CompanionAgent]
31
+ # Required. The companion agent to create.
32
+ # @!attribute [rw] companion_agent_id
33
+ # @return [::String]
34
+ # Optional. The resource ID of the companion agent to create. If not
35
+ # provided, the server will auto-generate a resource ID.
36
+ class CreateCompanionAgentRequest
37
+ include ::Google::Protobuf::MessageExts
38
+ extend ::Google::Protobuf::MessageExts::ClassMethods
39
+ end
40
+
41
+ # Request message for GetCompanionAgent.
42
+ # @!attribute [rw] name
43
+ # @return [::String]
44
+ # Required. The unique resource identifier of the CompanionAgent to get all
45
+ # information for. Format:
46
+ # `projects/{project}/locations/{location}/companionAgents/{companion_agent}`.
47
+ # Contains the information about the \\{project}, \\{location}, and
48
+ # \\{companion_agent}.
49
+ class GetCompanionAgentRequest
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+ end
53
+
54
+ # Request message for ListCompanionAgents.
55
+ # @!attribute [rw] parent
56
+ # @return [::String]
57
+ # Required. The parent resource name to list the companion agents for.
58
+ # Format: `projects/{project}/locations/{location}`
59
+ # @!attribute [rw] page_size
60
+ # @return [::Integer]
61
+ # Optional. Maximum number of companion agents to return in a single page.
62
+ # By default 100 and at most 1000.
63
+ # @!attribute [rw] page_token
64
+ # @return [::String]
65
+ # Optional. The page token, received from a previous call.
66
+ class ListCompanionAgentsRequest
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+
71
+ # Response message for ListCompanionAgents.
72
+ # @!attribute [rw] companion_agents
73
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::CompanionAgent>]
74
+ # The list of companion agents.
75
+ # @!attribute [rw] next_page_token
76
+ # @return [::String]
77
+ # Token to retrieve the next page of results, or empty if there are no
78
+ # more results in the list.
79
+ class ListCompanionAgentsResponse
80
+ include ::Google::Protobuf::MessageExts
81
+ extend ::Google::Protobuf::MessageExts::ClassMethods
82
+ end
83
+
84
+ # Request message for UpdateCompanionAgent.
85
+ # @!attribute [rw] companion_agent
86
+ # @return [::Google::Cloud::Dialogflow::V2::CompanionAgent]
87
+ # Required. The Companion Agent to update.
88
+ # @!attribute [rw] update_mask
89
+ # @return [::Google::Protobuf::FieldMask]
90
+ # Optional. Update mask for Companion Agent.
91
+ class UpdateCompanionAgentRequest
92
+ include ::Google::Protobuf::MessageExts
93
+ extend ::Google::Protobuf::MessageExts::ClassMethods
94
+ end
95
+
96
+ # Request message for DeleteCompanionAgent.
97
+ # @!attribute [rw] name
98
+ # @return [::String]
99
+ # Required. The unique resource identifier of the CompanionAgent to delete.
100
+ # Format:
101
+ # `projects/{project}/locations/{location}/companionAgents/{companion_agent}`.
102
+ class DeleteCompanionAgentRequest
103
+ include ::Google::Protobuf::MessageExts
104
+ extend ::Google::Protobuf::MessageExts::ClassMethods
105
+ end
106
+
107
+ # Guidance instruction for the companion agent.
108
+ # @!attribute [rw] display_name
109
+ # @return [::String]
110
+ # Optional. Display name for the instruction. This name should be unique
111
+ # within the companion agent.
112
+ # @!attribute [rw] display_details
113
+ # @return [::String]
114
+ # Optional. The detailed description of this instruction.
115
+ # @!attribute [rw] condition
116
+ # @return [::String]
117
+ # Optional. The condition of the instruction. For example, "the customer
118
+ # wants to cancel an order". If the users want the instruction to be
119
+ # triggered unconditionally, the condition can be empty.
120
+ # @!attribute [rw] actions
121
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::GuidanceInstruction::Action>]
122
+ # Optional. The action items that can be processed.
123
+ # @!attribute [rw] trigger_event
124
+ # @return [::Google::Cloud::Dialogflow::V2::CompanionAgent::TriggerEvent]
125
+ # Optional. Event that triggers the guidance instruction.
126
+ # If UNSPECIFIED, the instruction triggering will be the same as the skill's
127
+ # skill_triggering_event.
128
+ # @!attribute [rw] disable_suggested_reply
129
+ # @return [::Boolean]
130
+ # Optional. Whether to disable suggested reply generation for this
131
+ # instruction. When set to `true`, guidance generated from this instruction
132
+ # will not include a suggested reply. Default is `false` (suggested reply
133
+ # enabled).
134
+ class GuidanceInstruction
135
+ include ::Google::Protobuf::MessageExts
136
+ extend ::Google::Protobuf::MessageExts::ClassMethods
137
+
138
+ # Actions to take, including agent action and system action (automation).
139
+ # @!attribute [rw] description
140
+ # @return [::String]
141
+ # Required. Description of action item. It can be a agent action (e.g.
142
+ # "Send a message to the customer", "greet the customer") or system action
143
+ # (e.g. "Update the ticket", "Create a task", "cancel the order").
144
+ class Action
145
+ include ::Google::Protobuf::MessageExts
146
+ extend ::Google::Protobuf::MessageExts::ClassMethods
147
+ end
148
+ end
149
+
150
+ # Companion agent.
151
+ # @!attribute [rw] name
152
+ # @return [::String]
153
+ # Identifier. The unique identifier of the companion agent.
154
+ # Format:
155
+ # `projects/{project}/locations/{location}/companionAgents/{companion_agent}`
156
+ # @!attribute [r] create_time
157
+ # @return [::Google::Protobuf::Timestamp]
158
+ # Output only. Creation time of this companion agent.
159
+ # @!attribute [r] update_time
160
+ # @return [::Google::Protobuf::Timestamp]
161
+ # Output only. Update time of this companion agent.
162
+ # @!attribute [rw] toolset_tools
163
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::ToolsetTool>]
164
+ # Optional. List of CES toolset specs that the companion agent can choose
165
+ # from.
166
+ # @!attribute [rw] ces_tool_specs
167
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::CesToolSpec>]
168
+ # Optional. List of CES tool specs that the companion agent can choose from.
169
+ # @!attribute [rw] display_name
170
+ # @return [::String]
171
+ # Optional. Display name for the companion agent.
172
+ # Character limit is 63.
173
+ # @!attribute [rw] description
174
+ # @return [::String]
175
+ # Optional. Description for the companion agent.
176
+ # @!attribute [rw] skill_configs
177
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::CompanionAgent::SkillConfig>]
178
+ # Optional. List of skill configs for the companion agent.
179
+ # Allows at most one instance of each
180
+ # {::Google::Cloud::Dialogflow::V2::CompanionAgent::SkillConfig SkillConfig} type.
181
+ class CompanionAgent
182
+ include ::Google::Protobuf::MessageExts
183
+ extend ::Google::Protobuf::MessageExts::ClassMethods
184
+
185
+ # Skill configuration for the companion agent.
186
+ # @!attribute [rw] guidance_skill_config
187
+ # @return [::Google::Cloud::Dialogflow::V2::CompanionAgent::GuidanceSkillConfig]
188
+ # Optional. Guidance skill configuration.
189
+ #
190
+ # Note: The following fields are mutually exclusive: `guidance_skill_config`, `translation_skill_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
191
+ # @!attribute [rw] translation_skill_config
192
+ # @return [::Google::Cloud::Dialogflow::V2::CompanionAgent::TranslationSkillConfig]
193
+ # Optional. Translation skill configuration.
194
+ #
195
+ # Note: The following fields are mutually exclusive: `translation_skill_config`, `guidance_skill_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
196
+ # @!attribute [rw] skill_triggering_event
197
+ # @return [::Google::Cloud::Dialogflow::V2::CompanionAgent::SkillConfig::SkillTriggerEvent]
198
+ # Optional. The event that should trigger the skill.
199
+ class SkillConfig
200
+ include ::Google::Protobuf::MessageExts
201
+ extend ::Google::Protobuf::MessageExts::ClassMethods
202
+
203
+ # The event that should trigger the skill.
204
+ module SkillTriggerEvent
205
+ # Default value for SkillTriggerEvent.
206
+ SKILL_TRIGGER_EVENT_UNSPECIFIED = 0
207
+
208
+ # Triggers when each chat message or voice utterance ends.
209
+ END_OF_UTTERANCE = 1
210
+
211
+ # Triggers after each customer message.
212
+ CUSTOMER_MESSAGE = 2
213
+
214
+ # Triggers after each agent message.
215
+ AGENT_MESSAGE = 3
216
+ end
217
+ end
218
+
219
+ # Guidance skill configuration.
220
+ # @!attribute [rw] guidance_instructions
221
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::GuidanceInstruction>]
222
+ # Optional. Customized instructions for guidance.
223
+ # @!attribute [rw] overarching_guidance
224
+ # @return [::String]
225
+ # Optional. This is specific additional guidance that can configured by the
226
+ # user.
227
+ # @!attribute [rw] knowledge_source
228
+ # @return [::Google::Cloud::Dialogflow::V2::CompanionAgent::KnowledgeSource]
229
+ # Optional. Knowledge source configuration for guidance.
230
+ class GuidanceSkillConfig
231
+ include ::Google::Protobuf::MessageExts
232
+ extend ::Google::Protobuf::MessageExts::ClassMethods
233
+ end
234
+
235
+ # Knowledge source configuration for knowledge retrieval.
236
+ class KnowledgeSource
237
+ include ::Google::Protobuf::MessageExts
238
+ extend ::Google::Protobuf::MessageExts::ClassMethods
239
+ end
240
+
241
+ # Translation skill configuration for the companion agent.
242
+ # @!attribute [rw] agent_language_code
243
+ # @return [::String]
244
+ # Optional. Target language code for the agent, in IETF BCP-47 format
245
+ # (e.g., "en-US").
246
+ # @!attribute [rw] customer_language_code
247
+ # @return [::String]
248
+ # Optional. Target language code for the customer, in IETF BCP-47 format
249
+ # (e.g., "es").
250
+ class TranslationSkillConfig
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # Event that triggers companion agent skills and guidance instructions.
256
+ module TriggerEvent
257
+ # Default value for TriggerEvent.
258
+ # For skill_triggering_event, UNSPECIFIED defaults to CUSTOMER_MESSAGE.
259
+ # For instruction trigger_event, UNSPECIFIED defaults to the skill's
260
+ # skill_triggering_event.
261
+ TRIGGER_EVENT_UNSPECIFIED = 0
262
+
263
+ # Triggers when each chat message or voice utterance ends.
264
+ END_OF_UTTERANCE = 1
265
+
266
+ # Triggers after each customer message.
267
+ CUSTOMER_MESSAGE = 2
268
+
269
+ # Triggers after each agent message.
270
+ AGENT_MESSAGE = 3
271
+ end
272
+ end
273
+ end
274
+ end
275
+ end
276
+ end
@@ -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.
@@ -162,8 +162,7 @@ module Google
162
162
  # relevant context reference.
163
163
  # @!attribute [rw] answer_record
164
164
  # @return [::String]
165
- # If the context content was generated from a tool call, specify the
166
- # answer record associated with the tool call.
165
+ # Optional. The answer record of the tool execution result.
167
166
  # Format: `projects/<Project ID>/locations/<Location
168
167
  # ID>/answerRecords/<Answer Record ID>`.
169
168
  class ContextContent
@@ -605,7 +604,7 @@ module Google
605
604
  # @return [::Array<::Google::Cloud::Dialogflow::V2::Message>]
606
605
  # Required. The messages that the Summary will be generated from. It is
607
606
  # expected that this message content is already redacted and does not
608
- # contain any PII. Required fields: {content, language_code, participant,
607
+ # contain any PII. Required fields: \\{content, language_code, participant,
609
608
  # participant_role} Optional fields: \\{send_time} If send_time is not
610
609
  # provided, then the messages must be provided in chronological order.
611
610
  # @!attribute [rw] parent
@@ -785,8 +784,8 @@ module Google
785
784
  # {
786
785
  # "subscription plan": "Business Premium Plus",
787
786
  # "devices owned": [
788
- # \\{"model": "Google Pixel 7"},
789
- # \\{"model": "Google Pixel Tablet"}
787
+ # {"model": "Google Pixel 7"},
788
+ # {"model": "Google Pixel Tablet"}
790
789
  # ]
791
790
  # }
792
791
  # ```
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 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 2022 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.
@@ -376,8 +376,20 @@ module Google
376
376
  # use unredacted ingested context (Supported features: All Agent Assist
377
377
  # features)
378
378
  # @!attribute [rw] enable_async_tool_call
379
+ # @deprecated This field is deprecated and may be removed in the next major version update.
379
380
  # @return [::Boolean]
380
- # Optional. If true, enable asynchronous execution of tools.
381
+ # Optional. Deprecated: This field is not consulted for tool execution.
382
+ # Configure asynchronous execution per tool using
383
+ # [CesToolSpec.async_execution][google.cloud.dialogflow.v2.CesToolSpec.async_execution]
384
+ # or
385
+ # [ToolsetTool.async_execution][google.cloud.dialogflow.v2.ToolsetTool.async_execution]
386
+ # instead.
387
+ # @!attribute [rw] companion_agent
388
+ # @return [::String]
389
+ # Optional. The resource name of the companion agent to link.
390
+ # This is only supported for `human_agent_suggestion_config`.
391
+ # Format:
392
+ # `projects/{project}/locations/{location}/companionAgents/{companion_agent}`
381
393
  class SuggestionConfig
382
394
  include ::Google::Protobuf::MessageExts
383
395
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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 2024 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 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 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 2024 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.
@@ -398,8 +398,10 @@ module Google
398
398
  # @return [::Array<::Google::Cloud::Dialogflow::V2::CesToolSpec>]
399
399
  # Optional. List of CES tool specs that the generator can choose from.
400
400
  # @!attribute [rw] ces_app_specs
401
+ # @deprecated This field is deprecated and may be removed in the next major version update.
401
402
  # @return [::Array<::Google::Cloud::Dialogflow::V2::CesAppSpec>]
402
- # Optional. List of CES app specs that the generator can choose from.
403
+ # Optional. Deprecated: Use `ces_tool_specs` instead.
404
+ # List of CES app specs that the generator can choose from.
403
405
  class Generator
404
406
  include ::Google::Protobuf::MessageExts
405
407
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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.
@@ -0,0 +1,152 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module V2
24
+ # Grounding metadata contains sources, citations, and search entry points used
25
+ # to ground a generated answer or suggestion.
26
+ # @!attribute [rw] web_search_queries
27
+ # @return [::Array<::String>]
28
+ # Optional. The web search queries that were used to generate the content.
29
+ # @!attribute [rw] search_entry_point
30
+ # @return [::Google::Cloud::Dialogflow::V2::SearchEntryPoint]
31
+ # Optional. A web search entry point that can be used to display search
32
+ # results.
33
+ # @!attribute [rw] grounding_chunks
34
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::GroundingChunk>]
35
+ # Optional. A list of supporting references retrieved from the grounding
36
+ # source.
37
+ # @!attribute [rw] grounding_supports
38
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::GroundingSupport>]
39
+ # Optional. A list of grounding supports that connect the generated
40
+ # content to the grounding chunks.
41
+ class GroundingMetadata
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # A web search entry point that can be used to display search
47
+ # results.
48
+ # @!attribute [rw] rendered_content
49
+ # @return [::String]
50
+ # Optional. An HTML snippet that can be embedded in a web page or an
51
+ # application's webview. This snippet displays a search result, including the
52
+ # title, URL, and a brief description of the search result.
53
+ class SearchEntryPoint
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # A piece of evidence that supports a claim made by the model.
59
+ #
60
+ # This is used to show a citation for a claim made by the model.
61
+ # It contains a reference to the source of the information.
62
+ # @!attribute [rw] web
63
+ # @return [::Google::Cloud::Dialogflow::V2::GroundingChunk::Web]
64
+ # Optional. A grounding chunk from a web page, typically from web
65
+ # search. See the `Web` message for details.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `web`, `retrieved_context`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
+ # @!attribute [rw] retrieved_context
69
+ # @return [::Google::Cloud::Dialogflow::V2::GroundingChunk::RetrievedContext]
70
+ # Optional. A grounding chunk from a data source retrieved by a
71
+ # data store tool.
72
+ #
73
+ # Note: The following fields are mutually exclusive: `retrieved_context`, `web`. If a field in that set is populated, all other fields in the set will automatically be cleared.
74
+ class GroundingChunk
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+
78
+ # A `Web` chunk is a piece of evidence that comes from a web page. It
79
+ # contains the URI of the web page, the title of the page, and the domain of
80
+ # the page. This is used to provide the user with a link to the source of
81
+ # the information.
82
+ # @!attribute [r] uri
83
+ # @return [::String]
84
+ # Output only. The URI of the web page that contains the evidence.
85
+ # @!attribute [r] title
86
+ # @return [::String]
87
+ # Output only. The title of the web page that contains the evidence.
88
+ # @!attribute [r] domain
89
+ # @return [::String]
90
+ # Output only. The domain of the web page that contains the evidence. This
91
+ # can be used to filter out low-quality sources.
92
+ class Web
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+
97
+ # Context retrieved from a data source to ground the model's response. This
98
+ # is used when a retrieval tool fetches information from a user-provided
99
+ # corpus or a public dataset.
100
+ # @!attribute [r] uri
101
+ # @return [::String]
102
+ # Output only. The URI of the retrieved data source.
103
+ # @!attribute [r] title
104
+ # @return [::String]
105
+ # Output only. The title of the retrieved data source.
106
+ # @!attribute [r] text
107
+ # @return [::String]
108
+ # Output only. The content of the retrieved data source.
109
+ class RetrievedContext
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+ end
114
+
115
+ # A segment of the content.
116
+ # @!attribute [r] start_index
117
+ # @return [::Integer]
118
+ # Output only. The start index of the segment, measured in bytes. This marks
119
+ # the beginning of the segment and is inclusive, meaning the byte at this
120
+ # index is the first byte of the segment.
121
+ # @!attribute [r] end_index
122
+ # @return [::Integer]
123
+ # Output only. The end index of the segment, measured in bytes. This marks
124
+ # the end of the segment and is exclusive, meaning the segment includes
125
+ # content up to, but not including, the byte at this index.
126
+ # @!attribute [r] text
127
+ # @return [::String]
128
+ # Output only. The text of the segment.
129
+ class Segment
130
+ include ::Google::Protobuf::MessageExts
131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
132
+ end
133
+
134
+ # A collection of supporting references for a segment or part of the
135
+ # model's response.
136
+ # @!attribute [rw] segment
137
+ # @return [::Google::Cloud::Dialogflow::V2::Segment]
138
+ # Optional. Segment of the content this support belongs to.
139
+ # @!attribute [rw] grounding_chunk_indices
140
+ # @return [::Array<::Integer>]
141
+ # Optional. A list of indices into `grounding_chunks` field specifying the
142
+ # citations associated with the claim. For instance [1, 3] means that
143
+ # grounding_chunks[1] and grounding_chunks[3] are the retrieved contents
144
+ # attributed to the claim.
145
+ class GroundingSupport
146
+ include ::Google::Protobuf::MessageExts
147
+ extend ::Google::Protobuf::MessageExts::ClassMethods
148
+ end
149
+ end
150
+ end
151
+ end
152
+ end
@@ -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 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 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.