google-cloud-discovery_engine-v1 2.13.0 → 2.14.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 (250) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +8 -10
  4. data/lib/google/cloud/discovery_engine/v1/acl_config_service/client.rb +591 -0
  5. data/lib/google/cloud/discovery_engine/v1/acl_config_service/credentials.rb +49 -0
  6. data/lib/google/cloud/discovery_engine/v1/acl_config_service/paths.rb +50 -0
  7. data/lib/google/cloud/discovery_engine/v1/acl_config_service/rest/client.rb +534 -0
  8. data/lib/google/cloud/discovery_engine/v1/acl_config_service/rest/service_stub.rb +204 -0
  9. data/lib/google/cloud/discovery_engine/v1/acl_config_service/rest.rb +52 -0
  10. data/lib/google/cloud/discovery_engine/v1/acl_config_service.rb +55 -0
  11. data/lib/google/cloud/discovery_engine/v1/assistant_service/client.rb +528 -0
  12. data/lib/google/cloud/discovery_engine/v1/assistant_service/credentials.rb +4 -1
  13. data/lib/google/cloud/discovery_engine/v1/assistant_service/paths.rb +104 -0
  14. data/lib/google/cloud/discovery_engine/v1/assistant_service/rest/client.rb +493 -0
  15. data/lib/google/cloud/discovery_engine/v1/assistant_service/rest/service_stub.rb +307 -0
  16. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/credentials.rb +3 -1
  17. data/lib/google/cloud/discovery_engine/v1/cmek_config_service/rest/operations.rb +7 -0
  18. data/lib/google/cloud/discovery_engine/v1/collection_service/client.rb +732 -0
  19. data/lib/google/cloud/discovery_engine/v1/collection_service/credentials.rb +49 -0
  20. data/lib/google/cloud/discovery_engine/v1/collection_service/operations.rb +843 -0
  21. data/lib/google/cloud/discovery_engine/v1/collection_service/paths.rb +52 -0
  22. data/lib/google/cloud/discovery_engine/v1/collection_service/rest/client.rb +668 -0
  23. data/lib/google/cloud/discovery_engine/v1/collection_service/rest/operations.rb +1168 -0
  24. data/lib/google/cloud/discovery_engine/v1/collection_service/rest/service_stub.rb +265 -0
  25. data/lib/google/cloud/discovery_engine/v1/collection_service/rest.rb +54 -0
  26. data/lib/google/cloud/discovery_engine/v1/collection_service.rb +57 -0
  27. data/lib/google/cloud/discovery_engine/v1/completion_service/client.rb +162 -4
  28. data/lib/google/cloud/discovery_engine/v1/completion_service/credentials.rb +5 -1
  29. data/lib/google/cloud/discovery_engine/v1/completion_service/paths.rb +62 -0
  30. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/client.rb +155 -4
  31. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/operations.rb +7 -0
  32. data/lib/google/cloud/discovery_engine/v1/completion_service/rest/service_stub.rb +78 -0
  33. data/lib/google/cloud/discovery_engine/v1/control_service/credentials.rb +3 -1
  34. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +37 -9
  35. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/credentials.rb +3 -1
  36. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/paths.rb +21 -0
  37. data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +37 -9
  38. data/lib/google/cloud/discovery_engine/v1/data_connector_service/client.rb +779 -0
  39. data/lib/google/cloud/discovery_engine/v1/data_connector_service/credentials.rb +50 -0
  40. data/lib/google/cloud/discovery_engine/v1/data_connector_service/operations.rb +843 -0
  41. data/lib/google/cloud/discovery_engine/v1/data_connector_service/paths.rb +227 -0
  42. data/lib/google/cloud/discovery_engine/v1/data_connector_service/rest/client.rb +715 -0
  43. data/lib/google/cloud/discovery_engine/v1/data_connector_service/rest/operations.rb +1168 -0
  44. data/lib/google/cloud/discovery_engine/v1/data_connector_service/rest/service_stub.rb +274 -0
  45. data/lib/google/cloud/discovery_engine/v1/data_connector_service/rest.rb +53 -0
  46. data/lib/google/cloud/discovery_engine/v1/data_connector_service.rb +56 -0
  47. data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +215 -0
  48. data/lib/google/cloud/discovery_engine/v1/data_store_service/credentials.rb +3 -1
  49. data/lib/google/cloud/discovery_engine/v1/data_store_service/paths.rb +62 -0
  50. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +201 -0
  51. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/operations.rb +7 -0
  52. data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/service_stub.rb +138 -0
  53. data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +0 -1
  54. data/lib/google/cloud/discovery_engine/v1/document_service/credentials.rb +3 -1
  55. data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +0 -1
  56. data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +7 -0
  57. data/lib/google/cloud/discovery_engine/v1/engine_service/client.rb +218 -3
  58. data/lib/google/cloud/discovery_engine/v1/engine_service/credentials.rb +3 -1
  59. data/lib/google/cloud/discovery_engine/v1/engine_service/paths.rb +104 -0
  60. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/client.rb +204 -3
  61. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +7 -0
  62. data/lib/google/cloud/discovery_engine/v1/engine_service/rest/service_stub.rb +123 -0
  63. data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/credentials.rb +3 -1
  64. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/client.rb +1 -0
  65. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/credentials.rb +3 -1
  66. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest/client.rb +1 -0
  67. data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest/operations.rb +7 -0
  68. data/lib/google/cloud/discovery_engine/v1/license_config_service/client.rb +1044 -0
  69. data/lib/google/cloud/discovery_engine/v1/license_config_service/credentials.rb +49 -0
  70. data/lib/google/cloud/discovery_engine/v1/license_config_service/paths.rb +86 -0
  71. data/lib/google/cloud/discovery_engine/v1/license_config_service/rest/client.rb +959 -0
  72. data/lib/google/cloud/discovery_engine/v1/license_config_service/rest/service_stub.rb +451 -0
  73. data/lib/google/cloud/discovery_engine/v1/license_config_service/rest.rb +52 -0
  74. data/lib/google/cloud/discovery_engine/v1/license_config_service.rb +55 -0
  75. data/lib/google/cloud/discovery_engine/v1/project_service/client.rb +3 -1
  76. data/lib/google/cloud/discovery_engine/v1/project_service/credentials.rb +3 -1
  77. data/lib/google/cloud/discovery_engine/v1/project_service/rest/client.rb +3 -1
  78. data/lib/google/cloud/discovery_engine/v1/project_service/rest/operations.rb +7 -0
  79. data/lib/google/cloud/discovery_engine/v1/project_service/rest/service_stub.rb +8 -0
  80. data/lib/google/cloud/discovery_engine/v1/rank_service/client.rb +1 -1
  81. data/lib/google/cloud/discovery_engine/v1/rank_service/credentials.rb +3 -1
  82. data/lib/google/cloud/discovery_engine/v1/rank_service/rest/client.rb +1 -1
  83. data/lib/google/cloud/discovery_engine/v1/recommendation_service/credentials.rb +3 -1
  84. data/lib/google/cloud/discovery_engine/v1/rest.rb +8 -2
  85. data/lib/google/cloud/discovery_engine/v1/schema_service/credentials.rb +3 -1
  86. data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +7 -0
  87. data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +14 -2
  88. data/lib/google/cloud/discovery_engine/v1/search_service/paths.rb +21 -0
  89. data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +14 -2
  90. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/credentials.rb +3 -1
  91. data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/operations.rb +7 -0
  92. data/lib/google/cloud/discovery_engine/v1/serving_config_service/client.rb +408 -3
  93. data/lib/google/cloud/discovery_engine/v1/serving_config_service/credentials.rb +3 -1
  94. data/lib/google/cloud/discovery_engine/v1/serving_config_service/paths.rb +66 -0
  95. data/lib/google/cloud/discovery_engine/v1/serving_config_service/rest/client.rb +380 -3
  96. data/lib/google/cloud/discovery_engine/v1/serving_config_service/rest/service_stub.rb +303 -0
  97. data/lib/google/cloud/discovery_engine/v1/session_service/client.rb +25 -9
  98. data/lib/google/cloud/discovery_engine/v1/session_service/credentials.rb +4 -1
  99. data/lib/google/cloud/discovery_engine/v1/session_service/paths.rb +21 -0
  100. data/lib/google/cloud/discovery_engine/v1/session_service/rest/client.rb +25 -9
  101. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/credentials.rb +3 -1
  102. data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +7 -0
  103. data/lib/google/cloud/discovery_engine/v1/user_event_service/credentials.rb +4 -1
  104. data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +7 -0
  105. data/lib/google/cloud/discovery_engine/v1/user_license_service/client.rb +124 -7
  106. data/lib/google/cloud/discovery_engine/v1/user_license_service/credentials.rb +3 -1
  107. data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/client.rb +117 -7
  108. data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/operations.rb +7 -0
  109. data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/service_stub.rb +61 -0
  110. data/lib/google/cloud/discovery_engine/v1/user_store_service/client.rb +590 -0
  111. data/lib/google/cloud/discovery_engine/v1/user_store_service/credentials.rb +49 -0
  112. data/lib/google/cloud/discovery_engine/v1/user_store_service/paths.rb +71 -0
  113. data/lib/google/cloud/discovery_engine/v1/user_store_service/rest/client.rb +533 -0
  114. data/lib/google/cloud/discovery_engine/v1/user_store_service/rest/service_stub.rb +204 -0
  115. data/lib/google/cloud/discovery_engine/v1/user_store_service/rest.rb +52 -0
  116. data/lib/google/cloud/discovery_engine/v1/user_store_service.rb +55 -0
  117. data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
  118. data/lib/google/cloud/discovery_engine/v1/widget_config_service/client.rb +624 -0
  119. data/lib/google/cloud/discovery_engine/v1/widget_config_service/credentials.rb +50 -0
  120. data/lib/google/cloud/discovery_engine/v1/widget_config_service/paths.rb +101 -0
  121. data/lib/google/cloud/discovery_engine/v1/widget_config_service/rest/client.rb +567 -0
  122. data/lib/google/cloud/discovery_engine/v1/widget_config_service/rest/service_stub.rb +234 -0
  123. data/lib/google/cloud/discovery_engine/v1/widget_config_service/rest.rb +53 -0
  124. data/lib/google/cloud/discovery_engine/v1/widget_config_service.rb +56 -0
  125. data/lib/google/cloud/discovery_engine/v1.rb +9 -3
  126. data/lib/google/cloud/discoveryengine/v1/acl_config_pb.rb +25 -0
  127. data/lib/google/cloud/discoveryengine/v1/acl_config_service_pb.rb +28 -0
  128. data/lib/google/cloud/discoveryengine/v1/acl_config_service_services_pb.rb +49 -0
  129. data/lib/google/cloud/discoveryengine/v1/agent_gateway_setting_pb.rb +25 -0
  130. data/lib/google/cloud/discoveryengine/v1/assist_answer_pb.rb +13 -1
  131. data/lib/google/cloud/discoveryengine/v1/assistant_pb.rb +13 -1
  132. data/lib/google/cloud/discoveryengine/v1/assistant_service_pb.rb +12 -1
  133. data/lib/google/cloud/discoveryengine/v1/assistant_service_services_pb.rb +12 -1
  134. data/lib/google/cloud/discoveryengine/v1/chunk_pb.rb +1 -1
  135. data/lib/google/cloud/discoveryengine/v1/cmek_config_service_pb.rb +1 -1
  136. data/lib/google/cloud/discoveryengine/v1/cmek_config_service_services_pb.rb +1 -1
  137. data/lib/google/cloud/discoveryengine/v1/collection_pb.rb +25 -0
  138. data/lib/google/cloud/discoveryengine/v1/collection_service_pb.rb +32 -0
  139. data/lib/google/cloud/discoveryengine/v1/collection_service_services_pb.rb +65 -0
  140. data/lib/google/cloud/discoveryengine/v1/common_pb.rb +13 -1
  141. data/lib/google/cloud/discoveryengine/v1/completion_service_pb.rb +16 -1
  142. data/lib/google/cloud/discoveryengine/v1/completion_service_services_pb.rb +3 -1
  143. data/lib/google/cloud/discoveryengine/v1/control_service_pb.rb +1 -1
  144. data/lib/google/cloud/discoveryengine/v1/control_service_services_pb.rb +1 -1
  145. data/lib/google/cloud/discoveryengine/v1/conversational_search_service_pb.rb +1 -1
  146. data/lib/google/cloud/discoveryengine/v1/conversational_search_service_services_pb.rb +1 -1
  147. data/lib/google/cloud/discoveryengine/v1/data_connector_pb.rb +57 -0
  148. data/lib/google/cloud/discoveryengine/v1/data_connector_service_pb.rb +32 -0
  149. data/lib/google/cloud/discoveryengine/v1/data_connector_service_services_pb.rb +58 -0
  150. data/lib/google/cloud/discoveryengine/v1/data_store_pb.rb +10 -1
  151. data/lib/google/cloud/discoveryengine/v1/data_store_service_pb.rb +3 -1
  152. data/lib/google/cloud/discoveryengine/v1/data_store_service_services_pb.rb +20 -1
  153. data/lib/google/cloud/discoveryengine/v1/document_processing_config_pb.rb +1 -1
  154. data/lib/google/cloud/discoveryengine/v1/document_service_pb.rb +1 -1
  155. data/lib/google/cloud/discoveryengine/v1/document_service_services_pb.rb +1 -1
  156. data/lib/google/cloud/discoveryengine/v1/engine_pb.rb +11 -1
  157. data/lib/google/cloud/discoveryengine/v1/engine_service_pb.rb +3 -1
  158. data/lib/google/cloud/discoveryengine/v1/engine_service_services_pb.rb +23 -4
  159. data/lib/google/cloud/discoveryengine/v1/feedback_pb.rb +28 -0
  160. data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_pb.rb +7 -1
  161. data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_services_pb.rb +1 -1
  162. data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_pb.rb +1 -1
  163. data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_service_pb.rb +1 -1
  164. data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_service_services_pb.rb +1 -1
  165. data/lib/google/cloud/discoveryengine/v1/import_config_pb.rb +1 -1
  166. data/lib/google/cloud/discoveryengine/v1/license_config_pb.rb +28 -0
  167. data/lib/google/cloud/discoveryengine/v1/license_config_service_pb.rb +36 -0
  168. data/lib/google/cloud/discoveryengine/v1/license_config_service_services_pb.rb +63 -0
  169. data/lib/google/cloud/discoveryengine/v1/logging_pb.rb +24 -0
  170. data/lib/google/cloud/discoveryengine/v1/project_pb.rb +11 -1
  171. data/lib/google/cloud/discoveryengine/v1/project_service_pb.rb +2 -1
  172. data/lib/google/cloud/discoveryengine/v1/project_service_services_pb.rb +1 -1
  173. data/lib/google/cloud/discoveryengine/v1/rank_service_pb.rb +1 -1
  174. data/lib/google/cloud/discoveryengine/v1/rank_service_services_pb.rb +1 -1
  175. data/lib/google/cloud/discoveryengine/v1/recommendation_service_pb.rb +1 -1
  176. data/lib/google/cloud/discoveryengine/v1/recommendation_service_services_pb.rb +1 -1
  177. data/lib/google/cloud/discoveryengine/v1/schema_service_pb.rb +1 -1
  178. data/lib/google/cloud/discoveryengine/v1/schema_service_services_pb.rb +1 -1
  179. data/lib/google/cloud/discoveryengine/v1/search_tuning_service_pb.rb +1 -1
  180. data/lib/google/cloud/discoveryengine/v1/search_tuning_service_services_pb.rb +1 -1
  181. data/lib/google/cloud/discoveryengine/v1/serving_config_pb.rb +3 -1
  182. data/lib/google/cloud/discoveryengine/v1/serving_config_service_pb.rb +7 -1
  183. data/lib/google/cloud/discoveryengine/v1/serving_config_service_services_pb.rb +21 -1
  184. data/lib/google/cloud/discoveryengine/v1/session_pb.rb +1 -1
  185. data/lib/google/cloud/discoveryengine/v1/session_service_pb.rb +1 -1
  186. data/lib/google/cloud/discoveryengine/v1/session_service_services_pb.rb +1 -1
  187. data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_pb.rb +1 -1
  188. data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_services_pb.rb +1 -1
  189. data/lib/google/cloud/discoveryengine/v1/user_event_pb.rb +2 -1
  190. data/lib/google/cloud/discoveryengine/v1/user_event_service_pb.rb +1 -1
  191. data/lib/google/cloud/discoveryengine/v1/user_event_service_services_pb.rb +1 -1
  192. data/lib/google/cloud/discoveryengine/v1/user_license_pb.rb +2 -1
  193. data/lib/google/cloud/discoveryengine/v1/user_license_service_pb.rb +3 -1
  194. data/lib/google/cloud/discoveryengine/v1/user_license_service_services_pb.rb +5 -1
  195. data/lib/google/cloud/discoveryengine/v1/user_store_pb.rb +24 -0
  196. data/lib/google/cloud/discoveryengine/v1/user_store_service_pb.rb +29 -0
  197. data/lib/google/cloud/discoveryengine/v1/user_store_service_services_pb.rb +47 -0
  198. data/lib/google/cloud/discoveryengine/v1/widget_config_pb.rb +63 -0
  199. data/lib/google/cloud/discoveryengine/v1/widget_config_service_pb.rb +30 -0
  200. data/lib/google/cloud/discoveryengine/v1/widget_config_service_services_pb.rb +48 -0
  201. data/proto_docs/google/cloud/discoveryengine/v1/acl_config.rb +43 -0
  202. data/proto_docs/google/cloud/discoveryengine/v1/acl_config_service.rb +49 -0
  203. data/proto_docs/google/cloud/discoveryengine/v1/agent_gateway_setting.rb +53 -0
  204. data/proto_docs/google/cloud/discoveryengine/v1/assist_answer.rb +164 -1
  205. data/proto_docs/google/cloud/discoveryengine/v1/assistant.rb +217 -0
  206. data/proto_docs/google/cloud/discoveryengine/v1/assistant_service.rb +179 -6
  207. data/proto_docs/google/cloud/discoveryengine/v1/chunk.rb +4 -0
  208. data/proto_docs/google/cloud/discoveryengine/v1/cmek_config_service.rb +7 -2
  209. data/proto_docs/google/cloud/discoveryengine/v1/collection.rb +51 -0
  210. data/proto_docs/google/cloud/discoveryengine/v1/collection_service.rb +53 -0
  211. data/proto_docs/google/cloud/discoveryengine/v1/common.rb +201 -0
  212. data/proto_docs/google/cloud/discoveryengine/v1/completion_service.rb +320 -4
  213. data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +31 -8
  214. data/proto_docs/google/cloud/discoveryengine/v1/data_connector.rb +875 -0
  215. data/proto_docs/google/cloud/discoveryengine/v1/data_connector_service.rb +142 -0
  216. data/proto_docs/google/cloud/discoveryengine/v1/data_store.rb +179 -2
  217. data/proto_docs/google/cloud/discoveryengine/v1/document.rb +9 -4
  218. data/proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb +7 -0
  219. data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +251 -1
  220. data/proto_docs/google/cloud/discoveryengine/v1/feedback.rb +165 -0
  221. data/proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb +107 -0
  222. data/proto_docs/google/cloud/discoveryengine/v1/identity_mapping_store.rb +3 -0
  223. data/proto_docs/google/cloud/discoveryengine/v1/identity_mapping_store_service.rb +1 -0
  224. data/proto_docs/google/cloud/discoveryengine/v1/import_config.rb +6 -4
  225. data/proto_docs/google/cloud/discoveryengine/v1/license_config.rb +107 -0
  226. data/proto_docs/google/cloud/discoveryengine/v1/license_config_service.rb +220 -0
  227. data/proto_docs/google/cloud/discoveryengine/v1/logging.rb +40 -0
  228. data/proto_docs/google/cloud/discoveryengine/v1/project.rb +229 -0
  229. data/proto_docs/google/cloud/discoveryengine/v1/project_service.rb +18 -0
  230. data/proto_docs/google/cloud/discoveryengine/v1/purge_config.rb +2 -1
  231. data/proto_docs/google/cloud/discoveryengine/v1/rank_service.rb +3 -3
  232. data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +7 -1
  233. data/proto_docs/google/cloud/discoveryengine/v1/serving_config.rb +43 -0
  234. data/proto_docs/google/cloud/discoveryengine/v1/serving_config_service.rb +71 -0
  235. data/proto_docs/google/cloud/discoveryengine/v1/session.rb +9 -0
  236. data/proto_docs/google/cloud/discoveryengine/v1/user_event.rb +16 -6
  237. data/proto_docs/google/cloud/discoveryengine/v1/user_license.rb +16 -1
  238. data/proto_docs/google/cloud/discoveryengine/v1/user_license_service.rb +53 -6
  239. data/proto_docs/google/cloud/discoveryengine/v1/user_store.rb +66 -0
  240. data/proto_docs/google/cloud/discoveryengine/v1/user_store_service.rb +54 -0
  241. data/proto_docs/google/cloud/discoveryengine/v1/widget_config.rb +1082 -0
  242. data/proto_docs/google/cloud/discoveryengine/v1/widget_config_service.rb +102 -0
  243. data/proto_docs/google/iam/v1/iam_policy.rb +87 -0
  244. data/proto_docs/google/iam/v1/options.rb +50 -0
  245. data/proto_docs/google/iam/v1/policy.rb +426 -0
  246. data/proto_docs/google/type/date.rb +1 -1
  247. data/proto_docs/google/type/datetime.rb +104 -0
  248. data/proto_docs/google/type/expr.rb +75 -0
  249. data/proto_docs/google/type/latlng.rb +38 -0
  250. metadata +103 -1
@@ -54,10 +54,10 @@ module Google
54
54
  # * `search-history` is the default model for site search dataStores.
55
55
  # @!attribute [rw] user_pseudo_id
56
56
  # @return [::String]
57
- # A unique identifier for tracking visitors. For example, this could be
58
- # implemented with an HTTP cookie, which should be able to uniquely identify
59
- # a visitor on a single device. This unique identifier should not change if
60
- # the visitor logs in or out of the website.
57
+ # Optional. A unique identifier for tracking visitors. For example, this
58
+ # could be implemented with an HTTP cookie, which should be able to uniquely
59
+ # identify a visitor on a single device. This unique identifier should not
60
+ # change if the visitor logs in or out of the website.
61
61
  #
62
62
  # This field should NOT have a fixed value such as `unknown_visitor`.
63
63
  #
@@ -111,6 +111,322 @@ module Google
111
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
112
112
  end
113
113
  end
114
+
115
+ # Request message for
116
+ # {::Google::Cloud::DiscoveryEngine::V1::CompletionService::Client#advanced_complete_query CompletionService.AdvancedCompleteQuery}
117
+ # method.
118
+ # .
119
+ # @!attribute [rw] completion_config
120
+ # @return [::String]
121
+ # Required. The completion_config of the parent dataStore or engine resource
122
+ # name for which the completion is performed, such as
123
+ # `projects/*/locations/global/collections/default_collection/dataStores/*/completionConfig`
124
+ # `projects/*/locations/global/collections/default_collection/engines/*/completionConfig`.
125
+ # @!attribute [rw] query
126
+ # @return [::String]
127
+ # Required. The typeahead input used to fetch suggestions. Maximum length is
128
+ # 128 characters.
129
+ #
130
+ # The query can not be empty for most of the suggestion types. If it is
131
+ # empty, an `INVALID_ARGUMENT` error is returned. The exception is when the
132
+ # suggestion_types contains only the type `RECENT_SEARCH`, the query can
133
+ # be an empty string. The is called "zero prefix" feature, which returns
134
+ # user's recently searched queries given the empty query.
135
+ # @!attribute [rw] query_model
136
+ # @return [::String]
137
+ # Specifies the autocomplete query model, which only applies to the QUERY
138
+ # SuggestionType. This overrides any model specified in the Configuration >
139
+ # Autocomplete section of the Cloud console. Currently supported values:
140
+ #
141
+ # * `document` - Using suggestions generated from user-imported documents.
142
+ # * `search-history` - Using suggestions generated from the past history of
143
+ # {::Google::Cloud::DiscoveryEngine::V1::SearchService::Client#search SearchService.Search}
144
+ # API calls. Do not use it when there is no traffic for Search API.
145
+ # * `user-event` - Using suggestions generated from user-imported search
146
+ # events.
147
+ # * `document-completable` - Using suggestions taken directly from
148
+ # user-imported document fields marked as completable.
149
+ #
150
+ # Default values:
151
+ #
152
+ # * `document` is the default model for regular dataStores.
153
+ # * `search-history` is the default model for site search dataStores.
154
+ # @!attribute [rw] user_pseudo_id
155
+ # @return [::String]
156
+ # Optional. A unique identifier for tracking visitors. For example, this
157
+ # could be implemented with an HTTP cookie, which should be able to uniquely
158
+ # identify a visitor on a single device. This unique identifier should not
159
+ # change if the visitor logs in or out of the website.
160
+ #
161
+ # This field should NOT have a fixed value such as `unknown_visitor`.
162
+ #
163
+ # This should be the same identifier as
164
+ # {::Google::Cloud::DiscoveryEngine::V1::UserEvent#user_pseudo_id UserEvent.user_pseudo_id}
165
+ # and
166
+ # {::Google::Cloud::DiscoveryEngine::V1::SearchRequest#user_pseudo_id SearchRequest.user_pseudo_id}.
167
+ #
168
+ # The field must be a UTF-8 encoded string with a length limit of 128
169
+ # @!attribute [rw] user_info
170
+ # @return [::Google::Cloud::DiscoveryEngine::V1::UserInfo]
171
+ # Optional. Information about the end user.
172
+ #
173
+ # This should be the same identifier information as
174
+ # {::Google::Cloud::DiscoveryEngine::V1::UserEvent#user_info UserEvent.user_info}
175
+ # and
176
+ # {::Google::Cloud::DiscoveryEngine::V1::SearchRequest#user_info SearchRequest.user_info}.
177
+ # @!attribute [rw] include_tail_suggestions
178
+ # @return [::Boolean]
179
+ # Indicates if tail suggestions should be returned if there are no
180
+ # suggestions that match the full query. Even if set to true, if there are
181
+ # suggestions that match the full query, those are returned and no
182
+ # tail suggestions are returned.
183
+ # @!attribute [rw] boost_spec
184
+ # @return [::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::BoostSpec]
185
+ # Optional. Specification to boost suggestions matching the condition.
186
+ # @!attribute [rw] suggestion_types
187
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::SuggestionType>]
188
+ # Optional. Suggestion types to return. If empty or unspecified, query
189
+ # suggestions are returned. Only one suggestion type is supported at the
190
+ # moment.
191
+ # @!attribute [rw] suggestion_type_specs
192
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::SuggestionTypeSpec>]
193
+ # Optional. Specification of each suggestion type.
194
+ # @!attribute [rw] experiment_ids
195
+ # @return [::Array<::String>]
196
+ # Optional. Experiment ids for this request.
197
+ class AdvancedCompleteQueryRequest
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+
201
+ # Specification to boost suggestions based on the condition of the
202
+ # suggestion.
203
+ # @!attribute [rw] condition_boost_specs
204
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::BoostSpec::ConditionBoostSpec>]
205
+ # Condition boost specifications. If a suggestion matches multiple
206
+ # conditions in the specifications, boost values from these specifications
207
+ # are all applied and combined in a non-linear way. Maximum number of
208
+ # specifications is 20.
209
+ #
210
+ # Note: Currently only support language condition boost.
211
+ class BoostSpec
212
+ include ::Google::Protobuf::MessageExts
213
+ extend ::Google::Protobuf::MessageExts::ClassMethods
214
+
215
+ # Boost applies to suggestions which match a condition.
216
+ # @!attribute [rw] condition
217
+ # @return [::String]
218
+ # An expression which specifies a boost condition. The syntax is the same
219
+ # as [filter expression
220
+ # syntax](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax).
221
+ # Currently, the only supported condition is a list of BCP-47 lang codes.
222
+ #
223
+ # Example:
224
+ #
225
+ # * To boost suggestions in languages `en` or `fr`:
226
+ # `(lang_code: ANY("en", "fr"))`
227
+ # @!attribute [rw] boost
228
+ # @return [::Float]
229
+ # Strength of the boost, which should be in [-1, 1].
230
+ # Negative boost means demotion. Default is 0.0.
231
+ #
232
+ # Setting to 1.0 gives the suggestions a big promotion. However, it does
233
+ # not necessarily mean that the top result will be a boosted suggestion.
234
+ #
235
+ # Setting to -1.0 gives the suggestions a big demotion. However, other
236
+ # suggestions that are relevant might still be shown.
237
+ #
238
+ # Setting to 0.0 means no boost applied. The boosting condition is
239
+ # ignored.
240
+ class ConditionBoostSpec
241
+ include ::Google::Protobuf::MessageExts
242
+ extend ::Google::Protobuf::MessageExts::ClassMethods
243
+ end
244
+ end
245
+
246
+ # Specification of each suggestion type.
247
+ # @!attribute [rw] suggestion_type
248
+ # @return [::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryRequest::SuggestionType]
249
+ # Optional. Suggestion type.
250
+ # @!attribute [rw] max_suggestions
251
+ # @return [::Integer]
252
+ # Optional. Maximum number of suggestions to return for each suggestion
253
+ # type.
254
+ class SuggestionTypeSpec
255
+ include ::Google::Protobuf::MessageExts
256
+ extend ::Google::Protobuf::MessageExts::ClassMethods
257
+ end
258
+
259
+ # Suggestion type to return.
260
+ module SuggestionType
261
+ # Default value.
262
+ SUGGESTION_TYPE_UNSPECIFIED = 0
263
+
264
+ # Returns query suggestions.
265
+ QUERY = 1
266
+
267
+ # Returns people suggestions.
268
+ PEOPLE = 2
269
+
270
+ # Returns content suggestions.
271
+ CONTENT = 3
272
+
273
+ # Returns recent search suggestions.
274
+ RECENT_SEARCH = 4
275
+
276
+ # Returns Google Workspace suggestions.
277
+ GOOGLE_WORKSPACE = 5
278
+ end
279
+ end
280
+
281
+ # Response message for
282
+ # {::Google::Cloud::DiscoveryEngine::V1::CompletionService::Client#advanced_complete_query CompletionService.AdvancedCompleteQuery}
283
+ # method.
284
+ # @!attribute [rw] query_suggestions
285
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryResponse::QuerySuggestion>]
286
+ # Results of the matched query suggestions. The result list is ordered and
287
+ # the first result is a top suggestion.
288
+ # @!attribute [rw] tail_match_triggered
289
+ # @return [::Boolean]
290
+ # True if the returned suggestions are all tail suggestions.
291
+ #
292
+ # For tail matching to be triggered, include_tail_suggestions in the request
293
+ # must be true and there must be no suggestions that match the full query.
294
+ # @!attribute [rw] people_suggestions
295
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryResponse::PersonSuggestion>]
296
+ # Results of the matched people suggestions. The result list is ordered and
297
+ # the first result is the top suggestion.
298
+ # @!attribute [rw] content_suggestions
299
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryResponse::ContentSuggestion>]
300
+ # Results of the matched content suggestions. The result list is ordered and
301
+ # the first result is the top suggestion.
302
+ # @!attribute [rw] recent_search_suggestions
303
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryResponse::RecentSearchSuggestion>]
304
+ # Results of the matched "recent search" suggestions. The result list is
305
+ # ordered and the first result is the top suggestion.
306
+ class AdvancedCompleteQueryResponse
307
+ include ::Google::Protobuf::MessageExts
308
+ extend ::Google::Protobuf::MessageExts::ClassMethods
309
+
310
+ # Suggestions as search queries.
311
+ # @!attribute [rw] suggestion
312
+ # @return [::String]
313
+ # The suggestion for the query.
314
+ # @!attribute [rw] completable_field_paths
315
+ # @return [::Array<::String>]
316
+ # The unique document field paths that serve as the source of this
317
+ # suggestion if it was generated from completable fields.
318
+ #
319
+ # This field is only populated for the document-completable model.
320
+ # @!attribute [rw] data_store
321
+ # @return [::Array<::String>]
322
+ # The name of the dataStore that this suggestion belongs to.
323
+ # @!attribute [rw] score
324
+ # @return [::Float]
325
+ # The score of each suggestion. The score is in the range of [0, 1].
326
+ class QuerySuggestion
327
+ include ::Google::Protobuf::MessageExts
328
+ extend ::Google::Protobuf::MessageExts::ClassMethods
329
+ end
330
+
331
+ # Suggestions as people.
332
+ # @!attribute [rw] suggestion
333
+ # @return [::String]
334
+ # The suggestion for the query.
335
+ # @!attribute [rw] person_type
336
+ # @return [::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryResponse::PersonSuggestion::PersonType]
337
+ # The type of the person.
338
+ # @!attribute [rw] document
339
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Document]
340
+ # The document data snippet in the suggestion. Only a subset of fields is
341
+ # populated.
342
+ # @!attribute [rw] data_store
343
+ # @return [::String]
344
+ # The name of the dataStore that this suggestion belongs to.
345
+ # @!attribute [rw] score
346
+ # @return [::Float]
347
+ # The score of each suggestion. The score is in the range of [0, 1].
348
+ # @!attribute [rw] display_photo_uri
349
+ # @return [::String]
350
+ # The photo uri of the person suggestion.
351
+ # @!attribute [rw] destination_uri
352
+ # @return [::String]
353
+ # The destination uri of the person suggestion.
354
+ class PersonSuggestion
355
+ include ::Google::Protobuf::MessageExts
356
+ extend ::Google::Protobuf::MessageExts::ClassMethods
357
+
358
+ # Classifies the person by identity source and entity kind; GOOGLE_GROUP
359
+ # takes precedence for groups regardless of their identity source.
360
+ module PersonType
361
+ # Default value.
362
+ PERSON_TYPE_UNSPECIFIED = 0
363
+
364
+ # The suggestion is from a GOOGLE_IDENTITY source.
365
+ CLOUD_IDENTITY = 1
366
+
367
+ # The suggestion is from a THIRD_PARTY_IDENTITY source.
368
+ THIRD_PARTY_IDENTITY = 2
369
+
370
+ # The suggestion is a group (e.g. a Google Group), not an individual.
371
+ GOOGLE_GROUP = 3
372
+ end
373
+ end
374
+
375
+ # Suggestions as content.
376
+ # @!attribute [rw] suggestion
377
+ # @return [::String]
378
+ # The suggestion for the query.
379
+ # @!attribute [rw] content_type
380
+ # @return [::Google::Cloud::DiscoveryEngine::V1::AdvancedCompleteQueryResponse::ContentSuggestion::ContentType]
381
+ # The type of the content suggestion.
382
+ # @!attribute [rw] document
383
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Document]
384
+ # The document data snippet in the suggestion. Only a subset of fields will
385
+ # be populated.
386
+ # @!attribute [rw] data_store
387
+ # @return [::String]
388
+ # The name of the dataStore that this suggestion belongs to.
389
+ # @!attribute [rw] score
390
+ # @return [::Float]
391
+ # The score of each suggestion. The score is in the range of [0, 1].
392
+ # @!attribute [rw] icon_uri
393
+ # @return [::String]
394
+ # The icon uri of the content suggestion.
395
+ # @!attribute [rw] destination_uri
396
+ # @return [::String]
397
+ # The destination uri of the content suggestion.
398
+ class ContentSuggestion
399
+ include ::Google::Protobuf::MessageExts
400
+ extend ::Google::Protobuf::MessageExts::ClassMethods
401
+
402
+ # The type of the content returned for content suggestions.
403
+ module ContentType
404
+ # Default value.
405
+ CONTENT_TYPE_UNSPECIFIED = 0
406
+
407
+ # The suggestion is from a Google Workspace source.
408
+ GOOGLE_WORKSPACE = 1
409
+
410
+ # The suggestion is from a third party source.
411
+ THIRD_PARTY = 2
412
+ end
413
+ end
414
+
415
+ # Suggestions from recent search history.
416
+ # @!attribute [rw] suggestion
417
+ # @return [::String]
418
+ # The suggestion for the query.
419
+ # @!attribute [rw] recent_search_time
420
+ # @return [::Google::Protobuf::Timestamp]
421
+ # The time when this recent rearch happened.
422
+ # @!attribute [rw] score
423
+ # @return [::Float]
424
+ # The score of each suggestion. The score is in the range of [0, 1].
425
+ class RecentSearchSuggestion
426
+ include ::Google::Protobuf::MessageExts
427
+ extend ::Google::Protobuf::MessageExts::ClassMethods
428
+ end
429
+ end
114
430
  end
115
431
  end
116
432
  end
@@ -233,6 +233,12 @@ module Google
233
233
  # `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`,
234
234
  # or
235
235
  # `projects/*/locations/global/collections/default_collection/dataStores/*/servingConfigs/default_serving_config`.
236
+ #
237
+ # Or the resource name of the agent engine serving config, such as:
238
+ # `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_agent_answer`.
239
+ # (use when `enable_agent_invocation` set to true, and you have custom
240
+ # `AI_MODE` agent engine configured)
241
+ #
236
242
  # This field is used to identify the serving configuration name, set
237
243
  # of models used to make the search.
238
244
  # @!attribute [rw] query
@@ -864,6 +870,14 @@ module Google
864
870
  # @!attribute [rw] session
865
871
  # @return [::Google::Cloud::DiscoveryEngine::V1::Session]
866
872
  # Required. The session to create.
873
+ # @!attribute [rw] session_id
874
+ # @return [::String]
875
+ # Optional. The ID to use for the session, which will become the final
876
+ # component of the session's resource name.
877
+ #
878
+ # This value should be 1-63 characters, and valid characters
879
+ # are /[a-z0-9][a-z0-9-]\\{0,61}[a-z0-9]/. If not specified, a unique ID will
880
+ # be generated.
867
881
  class CreateSessionRequest
868
882
  include ::Google::Protobuf::MessageExts
869
883
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -927,7 +941,9 @@ module Google
927
941
  # @!attribute [rw] filter
928
942
  # @return [::String]
929
943
  # A comma-separated list of fields to filter by, in EBNF grammar.
944
+ #
930
945
  # The supported fields are:
946
+ #
931
947
  # * `user_pseudo_id`
932
948
  # * `state`
933
949
  # * `display_name`
@@ -936,29 +952,36 @@ module Google
936
952
  # * `labels`
937
953
  # * `create_time`
938
954
  # * `update_time`
955
+ # * `collaborative_project`
939
956
  #
940
957
  # Examples:
941
- # "user_pseudo_id = some_id"
942
- # "display_name = \"some_name\""
943
- # "starred = true"
944
- # "is_pinned=true AND (NOT labels:hidden)"
945
- # "create_time > \"1970-01-01T12:00:00Z\""
958
+ #
959
+ # * `user_pseudo_id = some_id`
960
+ # * `display_name = "some_name"`
961
+ # * `starred = true`
962
+ # * `is_pinned=true AND (NOT labels:hidden)`
963
+ # * `create_time > "1970-01-01T12:00:00Z"`
964
+ # * `collaborative_project =
965
+ # "projects/123/locations/global/collections/default_collection/engines/"
966
+ # "default_engine/collaborative_projects/cp1"`
946
967
  # @!attribute [rw] order_by
947
968
  # @return [::String]
948
969
  # A comma-separated list of fields to order by, sorted in ascending order.
949
970
  # Use "desc" after a field name for descending.
971
+ #
950
972
  # Supported fields:
951
973
  #
952
974
  # * `update_time`
953
975
  # * `create_time`
954
976
  # * `session_name`
955
977
  # * `is_pinned`
978
+ # * `display_name`
956
979
  #
957
980
  # Example:
958
981
  #
959
- # * "update_time desc"
960
- # * "create_time"
961
- # * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
982
+ # * `update_time desc`
983
+ # * `create_time`
984
+ # * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then
962
985
  # by update_time.
963
986
  class ListSessionsRequest
964
987
  include ::Google::Protobuf::MessageExts