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
@@ -0,0 +1,875 @@
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 DiscoveryEngine
23
+ module V1
24
+ # Manages the connection to external data sources for all data stores grouped
25
+ # under a {::Google::Cloud::DiscoveryEngine::V1::Collection Collection}. It's a
26
+ # singleton resource of
27
+ # {::Google::Cloud::DiscoveryEngine::V1::Collection Collection}. The initialization
28
+ # is only supported through
29
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnectorService::Client#set_up_data_connector DataConnectorService.SetUpDataConnector}
30
+ # method, which will create a new
31
+ # {::Google::Cloud::DiscoveryEngine::V1::Collection Collection} and initialize its
32
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnector DataConnector}.
33
+ # @!attribute [rw] params
34
+ # @return [::Google::Protobuf::Struct]
35
+ # Required data connector parameters in structured json format.
36
+ #
37
+ # Note: The following fields are mutually exclusive: `params`, `json_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
38
+ # @!attribute [rw] json_params
39
+ # @return [::String]
40
+ # Required data connector parameters in json string format.
41
+ #
42
+ # Note: The following fields are mutually exclusive: `json_params`, `params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
+ # @!attribute [rw] name
44
+ # @return [::String]
45
+ # Identifier. The full resource name of the Data Connector.
46
+ # Format:
47
+ # `projects/*/locations/*/collections/*/dataConnector`.
48
+ # @!attribute [r] state
49
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::State]
50
+ # Output only. State of the connector.
51
+ # @!attribute [rw] data_source
52
+ # @return [::String]
53
+ # Required. The identifier for the data source.
54
+ # For the full, up-to-date list of supported connectors and their values,
55
+ # see
56
+ # [Connect a third-party data
57
+ # source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage).
58
+ # @!attribute [rw] remove_param_keys
59
+ # @return [::Array<::String>]
60
+ # Optional. Specifies keys to be removed from the 'params' field.
61
+ # This is only active when 'params' is included in the 'update_mask'
62
+ # in an UpdateDataConnectorRequest.
63
+ # Deletion takes precedence if a key is both in 'remove_param_keys'
64
+ # and present in the 'params' field of the request.
65
+ # @!attribute [rw] refresh_interval
66
+ # @return [::Google::Protobuf::Duration]
67
+ # Required. The refresh interval for data sync. If duration is set to 0, the
68
+ # data will be synced in real time. The streaming feature is not supported
69
+ # yet. The minimum is 30 minutes and maximum is 7 days. When the refresh
70
+ # interval is set to the same value as the incremental refresh interval,
71
+ # incremental sync will be disabled.
72
+ # @!attribute [rw] next_sync_time
73
+ # @return [::Google::Type::DateTime]
74
+ # Defines the scheduled time for the next data synchronization. This field
75
+ # requires hour , minute, and time_zone from the
76
+ # [IANA Time Zone Database](https://www.iana.org/time-zones). This is
77
+ # utilized when the data connector has a refresh interval greater than 1 day.
78
+ # When the hours or minutes are not specified, we will assume a sync time of
79
+ # 0:00. The user must provide a time zone to avoid ambiguity.
80
+ # @!attribute [rw] entities
81
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::DataConnector::SourceEntity>]
82
+ # List of entities from the connected data source to ingest.
83
+ # @!attribute [r] create_time
84
+ # @return [::Google::Protobuf::Timestamp]
85
+ # Output only. Timestamp the
86
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnector DataConnector} was created
87
+ # at.
88
+ # @!attribute [r] latest_pause_time
89
+ # @return [::Google::Protobuf::Timestamp]
90
+ # Output only. The most recent timestamp when this
91
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnector DataConnector} was paused,
92
+ # affecting all functionalities such as data synchronization.
93
+ # Pausing a connector has the following effects:
94
+ #
95
+ # - All functionalities, including data synchronization, are halted.
96
+ # - Any ongoing data synchronization job will be canceled.
97
+ # - No future data synchronization runs will be scheduled nor can be
98
+ # triggered.
99
+ # @!attribute [r] last_sync_time
100
+ # @return [::Google::Protobuf::Timestamp]
101
+ # Output only. For periodic connectors only, the last time a data sync was
102
+ # completed.
103
+ # @!attribute [r] update_time
104
+ # @return [::Google::Protobuf::Timestamp]
105
+ # Output only. Timestamp the
106
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnector DataConnector} was last
107
+ # updated.
108
+ # @!attribute [r] errors
109
+ # @return [::Array<::Google::Rpc::Status>]
110
+ # Output only. The errors from initialization or from the latest connector
111
+ # run.
112
+ # @!attribute [rw] sync_mode
113
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::SyncMode]
114
+ # The data synchronization mode supported by the data connector.
115
+ # @!attribute [rw] kms_key_name
116
+ # @return [::String]
117
+ # Input only. The KMS key to be used to protect the DataStores managed by
118
+ # this connector.
119
+ #
120
+ # Must be set for requests that need to comply with CMEK Org Policy
121
+ # protections.
122
+ #
123
+ # If this field is set and processed successfully, the DataStores created by
124
+ # this connector will be protected by the KMS key.
125
+ # @!attribute [rw] destination_configs
126
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::DestinationConfig>]
127
+ # Optional. Any target destinations used to connect to third-party services.
128
+ # @!attribute [r] action_state
129
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::State]
130
+ # Output only. State of the action connector. This reflects whether the
131
+ # action connector is initializing, active or has encountered errors.
132
+ # @!attribute [rw] action_config
133
+ # @return [::Google::Cloud::DiscoveryEngine::V1::ActionConfig]
134
+ # Optional. Action configurations to make the connector support actions.
135
+ # @!attribute [rw] end_user_config
136
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::EndUserConfig]
137
+ # Optional. Any params and credentials used specifically for EUA connectors.
138
+ # @!attribute [rw] federated_config
139
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::FederatedConfig]
140
+ # Optional. Any params and credentials used specifically for hybrid
141
+ # connectors supporting FEDERATED mode. This field should only be set if the
142
+ # connector is a hybrid connector and we want to enable FEDERATED mode.
143
+ # @!attribute [rw] connector_modes
144
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::DataConnector::ConnectorMode>]
145
+ # Optional. The modes enabled for this connector. Default state is
146
+ # CONNECTOR_MODE_UNSPECIFIED.
147
+ # @!attribute [rw] static_ip_enabled
148
+ # @return [::Boolean]
149
+ # Optional. Whether customer has enabled static IP addresses for this
150
+ # connector.
151
+ # @!attribute [r] static_ip_addresses
152
+ # @return [::Array<::String>]
153
+ # Output only. The static IP addresses used by this connector.
154
+ # @!attribute [r] oauth_static_ip_addresses
155
+ # @return [::Array<::String>]
156
+ # Output only. The static IP addresses used by this connector for OAuth APIs
157
+ # (e.g. end user authentication). These are surfaced separately from
158
+ # `static_ip_addresses` so that customers can apply granular firewall
159
+ # settings for OAuth endpoints. Only populated for connectors that have
160
+ # static IP enabled and are used for actions and/or federated search.
161
+ # @!attribute [r] blocking_reasons
162
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::DataConnector::BlockingReason>]
163
+ # Output only. User actions that must be completed before the connector can
164
+ # start syncing data.
165
+ # @!attribute [rw] identity_schedule_config
166
+ # @return [::Google::Cloud::DiscoveryEngine::V1::IdentityScheduleConfig]
167
+ # The configuration for the identity data synchronization runs. This contains
168
+ # the refresh interval to sync the Access Control List information
169
+ # for the documents ingested by this connector.
170
+ # @!attribute [r] private_connectivity_project_id
171
+ # @return [::String]
172
+ # Output only. The tenant project ID associated with private connectivity
173
+ # connectors. This project must be allowlisted by in order for the connector
174
+ # to function.
175
+ # @!attribute [rw] bap_config
176
+ # @return [::Google::Cloud::DiscoveryEngine::V1::BAPConfig]
177
+ # Optional. The configuration for establishing a BAP connection.
178
+ # @!attribute [r] connector_type
179
+ # @return [::Google::Cloud::DiscoveryEngine::V1::ConnectorType]
180
+ # Output only. The type of connector. Each source can only map to one type.
181
+ # For example, salesforce, confluence and jira have THIRD_PARTY connector
182
+ # type. It is not mutable once set by system.
183
+ # @!attribute [r] realtime_state
184
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::State]
185
+ # Output only. real-time sync state
186
+ # @!attribute [rw] alert_policy_configs
187
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AlertPolicyConfig>]
188
+ # Optional. The connector level alert config.
189
+ # @!attribute [rw] realtime_sync_config
190
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::RealtimeSyncConfig]
191
+ # Optional. The configuration for realtime sync.
192
+ # @!attribute [rw] acl_enabled
193
+ # @return [::Boolean]
194
+ # Optional. Whether the connector will be created with an ACL config.
195
+ # Currently this field only affects Cloud Storage and BigQuery connectors.
196
+ # @!attribute [rw] create_eua_saas
197
+ # @return [::Boolean]
198
+ # Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
199
+ # @!attribute [rw] auto_run_disabled
200
+ # @return [::Boolean]
201
+ # Optional. Indicates whether the connector is disabled for auto run. It can
202
+ # be used to pause periodical and real time sync. Update: with the
203
+ # introduction of incremental_sync_disabled, auto_run_disabled is used to
204
+ # pause/disable only full syncs
205
+ # @!attribute [rw] incremental_sync_disabled
206
+ # @return [::Boolean]
207
+ # Optional. Indicates whether incremental syncs are paused for this
208
+ # connector. This is independent of auto_run_disabled. Applicable to only 3P
209
+ # connectors. When the refresh interval is set to the same value as the
210
+ # incremental refresh interval, incremental sync will be disabled, i.e. set
211
+ # to true.
212
+ # @!attribute [rw] incremental_refresh_interval
213
+ # @return [::Google::Protobuf::Duration]
214
+ # Optional. The refresh interval specifically for incremental data syncs. If
215
+ # unset, incremental syncs will use the default from env, set to 3hrs. The
216
+ # minimum is 30 minutes and maximum is 7 days. Applicable to only 3P
217
+ # connectors. When the refresh interval is
218
+ # set to the same value as the incremental refresh interval, incremental
219
+ # sync will be disabled.
220
+ # @!attribute [rw] hybrid_ingestion_disabled
221
+ # @return [::Boolean]
222
+ # Optional. If the connector is a hybrid connector, determines whether
223
+ # ingestion is enabled and appropriate resources are provisioned during
224
+ # connector creation. If the connector is not a hybrid connector, this field
225
+ # is ignored.
226
+ # @!attribute [rw] data_protection_policy
227
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataProtectionPolicy]
228
+ # Optional. Specifies the data protection policy for the connector.
229
+ # @!attribute [r] egress_fqdns
230
+ # @return [::Array<::String>]
231
+ # Output only. The list of FQDNs of the data connector can egress to. This
232
+ # includes both FQDN derived from the customer provided instance URL and
233
+ # default per connector type FQDNs.
234
+ # @!attribute [r] vpcsc_enabled
235
+ # @return [::Boolean]
236
+ # Output only. Whether the connector is created with VPC-SC enabled.
237
+ # @!attribute [r] dynamic_tools
238
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::DynamicTool>]
239
+ # Output only. The dynamic tools fetched for this connector.
240
+ # @!attribute [rw] cli_config
241
+ # @return [::Google::Cloud::DiscoveryEngine::V1::CliConfig]
242
+ # Optional. The configuration for establishing a CLI connection.
243
+ # @!attribute [rw] connector_source_id
244
+ # @return [::String]
245
+ # Optional. If set, this value instead of `data_source` is used to fetch the
246
+ # corresponding connector source.
247
+ # @!attribute [rw] tag
248
+ # @return [::String]
249
+ # Optional. Immutable. User-facing, version-independent label for this
250
+ # connector. May be shared by multiple connectors under the same
251
+ # (project, location, collection, data_source); tag-based lookup returns
252
+ # the one with the greatest create_time.
253
+ #
254
+ # Optional at Create time. If the caller omits `tag`, the server
255
+ # auto-derives one from the collection_id (falling back to data_source,
256
+ # else a time-based `t-<micros>` sentinel). The auto-derived tag is
257
+ # subject to the same immutability guarantee as a caller-supplied one,
258
+ # so callers who care about the exact tag value should provide it
259
+ # explicitly rather than relying on the server default.
260
+ #
261
+ # Agent Designer resolves connectors via (data_source, tag) when set,
262
+ # falling back to the legacy resource-name lookup when unset, so
263
+ # connectors created before the tag-write launch continue to work
264
+ # without a backfill.
265
+ # @!attribute [rw] metadata
266
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::ConnectorMetadata]
267
+ # Optional. User-facing metadata for the connector. Populated from the
268
+ # connector's generated metadata / registry `ConnectorSource`.
269
+ class DataConnector
270
+ include ::Google::Protobuf::MessageExts
271
+ extend ::Google::Protobuf::MessageExts::ClassMethods
272
+
273
+ # Represents an entity in the data source. For example, the `Account` object
274
+ # in Salesforce.
275
+ # @!attribute [rw] params
276
+ # @return [::Google::Protobuf::Struct]
277
+ # The parameters for the entity to facilitate data ingestion in
278
+ # structured json format.
279
+ #
280
+ # Note: The following fields are mutually exclusive: `params`, `json_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
281
+ # @!attribute [rw] json_params
282
+ # @return [::String]
283
+ # The parameters for the entity to facilitate data ingestion in json
284
+ # string format.
285
+ #
286
+ # Note: The following fields are mutually exclusive: `json_params`, `params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
287
+ # @!attribute [rw] entity_name
288
+ # @return [::String]
289
+ # The name of the entity. Supported values by data source:
290
+ #
291
+ # * Salesforce: `Lead`, `Opportunity`, `Contact`, `Account`, `Case`,
292
+ # `Contract`, `Campaign`
293
+ # * Jira: `Issue`
294
+ # * Confluence: `Content`, `Space`
295
+ # @!attribute [rw] key_property_mappings
296
+ # @return [::Google::Protobuf::Map{::String => ::String}]
297
+ # Attributes for indexing.
298
+ # Key: Field name.
299
+ # Value: The key property to map a field to, such as `title`, and
300
+ # `description`. Supported key properties:
301
+ #
302
+ # * `title`: The title for data record. This would be displayed on search
303
+ # results.
304
+ # * `description`: The description for data record. This would be displayed
305
+ # on search results.
306
+ # @!attribute [r] data_store
307
+ # @return [::String]
308
+ # Output only. The full resource name of the associated data store for the
309
+ # source entity. Format:
310
+ # `projects/*/locations/*/collections/*/dataStores/*`.
311
+ # When the connector is initialized by the
312
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnectorService::Client#set_up_data_connector DataConnectorService.SetUpDataConnector}
313
+ # method, a {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} is
314
+ # automatically created for each source entity.
315
+ # @!attribute [rw] starting_schema
316
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Schema]
317
+ # Optional. The start schema to use for the
318
+ # {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore} created from this
319
+ # SourceEntity. If unset, a default vertical specialized schema will be
320
+ # used.
321
+ #
322
+ # This field is only used by
323
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnectorService::Client#set_up_data_connector SetUpDataConnector}
324
+ # API, and will be ignored if used in other APIs. This field will be
325
+ # omitted from all API responses including
326
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnectorService::Client#get_data_connector GetDataConnector}
327
+ # API. To retrieve a schema of a
328
+ # {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore}, use
329
+ # {::Google::Cloud::DiscoveryEngine::V1::SchemaService::Client#get_schema SchemaService.GetSchema}
330
+ # API instead.
331
+ #
332
+ # The provided schema will be validated against certain rules on schema.
333
+ # Learn more from [this
334
+ # doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
335
+ # @!attribute [rw] healthcare_fhir_config
336
+ # @return [::Google::Cloud::DiscoveryEngine::V1::HealthcareFhirConfig]
337
+ # Optional. Configuration for `HEALTHCARE_FHIR` vertical.
338
+ class SourceEntity
339
+ include ::Google::Protobuf::MessageExts
340
+ extend ::Google::Protobuf::MessageExts::ClassMethods
341
+
342
+ # @!attribute [rw] key
343
+ # @return [::String]
344
+ # @!attribute [rw] value
345
+ # @return [::String]
346
+ class KeyPropertyMappingsEntry
347
+ include ::Google::Protobuf::MessageExts
348
+ extend ::Google::Protobuf::MessageExts::ClassMethods
349
+ end
350
+ end
351
+
352
+ # Any params and credentials used specifically for EUA connectors.
353
+ # @!attribute [rw] auth_params
354
+ # @return [::Google::Protobuf::Struct]
355
+ # Optional. Any authentication parameters specific to EUA connectors.
356
+ #
357
+ # Note: The following fields are mutually exclusive: `auth_params`, `json_auth_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
358
+ # @!attribute [rw] json_auth_params
359
+ # @return [::String]
360
+ # Optional. Any authentication parameters specific to EUA connectors in
361
+ # json string format.
362
+ #
363
+ # Note: The following fields are mutually exclusive: `json_auth_params`, `auth_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
364
+ # @!attribute [rw] additional_params
365
+ # @return [::Google::Protobuf::Struct]
366
+ # Optional. Any additional parameters needed for EUA.
367
+ # @!attribute [rw] tenant
368
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Tenant]
369
+ # Optional. The tenant project the connector is connected to.
370
+ class EndUserConfig
371
+ include ::Google::Protobuf::MessageExts
372
+ extend ::Google::Protobuf::MessageExts::ClassMethods
373
+ end
374
+
375
+ # Any params and credentials used specifically for hybrid connectors
376
+ # supporting FEDERATED mode.
377
+ # @!attribute [rw] auth_params
378
+ # @return [::Google::Protobuf::Struct]
379
+ # Optional. Any authentication parameters specific to FEDERATED
380
+ # connectors.
381
+ #
382
+ # Note: The following fields are mutually exclusive: `auth_params`, `json_auth_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
383
+ # @!attribute [rw] json_auth_params
384
+ # @return [::String]
385
+ # Optional. Any authentication parameters specific to FEDERATED
386
+ # connectors in json string format.
387
+ #
388
+ # Note: The following fields are mutually exclusive: `json_auth_params`, `auth_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
389
+ # @!attribute [rw] additional_params
390
+ # @return [::Google::Protobuf::Struct]
391
+ # Optional. Any additional parameters needed for FEDERATED.
392
+ class FederatedConfig
393
+ include ::Google::Protobuf::MessageExts
394
+ extend ::Google::Protobuf::MessageExts::ClassMethods
395
+ end
396
+
397
+ # The configuration for realtime sync to store additional params for
398
+ # realtime sync.
399
+ # @!attribute [rw] webhook_uri
400
+ # @return [::String]
401
+ # Optional. Webhook url for the connector to specify additional params for
402
+ # realtime sync.
403
+ # @!attribute [rw] realtime_sync_secret
404
+ # @return [::String]
405
+ # Optional. The ID of the Secret Manager secret used for webhook secret.
406
+ # @!attribute [rw] streaming_error
407
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::RealtimeSyncConfig::StreamingError]
408
+ # Optional. Streaming error details.
409
+ class RealtimeSyncConfig
410
+ include ::Google::Protobuf::MessageExts
411
+ extend ::Google::Protobuf::MessageExts::ClassMethods
412
+
413
+ # Streaming error details.
414
+ # @!attribute [rw] streaming_error_reason
415
+ # @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::RealtimeSyncConfig::StreamingError::StreamingErrorReason]
416
+ # Optional. Streaming error.
417
+ # @!attribute [rw] error
418
+ # @return [::Google::Rpc::Status]
419
+ # Optional. Error details.
420
+ class StreamingError
421
+ include ::Google::Protobuf::MessageExts
422
+ extend ::Google::Protobuf::MessageExts::ClassMethods
423
+
424
+ # Broad types of streaming errors.
425
+ module StreamingErrorReason
426
+ # Streaming error reason unspecified.
427
+ STREAMING_ERROR_REASON_UNSPECIFIED = 0
428
+
429
+ # Some error occurred while setting up resources for realtime sync.
430
+ STREAMING_SETUP_ERROR = 1
431
+
432
+ # Some error was encountered while running realtime sync for the
433
+ # connector.
434
+ STREAMING_SYNC_ERROR = 2
435
+
436
+ # Ingress endpoint is required when setting up realtime sync in private
437
+ # connectivity.
438
+ INGRESS_ENDPOINT_REQUIRED = 3
439
+ end
440
+ end
441
+ end
442
+
443
+ # User-facing metadata for the connector, shown on the connector detail
444
+ # page (title, description, short_description, author, note).
445
+ # @!attribute [rw] title
446
+ # @return [::String]
447
+ # Optional. Display title of the connector.
448
+ # @!attribute [rw] description
449
+ # @return [::String]
450
+ # Optional. Human-readable description of the connector, shown on the
451
+ # connector detail page. One connector has a single description.
452
+ # @!attribute [rw] short_description
453
+ # @return [::String]
454
+ # Optional. Short, subtitle-length description of the connector (e.g. shown
455
+ # beneath the connector name in list and detail views).
456
+ # @!attribute [rw] author
457
+ # @return [::String]
458
+ # Optional. The party that authored the connector, e.g. "Google" or a
459
+ # third-party provider name. Lets end users see who authored a connector.
460
+ # @!attribute [rw] note
461
+ # @return [::String]
462
+ # Optional. Free-form, multi-line note about the connector's capabilities
463
+ # or a custom note that can be set for the connector.
464
+ class ConnectorMetadata
465
+ include ::Google::Protobuf::MessageExts
466
+ extend ::Google::Protobuf::MessageExts::ClassMethods
467
+ end
468
+
469
+ # The state of connector.
470
+ module State
471
+ # Default value.
472
+ STATE_UNSPECIFIED = 0
473
+
474
+ # The connector is being set up.
475
+ CREATING = 1
476
+
477
+ # The connector is successfully set up and awaiting next sync run.
478
+ ACTIVE = 2
479
+
480
+ # The connector is in error. The error details can be found in
481
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnector#errors DataConnector.errors}.
482
+ # If the error is unfixable, the
483
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnector DataConnector} can be
484
+ # deleted by
485
+ # {::Google::Cloud::DiscoveryEngine::V1::CollectionService::Client#delete_collection CollectionService.DeleteCollection}
486
+ # API.
487
+ FAILED = 3
488
+
489
+ # The connector is actively syncing records from the data source.
490
+ RUNNING = 4
491
+
492
+ # The connector has completed a sync run, but encountered non-fatal errors.
493
+ WARNING = 5
494
+
495
+ # Connector initialization failed. Potential causes include runtime errors
496
+ # or issues in the asynchronous pipeline, preventing the request from
497
+ # reaching downstream services (except for some connector types).
498
+ INITIALIZATION_FAILED = 6
499
+
500
+ # Connector is in the process of an update.
501
+ UPDATING = 7
502
+ end
503
+
504
+ # Defines the data synchronization mode supported by the data connector.
505
+ module SyncMode
506
+ # The connector will sync data periodically based on the refresh_interval.
507
+ # Use it with auto_run_disabled to pause the periodic sync, or indicate a
508
+ # one-time sync.
509
+ PERIODIC = 0
510
+
511
+ # The data will be synced in real time.
512
+ STREAMING = 1
513
+
514
+ # Connector that doesn't ingest data will have this value
515
+ UNSPECIFIED = 2
516
+ end
517
+
518
+ # The modes enabled for this connector. INGESTION, ACTIONS, FEDERATED, OR EUA
519
+ module ConnectorMode
520
+ # Connector mode unspecified.
521
+ CONNECTOR_MODE_UNSPECIFIED = 0
522
+
523
+ # Connector utilized for data ingestion.
524
+ DATA_INGESTION = 1
525
+
526
+ # Connector utilized for actions.
527
+ ACTIONS = 2
528
+
529
+ # Connector utilized for federated search.
530
+ FEDERATED = 3
531
+
532
+ # Connector utilized for End User Authentication.
533
+ EUA = 4
534
+
535
+ # Hybrid connector utilized for federated search and End User
536
+ # Authentication.
537
+ FEDERATED_AND_EUA = 5
538
+ end
539
+
540
+ # User actions that must be completed before the connector can
541
+ # start syncing data.
542
+ module BlockingReason
543
+ # Default value.
544
+ BLOCKING_REASON_UNSPECIFIED = 0
545
+
546
+ # Connector requires customer to allowlist static IPs.
547
+ ALLOWLIST_STATIC_IP = 1
548
+
549
+ # Connector requires customer to allowlist our project in their service
550
+ # attachment.
551
+ ALLOWLIST_IN_SERVICE_ATTACHMENT = 2
552
+
553
+ # Connector requires customer to allowlist service account in their
554
+ # project.
555
+ ALLOWLIST_SERVICE_ACCOUNT = 3
556
+ end
557
+ end
558
+
559
+ # Defines target endpoints used to connect to third-party sources.
560
+ # @!attribute [rw] params
561
+ # @return [::Google::Protobuf::Struct]
562
+ # Optional. Additional parameters for this destination config in structured
563
+ # json format.
564
+ #
565
+ # Note: The following fields are mutually exclusive: `params`, `json_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
566
+ # @!attribute [rw] json_params
567
+ # @return [::String]
568
+ # Additional parameters for this destination config in json string format.
569
+ #
570
+ # Note: The following fields are mutually exclusive: `json_params`, `params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
571
+ # @!attribute [rw] key
572
+ # @return [::String]
573
+ # Optional. Unique destination identifier that is supported by the connector.
574
+ # @!attribute [rw] destinations
575
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::DestinationConfig::Destination>]
576
+ # Optional. The destinations for the corresponding key.
577
+ class DestinationConfig
578
+ include ::Google::Protobuf::MessageExts
579
+ extend ::Google::Protobuf::MessageExts::ClassMethods
580
+
581
+ # Defines a target endpoint
582
+ # @!attribute [rw] host
583
+ # @return [::String]
584
+ # Publicly routable host.
585
+ # @!attribute [rw] port
586
+ # @return [::Integer]
587
+ # Optional. Target port number accepted by the destination.
588
+ class Destination
589
+ include ::Google::Protobuf::MessageExts
590
+ extend ::Google::Protobuf::MessageExts::ClassMethods
591
+ end
592
+ end
593
+
594
+ # Informations to support actions on the connector.
595
+ # @!attribute [rw] action_params
596
+ # @return [::Google::Protobuf::Struct]
597
+ # Optional. Action parameters in structured json format.
598
+ #
599
+ # Note: The following fields are mutually exclusive: `action_params`, `json_action_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
600
+ # @!attribute [rw] json_action_params
601
+ # @return [::String]
602
+ # Optional. Action parameters in json string format.
603
+ #
604
+ # Note: The following fields are mutually exclusive: `json_action_params`, `action_params`. If a field in that set is populated, all other fields in the set will automatically be cleared.
605
+ # @!attribute [r] is_action_configured
606
+ # @return [::Boolean]
607
+ # Output only. The connector contains the necessary parameters and is
608
+ # configured to support actions.
609
+ # @!attribute [rw] service_name
610
+ # @return [::String]
611
+ # Optional. The Service Directory resource name
612
+ # (projects/*/locations/*/namespaces/*/services/*)
613
+ # representing a VPC network endpoint used to connect to the data source's
614
+ # `instance_uri`, defined in
615
+ # {::Google::Cloud::DiscoveryEngine::V1::DataConnector#params DataConnector.params}.
616
+ #
617
+ # Required when VPC Service Controls are enabled.
618
+ # @!attribute [rw] use_static_secrets
619
+ # @return [::Boolean]
620
+ # Optional. Whether to use static secrets for the connector. If true, the
621
+ # secrets provided in the action_params will be ignored.
622
+ # @!attribute [rw] create_bap_connection
623
+ # @return [::Boolean]
624
+ # Optional. Whether to create a BAP connection for the connector.
625
+ # @!attribute [rw] user_defined_scopes_mapping
626
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::ActionConfig::ScopeList}]
627
+ # Optional. Mapping from operation name to the list of scopes. Only be
628
+ # populated if there are user specified scopes.
629
+ class ActionConfig
630
+ include ::Google::Protobuf::MessageExts
631
+ extend ::Google::Protobuf::MessageExts::ClassMethods
632
+
633
+ # Stores a list of scopes.
634
+ # @!attribute [rw] scopes
635
+ # @return [::Array<::String>]
636
+ # Optional. The list of scopes.
637
+ class ScopeList
638
+ include ::Google::Protobuf::MessageExts
639
+ extend ::Google::Protobuf::MessageExts::ClassMethods
640
+ end
641
+
642
+ # @!attribute [rw] key
643
+ # @return [::String]
644
+ # @!attribute [rw] value
645
+ # @return [::Google::Cloud::DiscoveryEngine::V1::ActionConfig::ScopeList]
646
+ class UserDefinedScopesMappingEntry
647
+ include ::Google::Protobuf::MessageExts
648
+ extend ::Google::Protobuf::MessageExts::ClassMethods
649
+ end
650
+ end
651
+
652
+ # The configuration for the identity data synchronization runs.
653
+ # @!attribute [rw] refresh_interval
654
+ # @return [::Google::Protobuf::Duration]
655
+ # Optional. The refresh interval to sync the Access Control List information
656
+ # for the documents ingested by this connector. If not set, the
657
+ # access control list will be refreshed at the default interval of 30
658
+ # minutes. The identity refresh interval can be at least 30 minutes
659
+ # and at most 7 days.
660
+ # @!attribute [rw] next_sync_time
661
+ # @return [::Google::Type::DateTime]
662
+ # Optional. The UTC time when the next data sync is expected to start for the
663
+ # Data Connector. Customers are only able to specify the hour and minute to
664
+ # schedule the data sync. This is utilized when the data connector has a
665
+ # refresh interval greater than 1 day.
666
+ class IdentityScheduleConfig
667
+ include ::Google::Protobuf::MessageExts
668
+ extend ::Google::Protobuf::MessageExts::ClassMethods
669
+ end
670
+
671
+ # The configuration for the BAP connector.
672
+ # @!attribute [rw] supported_connector_modes
673
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::BAPConfig::ConnectorMode>]
674
+ # Required. The supported connector modes for the associated BAP connection.
675
+ # @!attribute [rw] enabled_actions
676
+ # @return [::Array<::String>]
677
+ # Optional. The actions enabled on the associated BAP connection.
678
+ # @!attribute [rw] toolspec_override
679
+ # @return [::Google::Cloud::DiscoveryEngine::V1::BAPConfig::ToolspecOverride]
680
+ # Optional. Custom toolspec overrides for this connection. For Enterprise BAP
681
+ # connectors that support admin-curated tool definitions, this holds the
682
+ # (simplified) per-tool overrides. On Get, populated by the server by
683
+ # merging persisted overrides with live runtime tool definitions and
684
+ # trimming the result for UI consumption. On Update, the supplied value
685
+ # replaces the persisted overrides after server-side validation and
686
+ # merging: the `base_version` field MUST match the server's current base
687
+ # toolspec version (otherwise the request is rejected with a user-facing
688
+ # error directing the admin to re-download the latest tools first).
689
+ class BAPConfig
690
+ include ::Google::Protobuf::MessageExts
691
+ extend ::Google::Protobuf::MessageExts::ClassMethods
692
+
693
+ # Customer-facing view of the admin-curated toolspec for a BAP
694
+ # connection. Holds the (simplified) per-tool definitions surfaced to
695
+ # and editable by the admin in the Discovery Engine UI.
696
+ #
697
+ # Mirrors the shape of the backend
698
+ # `google.cloud.connectorexecution.v1.ToolspecOverride` message, but
699
+ # is intentionally kept as a separate public type so the Discovery
700
+ # Engine API surface can evolve independently of the fed-API surface
701
+ # (AIP-215). Handlers convert between the two via helpers in
702
+ # //cloud/ml/discoveryengine/external_service/v1main/data_connector_service/lib:bap_custom_tool_util.
703
+ # @!attribute [rw] tools
704
+ # @return [::Array<::Google::Protobuf::Struct>]
705
+ # Required. Tool definitions (one Struct per tool) that the admin has
706
+ # customised on top of the base toolspec returned by the fed API.
707
+ # REQUIRED because it is the only user-editable field in the
708
+ # modify API; the request must carry at least one tool.
709
+ # @!attribute [rw] base_version
710
+ # @return [::String]
711
+ # Required. Base toolspec version against which `tools` were authored. On
712
+ # Update, MUST match the server's current stable toolspec version
713
+ # for the connection; mismatch is rejected with a user-facing error
714
+ # directing the admin to re-download the latest tools first.
715
+ class ToolspecOverride
716
+ include ::Google::Protobuf::MessageExts
717
+ extend ::Google::Protobuf::MessageExts::ClassMethods
718
+ end
719
+
720
+ # Use cases supported by this BAP connector.
721
+ module ConnectorMode
722
+ # Connector mode unspecified.
723
+ CONNECTOR_MODE_UNSPECIFIED = 0
724
+
725
+ # Connector utilized for data ingestion.
726
+ DATA_INGESTION = 1
727
+
728
+ # Connector utilized for Actions
729
+ ACTIONS = 2
730
+
731
+ # Connector utilized for End User Authentication.
732
+ END_USER_AUTHENTICATION = 3
733
+ end
734
+ end
735
+
736
+ # The configuration for the CLI execution based connectors.
737
+ # @!attribute [rw] enabled_actions
738
+ # @return [::Array<::String>]
739
+ # Optional. The actions enabled on the associated CLI connection.
740
+ class CliConfig
741
+ include ::Google::Protobuf::MessageExts
742
+ extend ::Google::Protobuf::MessageExts::ClassMethods
743
+ end
744
+
745
+ # The connector level alert config.
746
+ # @!attribute [rw] alert_policy_name
747
+ # @return [::String]
748
+ # Immutable. The fully qualified resource name of the AlertPolicy.
749
+ # @!attribute [rw] alert_enrollments
750
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::AlertPolicyConfig::AlertEnrollment>]
751
+ # Optional. The enrollment states of each alert.
752
+ class AlertPolicyConfig
753
+ include ::Google::Protobuf::MessageExts
754
+ extend ::Google::Protobuf::MessageExts::ClassMethods
755
+
756
+ # The alert enrollment status.
757
+ # @!attribute [rw] alert_id
758
+ # @return [::String]
759
+ # Immutable. The id of an alert.
760
+ # @!attribute [rw] enroll_state
761
+ # @return [::Google::Cloud::DiscoveryEngine::V1::AlertPolicyConfig::AlertEnrollment::EnrollStates]
762
+ # Required. The enrollment status of a customer.
763
+ class AlertEnrollment
764
+ include ::Google::Protobuf::MessageExts
765
+ extend ::Google::Protobuf::MessageExts::ClassMethods
766
+
767
+ # The enrollment status enum for the alert.
768
+ module EnrollStates
769
+ # Default value. Used for customers who have not responded to the
770
+ # alert policy.
771
+ ENROLL_STATES_UNSPECIFIED = 0
772
+
773
+ # Customer is enrolled in this policy.
774
+ ENROLLED = 1
775
+
776
+ # Customer declined this policy.
777
+ DECLINED = 2
778
+ end
779
+ end
780
+ end
781
+
782
+ # Tenant information for a connector source. This includes some of the same
783
+ # information stored in the Credential message, but is limited to only what is
784
+ # needed to provide a list of accessible tenants to the user.
785
+ # @!attribute [rw] id
786
+ # @return [::String]
787
+ # The tenant's instance ID. Examples: Jira
788
+ # ("8594f221-9797-5f78-1fa4-485e198d7cd0"), Slack ("T123456").
789
+ # @!attribute [rw] uri
790
+ # @return [::String]
791
+ # The URI of the tenant, if applicable. For example, the URI of a Jira
792
+ # instance is https://my-jira-instance.atlassian.net, and a Slack tenant does
793
+ # not have a URI.
794
+ # @!attribute [rw] display_name
795
+ # @return [::String]
796
+ # Optional display name for the tenant, e.g. "My Slack Team".
797
+ class Tenant
798
+ include ::Google::Protobuf::MessageExts
799
+ extend ::Google::Protobuf::MessageExts::ClassMethods
800
+ end
801
+
802
+ # Configuration for dynamic tools.
803
+ # @!attribute [rw] name
804
+ # @return [::String]
805
+ # Required. The name of the tool.
806
+ # @!attribute [rw] description
807
+ # @return [::String]
808
+ # Optional. The description of the tool.
809
+ # @!attribute [rw] enabled
810
+ # @return [::Boolean]
811
+ # Optional. Whether the tool is enabled.
812
+ # @!attribute [rw] display_name
813
+ # @return [::String]
814
+ # Optional. The display name of the tool.
815
+ class DynamicTool
816
+ include ::Google::Protobuf::MessageExts
817
+ extend ::Google::Protobuf::MessageExts::ClassMethods
818
+ end
819
+
820
+ # The type of connector.
821
+ # New values may be added to this enum in the future.
822
+ module ConnectorType
823
+ # Default value.
824
+ CONNECTOR_TYPE_UNSPECIFIED = 0
825
+
826
+ # Third party connector to connector to third party application.
827
+ THIRD_PARTY = 1
828
+
829
+ # Data connector connects between FHIR store and VAIS datastore.
830
+ GCP_FHIR = 2
831
+
832
+ # Big query connector.
833
+ BIG_QUERY = 3
834
+
835
+ # Google Cloud Storage connector.
836
+ GCS = 4
837
+
838
+ # Gmail connector.
839
+ GOOGLE_MAIL = 5
840
+
841
+ # Google Calendar connector.
842
+ GOOGLE_CALENDAR = 6
843
+
844
+ # Google Drive connector.
845
+ GOOGLE_DRIVE = 7
846
+
847
+ # Native Cloud Identity connector for people search powered by People API.
848
+ NATIVE_CLOUD_IDENTITY = 8
849
+
850
+ # Federated connector, it is a third party connector that doesn't ingestion
851
+ # data, and search is powered by third party application's API.
852
+ THIRD_PARTY_FEDERATED = 9
853
+
854
+ # Connector utilized for End User Authentication features.
855
+ THIRD_PARTY_EUA = 10
856
+
857
+ # Google Cloud NetApp Volumes connector.
858
+ GCNV = 11
859
+
860
+ # Google Chat connector.
861
+ GOOGLE_CHAT = 12
862
+
863
+ # Google Sites connector.
864
+ GOOGLE_SITES = 13
865
+
866
+ # Remote MCP based connector.
867
+ REMOTE_MCP = 14
868
+
869
+ # Google Workspace connector.
870
+ GOOGLE_WORKSPACE = 15
871
+ end
872
+ end
873
+ end
874
+ end
875
+ end