google-cloud-discovery_engine-v1beta 0.27.0 → 0.28.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 (252) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/client.rb +591 -0
  5. data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/credentials.rb +49 -0
  6. data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/paths.rb +50 -0
  7. data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/rest/client.rb +534 -0
  8. data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/rest/service_stub.rb +204 -0
  9. data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/rest.rb +52 -0
  10. data/lib/google/cloud/discovery_engine/v1beta/acl_config_service.rb +55 -0
  11. data/lib/google/cloud/discovery_engine/v1beta/assistant_service/client.rb +1058 -0
  12. data/lib/google/cloud/discovery_engine/v1beta/assistant_service/credentials.rb +50 -0
  13. data/lib/google/cloud/discovery_engine/v1beta/assistant_service/paths.rb +230 -0
  14. data/lib/google/cloud/discovery_engine/v1beta/assistant_service/rest/client.rb +975 -0
  15. data/lib/google/cloud/discovery_engine/v1beta/assistant_service/rest/service_stub.rb +444 -0
  16. data/lib/google/cloud/discovery_engine/v1beta/assistant_service/rest.rb +52 -0
  17. data/lib/google/cloud/discovery_engine/v1beta/assistant_service.rb +55 -0
  18. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/client.rb +823 -0
  19. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/credentials.rb +49 -0
  20. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/operations.rb +843 -0
  21. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/paths.rb +135 -0
  22. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/rest/client.rb +752 -0
  23. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/rest/operations.rb +1152 -0
  24. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/rest/service_stub.rb +341 -0
  25. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/rest.rb +53 -0
  26. data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service.rb +56 -0
  27. data/lib/google/cloud/discovery_engine/v1beta/completion_service/client.rb +146 -12
  28. data/lib/google/cloud/discovery_engine/v1beta/completion_service/credentials.rb +5 -1
  29. data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/client.rb +139 -12
  30. data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/operations.rb +21 -0
  31. data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/service_stub.rb +62 -0
  32. data/lib/google/cloud/discovery_engine/v1beta/control_service/credentials.rb +3 -1
  33. data/lib/google/cloud/discovery_engine/v1beta/control_service/paths.rb +53 -0
  34. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/client.rb +210 -10
  35. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/credentials.rb +3 -1
  36. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/paths.rb +46 -0
  37. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/client.rb +205 -10
  38. data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/service_stub.rb +72 -0
  39. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/client.rb +11 -1
  40. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/credentials.rb +3 -1
  41. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/paths.rb +104 -0
  42. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/client.rb +11 -1
  43. data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/operations.rb +21 -0
  44. data/lib/google/cloud/discovery_engine/v1beta/document_service/client.rb +8 -3
  45. data/lib/google/cloud/discovery_engine/v1beta/document_service/credentials.rb +3 -1
  46. data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/client.rb +8 -3
  47. data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/operations.rb +21 -0
  48. data/lib/google/cloud/discovery_engine/v1beta/engine_service/client.rb +224 -6
  49. data/lib/google/cloud/discovery_engine/v1beta/engine_service/credentials.rb +3 -1
  50. data/lib/google/cloud/discovery_engine/v1beta/engine_service/paths.rb +104 -0
  51. data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/client.rb +210 -6
  52. data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/operations.rb +21 -0
  53. data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/service_stub.rb +123 -0
  54. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/client.rb +11 -9
  55. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/credentials.rb +4 -1
  56. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/paths.rb +21 -0
  57. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/client.rb +11 -9
  58. data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/operations.rb +21 -0
  59. data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/credentials.rb +3 -1
  60. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/client.rb +1180 -0
  61. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/credentials.rb +49 -0
  62. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/operations.rb +843 -0
  63. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/paths.rb +154 -0
  64. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/rest/client.rb +1088 -0
  65. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/rest/operations.rb +1152 -0
  66. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/rest/service_stub.rb +511 -0
  67. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/rest.rb +53 -0
  68. data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service.rb +56 -0
  69. data/lib/google/cloud/discovery_engine/v1beta/license_config_service/client.rb +1050 -0
  70. data/lib/google/cloud/discovery_engine/v1beta/license_config_service/credentials.rb +49 -0
  71. data/lib/google/cloud/discovery_engine/v1beta/license_config_service/paths.rb +86 -0
  72. data/lib/google/cloud/discovery_engine/v1beta/license_config_service/rest/client.rb +965 -0
  73. data/lib/google/cloud/discovery_engine/v1beta/license_config_service/rest/service_stub.rb +451 -0
  74. data/lib/google/cloud/discovery_engine/v1beta/license_config_service/rest.rb +52 -0
  75. data/lib/google/cloud/discovery_engine/v1beta/license_config_service.rb +55 -0
  76. data/lib/google/cloud/discovery_engine/v1beta/project_service/client.rb +3 -1
  77. data/lib/google/cloud/discovery_engine/v1beta/project_service/credentials.rb +3 -1
  78. data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/client.rb +3 -1
  79. data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/operations.rb +21 -0
  80. data/lib/google/cloud/discovery_engine/v1beta/rank_service/client.rb +2 -2
  81. data/lib/google/cloud/discovery_engine/v1beta/rank_service/credentials.rb +3 -1
  82. data/lib/google/cloud/discovery_engine/v1beta/rank_service/rest/client.rb +2 -2
  83. data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/client.rb +2 -2
  84. data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/credentials.rb +3 -1
  85. data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/rest/client.rb +2 -2
  86. data/lib/google/cloud/discovery_engine/v1beta/rest.rb +10 -3
  87. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/credentials.rb +3 -1
  88. data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/operations.rb +21 -0
  89. data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/credentials.rb +3 -1
  90. data/lib/google/cloud/discovery_engine/v1beta/schema_service/credentials.rb +3 -1
  91. data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/operations.rb +21 -0
  92. data/lib/google/cloud/discovery_engine/v1beta/search_service/client.rb +194 -38
  93. data/lib/google/cloud/discovery_engine/v1beta/search_service/credentials.rb +4 -1
  94. data/lib/google/cloud/discovery_engine/v1beta/search_service/paths.rb +21 -0
  95. data/lib/google/cloud/discovery_engine/v1beta/search_service/rest/client.rb +194 -38
  96. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/credentials.rb +3 -1
  97. data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/operations.rb +21 -0
  98. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/client.rb +207 -3
  99. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/credentials.rb +3 -1
  100. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/client.rb +193 -3
  101. data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/service_stub.rb +153 -0
  102. data/lib/google/cloud/discovery_engine/v1beta/session_service/client.rb +25 -9
  103. data/lib/google/cloud/discovery_engine/v1beta/session_service/credentials.rb +4 -1
  104. data/lib/google/cloud/discovery_engine/v1beta/session_service/paths.rb +46 -0
  105. data/lib/google/cloud/discovery_engine/v1beta/session_service/rest/client.rb +25 -9
  106. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/client.rb +1 -3
  107. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/credentials.rb +3 -1
  108. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/client.rb +1 -3
  109. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/operations.rb +21 -0
  110. data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/service_stub.rb +7 -0
  111. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/client.rb +23 -11
  112. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/credentials.rb +4 -1
  113. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/client.rb +23 -11
  114. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/operations.rb +21 -0
  115. data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/service_stub.rb +8 -0
  116. data/lib/google/cloud/discovery_engine/v1beta/user_license_service/client.rb +768 -0
  117. data/lib/google/cloud/discovery_engine/v1beta/user_license_service/credentials.rb +49 -0
  118. data/lib/google/cloud/discovery_engine/v1beta/user_license_service/operations.rb +843 -0
  119. data/lib/google/cloud/discovery_engine/v1beta/user_license_service/paths.rb +71 -0
  120. data/lib/google/cloud/discovery_engine/v1beta/user_license_service/rest/client.rb +704 -0
  121. data/lib/google/cloud/discovery_engine/v1beta/user_license_service/rest/operations.rb +1152 -0
  122. data/lib/google/cloud/discovery_engine/v1beta/user_license_service/rest/service_stub.rb +265 -0
  123. data/lib/google/cloud/discovery_engine/v1beta/user_license_service/rest.rb +53 -0
  124. data/lib/google/cloud/discovery_engine/v1beta/user_license_service.rb +56 -0
  125. data/lib/google/cloud/discovery_engine/v1beta/user_store_service/client.rb +590 -0
  126. data/lib/google/cloud/discovery_engine/v1beta/user_store_service/credentials.rb +49 -0
  127. data/lib/google/cloud/discovery_engine/v1beta/user_store_service/paths.rb +71 -0
  128. data/lib/google/cloud/discovery_engine/v1beta/user_store_service/rest/client.rb +533 -0
  129. data/lib/google/cloud/discovery_engine/v1beta/user_store_service/rest/service_stub.rb +204 -0
  130. data/lib/google/cloud/discovery_engine/v1beta/user_store_service/rest.rb +52 -0
  131. data/lib/google/cloud/discovery_engine/v1beta/user_store_service.rb +55 -0
  132. data/lib/google/cloud/discovery_engine/v1beta/version.rb +1 -1
  133. data/lib/google/cloud/discovery_engine/v1beta.rb +11 -4
  134. data/lib/google/cloud/discoveryengine/v1beta/acl_config_pb.rb +25 -0
  135. data/lib/google/cloud/discoveryengine/v1beta/acl_config_service_pb.rb +28 -0
  136. data/lib/google/cloud/discoveryengine/v1beta/acl_config_service_services_pb.rb +49 -0
  137. data/lib/google/cloud/discoveryengine/v1beta/agent_gateway_setting_pb.rb +25 -0
  138. data/lib/google/cloud/discoveryengine/v1beta/answer_pb.rb +6 -1
  139. data/lib/google/cloud/discoveryengine/v1beta/assist_answer_pb.rb +48 -0
  140. data/lib/google/cloud/discoveryengine/v1beta/assistant_pb.rb +35 -0
  141. data/lib/google/cloud/discoveryengine/v1beta/assistant_service_pb.rb +48 -0
  142. data/lib/google/cloud/discoveryengine/v1beta/assistant_service_services_pb.rb +56 -0
  143. data/lib/google/cloud/discoveryengine/v1beta/chunk_pb.rb +4 -1
  144. data/lib/google/cloud/discoveryengine/v1beta/cmek_config_service_pb.rb +39 -0
  145. data/lib/google/cloud/discoveryengine/v1beta/cmek_config_service_services_pb.rb +55 -0
  146. data/lib/google/cloud/discoveryengine/v1beta/common_pb.rb +12 -1
  147. data/lib/google/cloud/discoveryengine/v1beta/completion_service_pb.rb +4 -1
  148. data/lib/google/cloud/discoveryengine/v1beta/completion_service_services_pb.rb +6 -0
  149. data/lib/google/cloud/discoveryengine/v1beta/control_pb.rb +6 -1
  150. data/lib/google/cloud/discoveryengine/v1beta/control_service_pb.rb +1 -1
  151. data/lib/google/cloud/discoveryengine/v1beta/conversational_search_service_pb.rb +12 -1
  152. data/lib/google/cloud/discoveryengine/v1beta/conversational_search_service_services_pb.rb +8 -0
  153. data/lib/google/cloud/discoveryengine/v1beta/data_store_pb.rb +11 -1
  154. data/lib/google/cloud/discoveryengine/v1beta/data_store_service_pb.rb +1 -1
  155. data/lib/google/cloud/discoveryengine/v1beta/document_pb.rb +4 -1
  156. data/lib/google/cloud/discoveryengine/v1beta/document_processing_config_pb.rb +1 -1
  157. data/lib/google/cloud/discoveryengine/v1beta/document_service_pb.rb +1 -1
  158. data/lib/google/cloud/discoveryengine/v1beta/engine_pb.rb +17 -1
  159. data/lib/google/cloud/discoveryengine/v1beta/engine_service_pb.rb +3 -1
  160. data/lib/google/cloud/discoveryengine/v1beta/engine_service_services_pb.rb +28 -6
  161. data/lib/google/cloud/discoveryengine/v1beta/evaluation_pb.rb +1 -1
  162. data/lib/google/cloud/discoveryengine/v1beta/evaluation_service_pb.rb +1 -1
  163. data/lib/google/cloud/discoveryengine/v1beta/feedback_pb.rb +28 -0
  164. data/lib/google/cloud/discoveryengine/v1beta/grounded_generation_service_pb.rb +11 -1
  165. data/lib/google/cloud/discoveryengine/v1beta/grounding_pb.rb +1 -1
  166. data/lib/google/cloud/discoveryengine/v1beta/identity_mapping_store_pb.rb +26 -0
  167. data/lib/google/cloud/discoveryengine/v1beta/identity_mapping_store_service_pb.rb +44 -0
  168. data/lib/google/cloud/discoveryengine/v1beta/identity_mapping_store_service_services_pb.rb +58 -0
  169. data/lib/google/cloud/discoveryengine/v1beta/import_config_pb.rb +1 -1
  170. data/lib/google/cloud/discoveryengine/v1beta/license_config_pb.rb +27 -0
  171. data/lib/google/cloud/discoveryengine/v1beta/license_config_service_pb.rb +36 -0
  172. data/lib/google/cloud/discoveryengine/v1beta/license_config_service_services_pb.rb +65 -0
  173. data/lib/google/cloud/discoveryengine/v1beta/logging_pb.rb +24 -0
  174. data/lib/google/cloud/discoveryengine/v1beta/project_pb.rb +10 -1
  175. data/lib/google/cloud/discoveryengine/v1beta/project_service_pb.rb +2 -1
  176. data/lib/google/cloud/discoveryengine/v1beta/rank_service_pb.rb +1 -1
  177. data/lib/google/cloud/discoveryengine/v1beta/recommendation_service_pb.rb +1 -1
  178. data/lib/google/cloud/discoveryengine/v1beta/safety_pb.rb +26 -0
  179. data/lib/google/cloud/discoveryengine/v1beta/sample_query_service_pb.rb +1 -1
  180. data/lib/google/cloud/discoveryengine/v1beta/sample_query_set_service_pb.rb +1 -1
  181. data/lib/google/cloud/discoveryengine/v1beta/schema_service_pb.rb +1 -1
  182. data/lib/google/cloud/discoveryengine/v1beta/search_service_pb.rb +18 -2
  183. data/lib/google/cloud/discoveryengine/v1beta/search_tuning_service_pb.rb +1 -1
  184. data/lib/google/cloud/discoveryengine/v1beta/serving_config_pb.rb +3 -1
  185. data/lib/google/cloud/discoveryengine/v1beta/serving_config_service_pb.rb +4 -1
  186. data/lib/google/cloud/discoveryengine/v1beta/serving_config_service_services_pb.rb +14 -0
  187. data/lib/google/cloud/discoveryengine/v1beta/session_pb.rb +2 -1
  188. data/lib/google/cloud/discoveryengine/v1beta/session_service_pb.rb +1 -1
  189. data/lib/google/cloud/discoveryengine/v1beta/site_search_engine_pb.rb +1 -1
  190. data/lib/google/cloud/discoveryengine/v1beta/site_search_engine_service_pb.rb +1 -1
  191. data/lib/google/cloud/discoveryengine/v1beta/user_event_pb.rb +2 -1
  192. data/lib/google/cloud/discoveryengine/v1beta/user_event_service_pb.rb +1 -1
  193. data/lib/google/cloud/discoveryengine/v1beta/user_license_pb.rb +27 -0
  194. data/lib/google/cloud/discoveryengine/v1beta/user_license_service_pb.rb +38 -0
  195. data/lib/google/cloud/discoveryengine/v1beta/user_license_service_services_pb.rb +52 -0
  196. data/lib/google/cloud/discoveryengine/v1beta/user_store_pb.rb +24 -0
  197. data/lib/google/cloud/discoveryengine/v1beta/user_store_service_pb.rb +29 -0
  198. data/lib/google/cloud/discoveryengine/v1beta/user_store_service_services_pb.rb +47 -0
  199. data/proto_docs/google/cloud/discoveryengine/v1beta/acl_config.rb +43 -0
  200. data/proto_docs/google/cloud/discoveryengine/v1beta/acl_config_service.rb +49 -0
  201. data/proto_docs/google/cloud/discoveryengine/v1beta/agent_gateway_setting.rb +53 -0
  202. data/proto_docs/google/cloud/discoveryengine/v1beta/answer.rb +117 -2
  203. data/proto_docs/google/cloud/discoveryengine/v1beta/assist_answer.rb +401 -0
  204. data/proto_docs/google/cloud/discoveryengine/v1beta/assistant.rb +253 -0
  205. data/proto_docs/google/cloud/discoveryengine/v1beta/assistant_service.rb +368 -0
  206. data/proto_docs/google/cloud/discoveryengine/v1beta/chunk.rb +60 -1
  207. data/proto_docs/google/cloud/discoveryengine/v1beta/cmek_config_service.rb +228 -0
  208. data/proto_docs/google/cloud/discoveryengine/v1beta/common.rb +223 -0
  209. data/proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb +115 -13
  210. data/proto_docs/google/cloud/discoveryengine/v1beta/control.rb +119 -6
  211. data/proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb +178 -8
  212. data/proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb +218 -9
  213. data/proto_docs/google/cloud/discoveryengine/v1beta/data_store_service.rb +12 -0
  214. data/proto_docs/google/cloud/discoveryengine/v1beta/document.rb +115 -10
  215. data/proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb +30 -0
  216. data/proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb +1 -1
  217. data/proto_docs/google/cloud/discoveryengine/v1beta/engine.rb +388 -8
  218. data/proto_docs/google/cloud/discoveryengine/v1beta/evaluation.rb +2 -2
  219. data/proto_docs/google/cloud/discoveryengine/v1beta/evaluation_service.rb +13 -11
  220. data/proto_docs/google/cloud/discoveryengine/v1beta/feedback.rb +147 -0
  221. data/proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb +190 -9
  222. data/proto_docs/google/cloud/discoveryengine/v1beta/grounding.rb +9 -0
  223. data/proto_docs/google/cloud/discoveryengine/v1beta/identity_mapping_store.rb +84 -0
  224. data/proto_docs/google/cloud/discoveryengine/v1beta/identity_mapping_store_service.rb +280 -0
  225. data/proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb +25 -5
  226. data/proto_docs/google/cloud/discoveryengine/v1beta/license_config.rb +101 -0
  227. data/proto_docs/google/cloud/discoveryengine/v1beta/license_config_service.rb +224 -0
  228. data/proto_docs/google/cloud/discoveryengine/v1beta/logging.rb +40 -0
  229. data/proto_docs/google/cloud/discoveryengine/v1beta/project.rb +214 -0
  230. data/proto_docs/google/cloud/discoveryengine/v1beta/project_service.rb +18 -0
  231. data/proto_docs/google/cloud/discoveryengine/v1beta/purge_config.rb +9 -5
  232. data/proto_docs/google/cloud/discoveryengine/v1beta/rank_service.rb +4 -2
  233. data/proto_docs/google/cloud/discoveryengine/v1beta/recommendation_service.rb +2 -2
  234. data/proto_docs/google/cloud/discoveryengine/v1beta/safety.rb +108 -0
  235. data/proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb +461 -69
  236. data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config.rb +50 -3
  237. data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config_service.rb +30 -0
  238. data/proto_docs/google/cloud/discoveryengine/v1beta/session.rb +21 -0
  239. data/proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine.rb +8 -2
  240. data/proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine_service.rb +7 -3
  241. data/proto_docs/google/cloud/discoveryengine/v1beta/user_event.rb +39 -3
  242. data/proto_docs/google/cloud/discoveryengine/v1beta/user_event_service.rb +14 -6
  243. data/proto_docs/google/cloud/discoveryengine/v1beta/user_license.rb +100 -0
  244. data/proto_docs/google/cloud/discoveryengine/v1beta/user_license_service.rb +202 -0
  245. data/proto_docs/google/cloud/discoveryengine/v1beta/user_store.rb +67 -0
  246. data/proto_docs/google/cloud/discoveryengine/v1beta/user_store_service.rb +54 -0
  247. data/proto_docs/google/iam/v1/iam_policy.rb +87 -0
  248. data/proto_docs/google/iam/v1/options.rb +50 -0
  249. data/proto_docs/google/iam/v1/policy.rb +426 -0
  250. data/proto_docs/google/type/expr.rb +75 -0
  251. data/proto_docs/google/type/latlng.rb +38 -0
  252. metadata +118 -1
@@ -42,7 +42,8 @@ module Google
42
42
  # Output only. Represents the relevance score based on similarity.
43
43
  # Higher score indicates higher chunk relevance.
44
44
  # The score is in range [-1.0, 1.0].
45
- # Only populated on [SearchService.SearchResponse][].
45
+ # Only populated on
46
+ # {::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse SearchResponse}.
46
47
  # @!attribute [rw] document_metadata
47
48
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::Chunk::DocumentMetadata]
48
49
  # Metadata of the document from the current chunk.
@@ -56,6 +57,20 @@ module Google
56
57
  # @!attribute [r] chunk_metadata
57
58
  # @return [::Google::Cloud::DiscoveryEngine::V1beta::Chunk::ChunkMetadata]
58
59
  # Output only. Metadata of the current chunk.
60
+ # @!attribute [r] data_urls
61
+ # @return [::Array<::String>]
62
+ # Output only. Image Data URLs if the current chunk contains images.
63
+ # Data URLs are composed of four parts: a prefix (data:), a MIME type
64
+ # indicating the type of data, an optional base64 token if non-textual,
65
+ # and the data itself:
66
+ # data:[<mediatype>][;base64],<data>
67
+ # @!attribute [r] annotation_contents
68
+ # @return [::Array<::String>]
69
+ # Output only. Annotation contents if the current chunk contains annotations.
70
+ # @!attribute [r] annotation_metadata
71
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::Chunk::AnnotationMetadata>]
72
+ # Output only. The annotation metadata includes structured content in the
73
+ # current chunk.
59
74
  class Chunk
60
75
  include ::Google::Protobuf::MessageExts
61
76
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -68,6 +83,10 @@ module Google
68
83
  # @!attribute [rw] title
69
84
  # @return [::String]
70
85
  # Title of the document.
86
+ # @!attribute [rw] mime_type
87
+ # @return [::String]
88
+ # The mime type of the document.
89
+ # https://www.iana.org/assignments/media-types/media-types.xhtml.
71
90
  # @!attribute [rw] struct_data
72
91
  # @return [::Google::Protobuf::Struct]
73
92
  # Data representation.
@@ -112,6 +131,46 @@ module Google
112
131
  include ::Google::Protobuf::MessageExts
113
132
  extend ::Google::Protobuf::MessageExts::ClassMethods
114
133
  end
134
+
135
+ # The structured content information.
136
+ # @!attribute [r] structure_type
137
+ # @return [::Google::Cloud::DiscoveryEngine::V1beta::Chunk::StructureType]
138
+ # Output only. The structure type of the structured content.
139
+ # @!attribute [r] content
140
+ # @return [::String]
141
+ # Output only. The content of the structured content.
142
+ class StructuredContent
143
+ include ::Google::Protobuf::MessageExts
144
+ extend ::Google::Protobuf::MessageExts::ClassMethods
145
+ end
146
+
147
+ # The annotation metadata includes structured content in the current chunk.
148
+ # @!attribute [r] structured_content
149
+ # @return [::Google::Cloud::DiscoveryEngine::V1beta::Chunk::StructuredContent]
150
+ # Output only. The structured content information.
151
+ # @!attribute [r] image_id
152
+ # @return [::String]
153
+ # Output only. Image id is provided if the structured content is based on
154
+ # an image.
155
+ class AnnotationMetadata
156
+ include ::Google::Protobuf::MessageExts
157
+ extend ::Google::Protobuf::MessageExts::ClassMethods
158
+ end
159
+
160
+ # Defines the types of the structured content that can be extracted.
161
+ module StructureType
162
+ # Default value.
163
+ STRUCTURE_TYPE_UNSPECIFIED = 0
164
+
165
+ # Shareholder structure.
166
+ SHAREHOLDER_STRUCTURE = 1
167
+
168
+ # Signature structure.
169
+ SIGNATURE_STRUCTURE = 2
170
+
171
+ # Checkbox structure.
172
+ CHECKBOX_STRUCTURE = 3
173
+ end
115
174
  end
116
175
  end
117
176
  end
@@ -0,0 +1,228 @@
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 V1beta
24
+ # Request message for UpdateCmekConfig method.
25
+ # rpc.
26
+ # @!attribute [rw] config
27
+ # @return [::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig]
28
+ # Required. The CmekConfig resource.
29
+ # @!attribute [rw] set_default
30
+ # @return [::Boolean]
31
+ # Set the following CmekConfig as the default to be used for child
32
+ # resources if one is not specified.
33
+ class UpdateCmekConfigRequest
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+ end
37
+
38
+ # Request message for GetCmekConfigRequest method.
39
+ # @!attribute [rw] name
40
+ # @return [::String]
41
+ # Required. Resource name of
42
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig CmekConfig}, such as
43
+ # `projects/*/locations/*/cmekConfig` or
44
+ # `projects/*/locations/*/cmekConfigs/*`.
45
+ #
46
+ # If the caller does not have permission to access the
47
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig CmekConfig}, regardless of
48
+ # whether or not it exists, a PERMISSION_DENIED error is returned.
49
+ class GetCmekConfigRequest
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+ end
53
+
54
+ # Metadata for single-regional CMEKs.
55
+ # @!attribute [rw] kms_key
56
+ # @return [::String]
57
+ # Required. Single-regional kms key resource name which will be used to
58
+ # encrypt resources
59
+ # `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
60
+ class SingleRegionKey
61
+ include ::Google::Protobuf::MessageExts
62
+ extend ::Google::Protobuf::MessageExts::ClassMethods
63
+ end
64
+
65
+ # Configurations used to enable CMEK data encryption with Cloud KMS keys.
66
+ # @!attribute [rw] name
67
+ # @return [::String]
68
+ # Required. The name of the CmekConfig of the form
69
+ # `projects/{project}/locations/{location}/cmekConfig` or
70
+ # `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
71
+ # @!attribute [rw] kms_key
72
+ # @return [::String]
73
+ # Required. KMS key resource name which will be used to encrypt resources
74
+ # `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
75
+ # @!attribute [r] kms_key_version
76
+ # @return [::String]
77
+ # Output only. KMS key version resource name which will be used to encrypt
78
+ # resources
79
+ # `<kms_key>/cryptoKeyVersions/{keyVersion}`.
80
+ # @!attribute [r] state
81
+ # @return [::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig::State]
82
+ # Output only. The states of the CmekConfig.
83
+ # @!attribute [r] is_default
84
+ # @return [::Boolean]
85
+ # Output only. The default CmekConfig for the Customer.
86
+ # @!attribute [r] last_rotation_timestamp_micros
87
+ # @return [::Integer]
88
+ # Output only. The timestamp of the last key rotation.
89
+ # @!attribute [rw] single_region_keys
90
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SingleRegionKey>]
91
+ # Optional. Single-regional CMEKs that are required for some VAIS features.
92
+ # @!attribute [r] notebooklm_state
93
+ # @return [::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig::NotebookLMState]
94
+ # Output only. Whether the NotebookLM Corpus is ready to be used.
95
+ class CmekConfig
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+
99
+ # States of the CmekConfig.
100
+ module State
101
+ # The CmekConfig state is unknown.
102
+ STATE_UNSPECIFIED = 0
103
+
104
+ # The CmekConfig is creating.
105
+ CREATING = 1
106
+
107
+ # The CmekConfig can be used with DataStores.
108
+ ACTIVE = 2
109
+
110
+ # The CmekConfig is unavailable, most likely due to the KMS Key being
111
+ # revoked.
112
+ KEY_ISSUE = 3
113
+
114
+ # The CmekConfig is deleting.
115
+ DELETING = 4
116
+
117
+ # The CmekConfig deletion process failed.
118
+ DELETE_FAILED = 7
119
+
120
+ # The CmekConfig is not usable, most likely due to some internal issue.
121
+ UNUSABLE = 5
122
+
123
+ # The KMS key version is being rotated.
124
+ ACTIVE_ROTATING = 6
125
+
126
+ # The KMS key is soft deleted. Some cleanup policy will eventually be
127
+ # applied.
128
+ DELETED = 8
129
+
130
+ # The KMS key is expired, meaning the key has been disabled for 30+ days.
131
+ # The customer can call DeleteCmekConfig to change the state to DELETED.
132
+ EXPIRED = 9
133
+ end
134
+
135
+ # States of NotebookLM.
136
+ module NotebookLMState
137
+ # The NotebookLM state is unknown.
138
+ NOTEBOOK_LM_STATE_UNSPECIFIED = 0
139
+
140
+ # The NotebookLM is not ready.
141
+ NOTEBOOK_LM_NOT_READY = 1
142
+
143
+ # The NotebookLM is ready to be used.
144
+ NOTEBOOK_LM_READY = 2
145
+
146
+ # The NotebookLM is not enabled.
147
+ NOTEBOOK_LM_NOT_ENABLED = 3
148
+ end
149
+ end
150
+
151
+ # Metadata related to the progress of the
152
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfigService::Client#update_cmek_config CmekConfigService.UpdateCmekConfig}
153
+ # operation. This will be returned by the google.longrunning.Operation.metadata
154
+ # field.
155
+ # @!attribute [rw] create_time
156
+ # @return [::Google::Protobuf::Timestamp]
157
+ # Operation create time.
158
+ # @!attribute [rw] update_time
159
+ # @return [::Google::Protobuf::Timestamp]
160
+ # Operation last update time. If the operation is done, this is also the
161
+ # finish time.
162
+ class UpdateCmekConfigMetadata
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Request message for
168
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfigService::Client#list_cmek_configs CmekConfigService.ListCmekConfigs}
169
+ # method.
170
+ # @!attribute [rw] parent
171
+ # @return [::String]
172
+ # Required. The parent location resource name, such as
173
+ # `projects/{project}/locations/{location}`.
174
+ #
175
+ # If the caller does not have permission to list
176
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig CmekConfig}s under this
177
+ # location, regardless of whether or not a CmekConfig exists, a
178
+ # PERMISSION_DENIED error is returned.
179
+ class ListCmekConfigsRequest
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # Response message for
185
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfigService::Client#list_cmek_configs CmekConfigService.ListCmekConfigs}
186
+ # method.
187
+ # @!attribute [rw] cmek_configs
188
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig>]
189
+ # All the customer's
190
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig CmekConfig}s.
191
+ class ListCmekConfigsResponse
192
+ include ::Google::Protobuf::MessageExts
193
+ extend ::Google::Protobuf::MessageExts::ClassMethods
194
+ end
195
+
196
+ # Request message for
197
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfigService::Client#delete_cmek_config CmekConfigService.DeleteCmekConfig}
198
+ # method.
199
+ # @!attribute [rw] name
200
+ # @return [::String]
201
+ # Required. The resource name of the
202
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig CmekConfig} to delete,
203
+ # such as
204
+ # `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
205
+ class DeleteCmekConfigRequest
206
+ include ::Google::Protobuf::MessageExts
207
+ extend ::Google::Protobuf::MessageExts::ClassMethods
208
+ end
209
+
210
+ # Metadata related to the progress of the
211
+ # {::Google::Cloud::DiscoveryEngine::V1beta::CmekConfigService::Client#delete_cmek_config CmekConfigService.DeleteCmekConfig}
212
+ # operation. This will be returned by the google.longrunning.Operation.metadata
213
+ # field.
214
+ # @!attribute [rw] create_time
215
+ # @return [::Google::Protobuf::Timestamp]
216
+ # Operation create time.
217
+ # @!attribute [rw] update_time
218
+ # @return [::Google::Protobuf::Timestamp]
219
+ # Operation last update time. If the operation is done, this is also the
220
+ # finish time.
221
+ class DeleteCmekConfigMetadata
222
+ include ::Google::Protobuf::MessageExts
223
+ extend ::Google::Protobuf::MessageExts::ClassMethods
224
+ end
225
+ end
226
+ end
227
+ end
228
+ end
@@ -91,6 +91,10 @@ module Google
91
91
  #
92
92
  # The field must be a UTF-8 encoded string with a length limit of 128
93
93
  # characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
94
+ #
95
+ # Represents an opaque ID to the Search API. The Search API doesn't
96
+ # interpret the value in any way. This field is used to associate events
97
+ # with a user across sessions if the events are being uploaded.
94
98
  # @!attribute [rw] user_agent
95
99
  # @return [::String]
96
100
  # User agent as included in the HTTP header.
@@ -104,9 +108,35 @@ module Google
104
108
  # or if
105
109
  # {::Google::Cloud::DiscoveryEngine::V1beta::UserEvent#direct_user_request UserEvent.direct_user_request}
106
110
  # is set.
111
+ # @!attribute [rw] time_zone
112
+ # @return [::String]
113
+ # Optional. IANA time zone, e.g. Europe/Budapest.
114
+ # @!attribute [rw] precise_location
115
+ # @return [::Google::Cloud::DiscoveryEngine::V1beta::UserInfo::PreciseLocation]
116
+ # Optional. Input only. Precise location of the user.
117
+ # It is used in Custom Ranking to calculate the distance between the user and
118
+ # the relevant documents.
107
119
  class UserInfo
108
120
  include ::Google::Protobuf::MessageExts
109
121
  extend ::Google::Protobuf::MessageExts::ClassMethods
122
+
123
+ # Precise location info with multiple representation options.
124
+ # Currently only latitude and longitude point is supported.
125
+ # @!attribute [rw] point
126
+ # @return [::Google::Type::LatLng]
127
+ # Optional. Location represented by a latitude/longitude point.
128
+ #
129
+ # Note: The following fields are mutually exclusive: `point`, `address`. If a field in that set is populated, all other fields in the set will automatically be cleared.
130
+ # @!attribute [rw] address
131
+ # @return [::String]
132
+ # Optional. Location represented by a natural language address. Will
133
+ # later be geocoded and converted to either a point or a polygon.
134
+ #
135
+ # Note: The following fields are mutually exclusive: `address`, `point`. If a field in that set is populated, all other fields in the set will automatically be cleared.
136
+ class PreciseLocation
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
+ end
110
140
  end
111
141
 
112
142
  # Defines embedding config, used for bring your own embeddings feature.
@@ -127,6 +157,131 @@ module Google
127
157
  extend ::Google::Protobuf::MessageExts::ClassMethods
128
158
  end
129
159
 
160
+ # Identity Provider Config.
161
+ # @!attribute [rw] idp_type
162
+ # @return [::Google::Cloud::DiscoveryEngine::V1beta::IdpConfig::IdpType]
163
+ # Identity provider type configured.
164
+ # @!attribute [rw] external_idp_config
165
+ # @return [::Google::Cloud::DiscoveryEngine::V1beta::IdpConfig::ExternalIdpConfig]
166
+ # External Identity provider config.
167
+ class IdpConfig
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+
171
+ # Third party IDP Config.
172
+ # @!attribute [rw] workforce_pool_name
173
+ # @return [::String]
174
+ # Workforce pool name.
175
+ # Example: "locations/global/workforcePools/pool_id"
176
+ class ExternalIdpConfig
177
+ include ::Google::Protobuf::MessageExts
178
+ extend ::Google::Protobuf::MessageExts::ClassMethods
179
+ end
180
+
181
+ # Identity Provider Type.
182
+ module IdpType
183
+ # Default value. ACL search not enabled.
184
+ IDP_TYPE_UNSPECIFIED = 0
185
+
186
+ # Google 1P provider.
187
+ GSUITE = 1
188
+
189
+ # Third party provider.
190
+ THIRD_PARTY = 2
191
+ end
192
+ end
193
+
194
+ # Principal identifier of a user or a group.
195
+ # @!attribute [rw] user_id
196
+ # @return [::String]
197
+ # User identifier.
198
+ # For Google Workspace user account, user_id should be the google workspace
199
+ # user email.
200
+ # For non-google identity provider user account, user_id is the mapped user
201
+ # identifier configured during the workforcepool config.
202
+ #
203
+ # Note: The following fields are mutually exclusive: `user_id`, `group_id`, `external_entity_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
204
+ # @!attribute [rw] group_id
205
+ # @return [::String]
206
+ # Group identifier.
207
+ # For Google Workspace user account, group_id should be the google
208
+ # workspace group email.
209
+ # For non-google identity provider user account, group_id is the mapped
210
+ # group identifier configured during the workforcepool config.
211
+ #
212
+ # Note: The following fields are mutually exclusive: `group_id`, `user_id`, `external_entity_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
213
+ # @!attribute [rw] external_entity_id
214
+ # @return [::String]
215
+ # For 3P application identities which are not present in the customer
216
+ # identity provider.
217
+ #
218
+ # Note: The following fields are mutually exclusive: `external_entity_id`, `user_id`, `group_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
219
+ class Principal
220
+ include ::Google::Protobuf::MessageExts
221
+ extend ::Google::Protobuf::MessageExts::ClassMethods
222
+ end
223
+
224
+ # Config to data store for `HEALTHCARE_FHIR` vertical.
225
+ # @!attribute [rw] enable_configurable_schema
226
+ # @return [::Boolean]
227
+ # Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical.
228
+ #
229
+ # If set to `true`, the predefined healthcare fhir schema can be extended
230
+ # for more customized searching and filtering.
231
+ # @!attribute [rw] enable_static_indexing_for_batch_ingestion
232
+ # @return [::Boolean]
233
+ # Whether to enable static indexing for `HEALTHCARE_FHIR` batch
234
+ # ingestion.
235
+ #
236
+ # If set to `true`, the batch ingestion will be processed in a static
237
+ # indexing mode which is slower but more capable of handling larger
238
+ # volume.
239
+ # @!attribute [rw] initial_filter_groups
240
+ # @return [::Array<::String>]
241
+ # Optional. Names of the Group resources to use as a basis for the initial
242
+ # patient filter, in format
243
+ # `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`.
244
+ # The filter group must be a FHIR resource name of
245
+ # type Group, and the filter will be constructed from the direct members of
246
+ # the group which are Patient resources.
247
+ class HealthcareFhirConfig
248
+ include ::Google::Protobuf::MessageExts
249
+ extend ::Google::Protobuf::MessageExts::ClassMethods
250
+ end
251
+
252
+ # Promotion proto includes uri and other helping information to display the
253
+ # promotion.
254
+ # @!attribute [rw] title
255
+ # @return [::String]
256
+ # Required. The title of the promotion.
257
+ # Maximum length: 160 characters.
258
+ # @!attribute [rw] uri
259
+ # @return [::String]
260
+ # Optional. The URL for the page the user wants to promote. Must be set for
261
+ # site search. For other verticals, this is optional.
262
+ # @!attribute [rw] document
263
+ # @return [::String]
264
+ # Optional. The {::Google::Cloud::DiscoveryEngine::V1beta::Document Document} the
265
+ # user wants to promote. For site search, leave unset and only populate uri.
266
+ # Can be set along with uri.
267
+ # @!attribute [rw] image_uri
268
+ # @return [::String]
269
+ # Optional. The promotion thumbnail image url.
270
+ # @!attribute [rw] description
271
+ # @return [::String]
272
+ # Optional. The Promotion description.
273
+ # Maximum length: 200 characters.
274
+ # @!attribute [rw] enabled
275
+ # @return [::Boolean]
276
+ # Optional. The enabled promotion will be returned for any serving configs
277
+ # associated with the parent of the control this promotion is attached to.
278
+ #
279
+ # This flag is used for basic site search only.
280
+ class SearchLinkPromotion
281
+ include ::Google::Protobuf::MessageExts
282
+ extend ::Google::Protobuf::MessageExts::ClassMethods
283
+ end
284
+
130
285
  # The industry vertical associated with the
131
286
  # {::Google::Cloud::DiscoveryEngine::V1beta::DataStore DataStore}.
132
287
  module IndustryVertical
@@ -162,6 +317,9 @@ module Google
162
317
  # It's used for Generative chat engine only, the associated data stores
163
318
  # must enrolled with `SOLUTION_TYPE_CHAT` solution.
164
319
  SOLUTION_TYPE_GENERATIVE_CHAT = 4
320
+
321
+ # Used for AI Mode.
322
+ SOLUTION_TYPE_AI_MODE = 5
165
323
  end
166
324
 
167
325
  # Defines a further subdivision of `SolutionType`.
@@ -201,6 +359,71 @@ module Google
201
359
  # Large language model add-on.
202
360
  SEARCH_ADD_ON_LLM = 1
203
361
  end
362
+
363
+ # Subscription tier information.
364
+ module SubscriptionTier
365
+ # Default value.
366
+ SUBSCRIPTION_TIER_UNSPECIFIED = 0
367
+
368
+ # Search tier.
369
+ # Search tier can access Vertex AI Search features and NotebookLM features.
370
+ SUBSCRIPTION_TIER_SEARCH = 1
371
+
372
+ # Gemini Enterprise Plus tier.
373
+ SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT = 2
374
+
375
+ # NotebookLM tier.
376
+ # NotebookLM is a subscription tier can only access NotebookLM features.
377
+ SUBSCRIPTION_TIER_NOTEBOOK_LM = 3
378
+
379
+ # Gemini Frontline worker tier.
380
+ SUBSCRIPTION_TIER_FRONTLINE_WORKER = 4
381
+
382
+ # Gemini Business Starter tier.
383
+ SUBSCRIPTION_TIER_AGENTSPACE_STARTER = 10
384
+
385
+ # Gemini Business tier.
386
+ SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS = 6
387
+
388
+ # Gemini Enterprise Standard tier.
389
+ SUBSCRIPTION_TIER_ENTERPRISE = 7
390
+
391
+ # Gemini Enterprise Standard tier for emerging markets.
392
+ SUBSCRIPTION_TIER_ENTERPRISE_EMERGING = 15
393
+
394
+ # Gemini Enterprise EDU tier.
395
+ SUBSCRIPTION_TIER_EDU = 8
396
+
397
+ # Gemini Enterprise EDU Pro tier.
398
+ SUBSCRIPTION_TIER_EDU_PRO = 9
399
+
400
+ # Gemini Enterprise EDU tier for emerging market only.
401
+ SUBSCRIPTION_TIER_EDU_EMERGING = 11
402
+
403
+ # Gemini Enterprise EDU Pro tier for emerging market.
404
+ SUBSCRIPTION_TIER_EDU_PRO_EMERGING = 12
405
+
406
+ # Gemini Frontline Starter tier.
407
+ SUBSCRIPTION_TIER_FRONTLINE_STARTER = 13
408
+ end
409
+
410
+ # Subscription term.
411
+ module SubscriptionTerm
412
+ # Default value, do not use.
413
+ SUBSCRIPTION_TERM_UNSPECIFIED = 0
414
+
415
+ # 1 month.
416
+ SUBSCRIPTION_TERM_ONE_MONTH = 1
417
+
418
+ # 1 year.
419
+ SUBSCRIPTION_TERM_ONE_YEAR = 2
420
+
421
+ # 3 years.
422
+ SUBSCRIPTION_TERM_THREE_YEARS = 3
423
+
424
+ # Custom term. Must set the end_date.
425
+ SUBSCRIPTION_TERM_CUSTOM = 6
426
+ end
204
427
  end
205
428
  end
206
429
  end