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,107 @@
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
+ # Information about users' licenses.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Immutable. Identifier. The fully qualified resource name of the license
28
+ # config. Format:
29
+ # `projects/{project}/locations/{location}/licenseConfigs/{license_config}`
30
+ # @!attribute [rw] license_count
31
+ # @return [::Integer]
32
+ # Required. Number of licenses purchased.
33
+ # @!attribute [rw] subscription_tier
34
+ # @return [::Google::Cloud::DiscoveryEngine::V1::SubscriptionTier]
35
+ # Required. Subscription tier information for the license config.
36
+ # @!attribute [r] state
37
+ # @return [::Google::Cloud::DiscoveryEngine::V1::LicenseConfig::State]
38
+ # Output only. The state of the license config.
39
+ # @!attribute [rw] auto_renew
40
+ # @return [::Boolean]
41
+ # Optional. Whether the license config should be auto renewed when it reaches
42
+ # the end date.
43
+ # @!attribute [rw] start_date
44
+ # @return [::Google::Type::Date]
45
+ # Required. The start date.
46
+ # @!attribute [rw] end_date
47
+ # @return [::Google::Type::Date]
48
+ # Optional. The planed end date.
49
+ # @!attribute [rw] subscription_term
50
+ # @return [::Google::Cloud::DiscoveryEngine::V1::SubscriptionTerm]
51
+ # Required. Subscription term.
52
+ # @!attribute [rw] free_trial
53
+ # @return [::Boolean]
54
+ # Optional. Whether the license config is for free trial.
55
+ # @!attribute [r] gemini_bundle
56
+ # @return [::Boolean]
57
+ # Output only. Whether the license config is for Gemini bundle.
58
+ # @!attribute [r] early_terminated
59
+ # @return [::Boolean]
60
+ # Output only. Indication of whether the subscription is terminated earlier
61
+ # than the expiration date.
62
+ # @!attribute [r] early_termination_date
63
+ # @return [::Google::Type::Date]
64
+ # Output only. The date when the subscription is terminated earlier than the
65
+ # expiration date.
66
+ # @!attribute [rw] last_user_update_time
67
+ # @return [::Google::Protobuf::Timestamp]
68
+ # Optional. Timestamp of the most recent user-initiated update (seat count
69
+ # change or subscription term change). Unlike `update_time`, this field is
70
+ # only stamped when a customer explicitly updates the license (e.g. via the
71
+ # UI), and is not touched by system-driven writes (subscription pipeline,
72
+ # BALC propagation, etc.).
73
+ class LicenseConfig
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+
77
+ # License config state enumeration.
78
+ module State
79
+ # Default value. The license config does not exist.
80
+ STATE_UNSPECIFIED = 0
81
+
82
+ # The license config is effective and being used.
83
+ ACTIVE = 1
84
+
85
+ # The license config has expired.
86
+ EXPIRED = 2
87
+
88
+ # The license config has not started yet, and its start date is in the
89
+ # future.
90
+ NOT_STARTED = 3
91
+
92
+ # This is when a sub license config has returned all its seats back to
93
+ # BillingAccountLicenseConfig that it belongs to.
94
+ # Similar to EXPIRED.
95
+ WITHDRAWN = 4
96
+
97
+ # The license config is in a grace period. Its subscription has ended,
98
+ # either through early termination or by reaching its end date, but the
99
+ # customer keeps access for a limited time. It becomes EXPIRED when the
100
+ # grace period ends.
101
+ DEACTIVATING = 5
102
+ end
103
+ end
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,220 @@
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
+ # Request message for
25
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#create_license_config LicenseConfigService.CreateLicenseConfig}
26
+ # method.
27
+ # @!attribute [rw] parent
28
+ # @return [::String]
29
+ # Required. The parent resource name, such as
30
+ # `projects/{project}/locations/{location}`.
31
+ # @!attribute [rw] license_config
32
+ # @return [::Google::Cloud::DiscoveryEngine::V1::LicenseConfig]
33
+ # Required. The
34
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig} to create.
35
+ # @!attribute [rw] license_config_id
36
+ # @return [::String]
37
+ # Optional. The ID to use for the
38
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig}, which will
39
+ # become the final component of the
40
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig}'s resource
41
+ # name. We are using the tier (product edition) name as the license config id
42
+ # such as `search` or `search_and_assistant`.
43
+ class CreateLicenseConfigRequest
44
+ include ::Google::Protobuf::MessageExts
45
+ extend ::Google::Protobuf::MessageExts::ClassMethods
46
+ end
47
+
48
+ # Request message for
49
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#update_license_config LicenseConfigService.UpdateLicenseConfig}
50
+ # method.
51
+ # @!attribute [rw] license_config
52
+ # @return [::Google::Cloud::DiscoveryEngine::V1::LicenseConfig]
53
+ # Required. The
54
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig} to update.
55
+ # @!attribute [rw] update_mask
56
+ # @return [::Google::Protobuf::FieldMask]
57
+ # Optional. Indicates which fields in the provided
58
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig} to update.
59
+ #
60
+ # If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
61
+ # is returned.
62
+ class UpdateLicenseConfigRequest
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # Request message for
68
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#get_license_config LicenseConfigService.GetLicenseConfig}
69
+ # method.
70
+ # @!attribute [rw] name
71
+ # @return [::String]
72
+ # Required. Full resource name of
73
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig}, such as
74
+ # `projects/{project}/locations/{location}/licenseConfigs/*`.
75
+ #
76
+ # If the caller does not have permission to access the
77
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig}, regardless
78
+ # of whether or not it exists, a PERMISSION_DENIED error is returned.
79
+ #
80
+ # If the requested
81
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig} does not
82
+ # exist, a NOT_FOUND error is returned.
83
+ class GetLicenseConfigRequest
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+
88
+ # Request message for
89
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#list_license_configs LicenseConfigService.ListLicenseConfigs}
90
+ # method.
91
+ # @!attribute [rw] parent
92
+ # @return [::String]
93
+ # Required. The parent branch resource name, such as
94
+ # `projects/{project}/locations/{location}`.
95
+ # @!attribute [rw] page_size
96
+ # @return [::Integer]
97
+ # Optional. Not supported.
98
+ # @!attribute [rw] page_token
99
+ # @return [::String]
100
+ # Optional. Not supported.
101
+ # @!attribute [rw] filter
102
+ # @return [::String]
103
+ # Optional. The filter to apply to the list results.
104
+ #
105
+ # The supported fields are:
106
+ #
107
+ # * `subscription_tier`
108
+ # * `state`
109
+ #
110
+ # Examples:
111
+ #
112
+ # * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all
113
+ # active search license configs.
114
+ # * `state=ACTIVE` - Lists all active license configs.
115
+ #
116
+ # The filter string should be a comma-separated list of field=value pairs.
117
+ class ListLicenseConfigsRequest
118
+ include ::Google::Protobuf::MessageExts
119
+ extend ::Google::Protobuf::MessageExts::ClassMethods
120
+ end
121
+
122
+ # Response message for
123
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#list_license_configs LicenseConfigService.ListLicenseConfigs}
124
+ # method.
125
+ # @!attribute [rw] license_configs
126
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::LicenseConfig>]
127
+ # All the customer's
128
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig}s.
129
+ # @!attribute [rw] next_page_token
130
+ # @return [::String]
131
+ # Not supported.
132
+ class ListLicenseConfigsResponse
133
+ include ::Google::Protobuf::MessageExts
134
+ extend ::Google::Protobuf::MessageExts::ClassMethods
135
+ end
136
+
137
+ # Request message for
138
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#distribute_license_config LicenseConfigService.DistributeLicenseConfig}
139
+ # method.
140
+ # @!attribute [rw] billing_account_license_config
141
+ # @return [::String]
142
+ # Required. Full resource name of [BillingAccountLicenseConfig][].
143
+ #
144
+ # Format:
145
+ # `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.
146
+ # @!attribute [rw] project_number
147
+ # @return [::Integer]
148
+ # Required. The target GCP project number to distribute the license config
149
+ # to.
150
+ # @!attribute [rw] location
151
+ # @return [::String]
152
+ # Required. The target GCP project region to distribute the license config
153
+ # to.
154
+ # @!attribute [rw] license_count
155
+ # @return [::Integer]
156
+ # Required. The number of licenses to distribute.
157
+ # @!attribute [rw] license_config_id
158
+ # @return [::String]
159
+ # Optional. Distribute seats to this license config instead of creating a new
160
+ # one. If not specified, a new license config will be created from the
161
+ # billing account license config.
162
+ class DistributeLicenseConfigRequest
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Response message for
168
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#distribute_license_config LicenseConfigService.DistributeLicenseConfig}
169
+ # method.
170
+ # @!attribute [rw] license_config
171
+ # @return [::Google::Cloud::DiscoveryEngine::V1::LicenseConfig]
172
+ # The updated or created LicenseConfig.
173
+ class DistributeLicenseConfigResponse
174
+ include ::Google::Protobuf::MessageExts
175
+ extend ::Google::Protobuf::MessageExts::ClassMethods
176
+ end
177
+
178
+ # Request message for
179
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#retract_license_config LicenseConfigService.RetractLicenseConfig}
180
+ # method.
181
+ # @!attribute [rw] billing_account_license_config
182
+ # @return [::String]
183
+ # Required. Full resource name of [BillingAccountLicenseConfig][].
184
+ #
185
+ # Format:
186
+ # `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.
187
+ # @!attribute [rw] license_config
188
+ # @return [::String]
189
+ # Required. Full resource name of
190
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfig LicenseConfig}.
191
+ #
192
+ # Format:
193
+ # `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.
194
+ # @!attribute [rw] full_retract
195
+ # @return [::Boolean]
196
+ # Optional. If set to true, retract the entire license config. Otherwise,
197
+ # retract the specified license count.
198
+ # @!attribute [rw] license_count
199
+ # @return [::Integer]
200
+ # Optional. The number of licenses to retract. Only used when full_retract is
201
+ # false.
202
+ class RetractLicenseConfigRequest
203
+ include ::Google::Protobuf::MessageExts
204
+ extend ::Google::Protobuf::MessageExts::ClassMethods
205
+ end
206
+
207
+ # Response message for
208
+ # {::Google::Cloud::DiscoveryEngine::V1::LicenseConfigService::Client#retract_license_config LicenseConfigService.RetractLicenseConfig}
209
+ # method.
210
+ # @!attribute [rw] license_config
211
+ # @return [::Google::Cloud::DiscoveryEngine::V1::LicenseConfig]
212
+ # The updated LicenseConfig.
213
+ class RetractLicenseConfigResponse
214
+ include ::Google::Protobuf::MessageExts
215
+ extend ::Google::Protobuf::MessageExts::ClassMethods
216
+ end
217
+ end
218
+ end
219
+ end
220
+ end
@@ -0,0 +1,40 @@
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
+ # Observability config for a resource.
25
+ # @!attribute [rw] observability_enabled
26
+ # @return [::Boolean]
27
+ # Optional. Enables observability. If `false`, all other flags are ignored.
28
+ # @!attribute [rw] sensitive_logging_enabled
29
+ # @return [::Boolean]
30
+ # Optional. Enables sensitive logging. Sensitive logging includes customer
31
+ # core content (e.g. prompts, responses). If `false`, will sanitize all
32
+ # sensitive fields.
33
+ class ObservabilityConfig
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -40,6 +40,12 @@ module Google
40
40
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Project::ServiceTerms}]
41
41
  # Output only. A map of terms of services. The key is the `id` of
42
42
  # {::Google::Cloud::DiscoveryEngine::V1::Project::ServiceTerms ServiceTerms}.
43
+ # @!attribute [rw] customer_provided_config
44
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::CustomerProvidedConfig]
45
+ # Optional. Customer provided configurations.
46
+ # @!attribute [r] configurable_billing_status
47
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::ConfigurableBillingStatus]
48
+ # Output only. The current status of the project's configurable billing.
43
49
  class Project
44
50
  include ::Google::Protobuf::MessageExts
45
51
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -91,6 +97,229 @@ module Google
91
97
  end
92
98
  end
93
99
 
100
+ # Customer provided configurations.
101
+ # @!attribute [rw] notebooklm_config
102
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::CustomerProvidedConfig::NotebooklmConfig]
103
+ # Optional. Configuration for NotebookLM settings.
104
+ # @!attribute [rw] resource_access_control_config
105
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::CustomerProvidedConfig::ResourceAccessControlConfig]
106
+ # Optional. Resource-level access control config for Gemini Enterprise
107
+ # users.
108
+ class CustomerProvidedConfig
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+
112
+ # Configuration for NotebookLM.
113
+ # @!attribute [rw] model_armor_config
114
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::CustomerProvidedConfig::NotebooklmConfig::ModelArmorConfig]
115
+ # Model Armor configuration to be used for sanitizing user prompts and
116
+ # LLM responses.
117
+ # @!attribute [rw] opt_out_notebook_sharing
118
+ # @return [::Boolean]
119
+ # Optional. Whether to disable the notebook sharing feature for the
120
+ # project. Default to false if not specified.
121
+ # @!attribute [rw] data_protection_policy
122
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy]
123
+ # Optional. Specifies the data protection policy for NotebookLM.
124
+ # @!attribute [rw] observability_config
125
+ # @return [::Google::Cloud::DiscoveryEngine::V1::ObservabilityConfig]
126
+ # Optional. Observability config for NotebookLM.
127
+ class NotebooklmConfig
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+
131
+ # Configuration for customer defined Model Armor templates to be used for
132
+ # sanitizing user prompts and LLM responses.
133
+ # @!attribute [rw] user_prompt_template
134
+ # @return [::String]
135
+ # Optional. The resource name of the Model Armor Template for
136
+ # sanitizing user prompts. Format:
137
+ # projects/\\{project}/locations/\\{location}/templates/\\{template_id}
138
+ # If not specified, no sanitization will be applied to the user prompt.
139
+ # @!attribute [rw] response_template
140
+ # @return [::String]
141
+ # Optional. The resource name of the Model Armor Template for
142
+ # sanitizing LLM responses. Format:
143
+ # projects/\\{project}/locations/\\{location}/templates/\\{template_id}
144
+ # If not specified, no sanitization will be applied to the LLM
145
+ # response.
146
+ class ModelArmorConfig
147
+ include ::Google::Protobuf::MessageExts
148
+ extend ::Google::Protobuf::MessageExts::ClassMethods
149
+ end
150
+
151
+ # Data protection policy config for NotebookLM.
152
+ # @!attribute [rw] sensitive_data_protection_policy
153
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy::SensitiveDataProtectionPolicy]
154
+ # Optional. The sensitive data protection policy.
155
+ class DataProtectionPolicy
156
+ include ::Google::Protobuf::MessageExts
157
+ extend ::Google::Protobuf::MessageExts::ClassMethods
158
+
159
+ # Specifies a Sensitive Data Protection
160
+ # (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview)
161
+ # policy.
162
+ # @!attribute [rw] policy
163
+ # @return [::String]
164
+ # Optional. The Sensitive Data Protection policy resource name.
165
+ class SensitiveDataProtectionPolicy
166
+ include ::Google::Protobuf::MessageExts
167
+ extend ::Google::Protobuf::MessageExts::ClassMethods
168
+ end
169
+ end
170
+ end
171
+
172
+ # Controls resource-level access control for Gemini Enterprise users.
173
+ # @!attribute [rw] data_store_access_control_enabled
174
+ # @return [::Boolean]
175
+ # Optional. If `true`, the data stores and data connectors shown to
176
+ # Gemini Enterprise users are filtered to those the user has the required
177
+ # resource-level `.get` IAM permission on.
178
+ class ResourceAccessControlConfig
179
+ include ::Google::Protobuf::MessageExts
180
+ extend ::Google::Protobuf::MessageExts::ClassMethods
181
+ end
182
+ end
183
+
184
+ # Represents the currently effective configurable billing parameters.
185
+ # These values are derived from the customer's subscription history stored
186
+ # internally and reflect the thresholds actively being used for billing
187
+ # purposes at the time of the GetProject call. This includes the start_time
188
+ # of the subscription and may differ from the values in
189
+ # `customer_provided_config` due to billing rules
190
+ # (e.g., scale-downs taking effect only at the start of a new month).
191
+ # We also include the update type to indicate the type of update performed on
192
+ # the configurable billing configuration in the UpdateProject operation.
193
+ # @!attribute [rw] effective_search_qpm_threshold
194
+ # @return [::Integer]
195
+ # Optional. The currently effective Search QPM threshold in queries per
196
+ # minute. This is the threshold against which QPM usage is compared for
197
+ # overage calculations.
198
+ # @!attribute [rw] effective_indexing_core_threshold
199
+ # @return [::Integer]
200
+ # Optional. The currently effective Indexing Core threshold.
201
+ # This is the threshold against which Indexing Core usage is compared
202
+ # for overage calculations.
203
+ # @!attribute [rw] start_time
204
+ # @return [::Google::Protobuf::Timestamp]
205
+ # Optional. The start time of the currently active billing subscription.
206
+ # @!attribute [r] terminate_time
207
+ # @return [::Google::Protobuf::Timestamp]
208
+ # Output only. The latest terminate effective time of search qpm and
209
+ # indexing core subscriptions.
210
+ # @!attribute [r] search_qpm_threshold_next_update_time
211
+ # @return [::Google::Protobuf::Timestamp]
212
+ # Output only. The earliest next update time for the search QPM
213
+ # subscription threshold. This is based on the next_update_time returned by
214
+ # the underlying Cloud Billing Subscription V3 API. This field is populated
215
+ # only if an update QPM subscription threshold request is succeeded.
216
+ # @!attribute [r] indexing_core_threshold_next_update_time
217
+ # @return [::Google::Protobuf::Timestamp]
218
+ # Output only. The earliest next update time for the indexing core
219
+ # subscription threshold. This is based on the next_update_time returned by
220
+ # the underlying Cloud Billing Subscription V3 API. This field is populated
221
+ # only if an update indexing core subscription threshold
222
+ # request is succeeded.
223
+ # @!attribute [r] update_type
224
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::ConfigurableBillingStatus::UpdateType]
225
+ # Output only. The type of update performed in this operation.
226
+ # This field is populated in the response of UpdateProject.
227
+ # @!attribute [r] agent_search_token_subscription_statuses
228
+ # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::Project::ConfigurableBillingStatus::AgentSearchTokenSubscriptionStatus>]
229
+ # Output only. Per-model Agent Search TPM subscription status.
230
+ class ConfigurableBillingStatus
231
+ include ::Google::Protobuf::MessageExts
232
+ extend ::Google::Protobuf::MessageExts::ClassMethods
233
+
234
+ # Per-model Agent Search TPM subscription status. One entry per active
235
+ # `core_subscription.agent_search_token_subscriptions[*]` entry in the
236
+ # customer-provided config; populated by UpdateProject and GetProject.
237
+ #
238
+ # The lifecycle scalars on this message (`start_time`, `terminate_time`,
239
+ # `update_type`, `tpm_threshold_next_update_time`) are per (project,
240
+ # model_version) — siblings of the whole-relationship `start_time` /
241
+ # `terminate_time` / `update_type` on the enclosing
242
+ # ConfigurableBillingStatus, but scoped to this specific Agent Search
243
+ # TPM subscription instead of to the overall customer-configurable-
244
+ # pricing relationship. This per-instance granularity is intentional:
245
+ # the underlying SubV3 storage is per-(project, model_version), so
246
+ # each model has its own activation, termination, and deferred-update
247
+ # clock; surfacing that on the response gives customers the granularity
248
+ # they need to manage per-model commitments independently. QPM /
249
+ # IndexingCore differ — their storage is one row per (project,
250
+ # location), so their lifecycle is represented only by the whole-
251
+ # relationship scalars on ConfigurableBillingStatus.
252
+ # @!attribute [r] model_version
253
+ # @return [::String]
254
+ # Output only. The Gemini model version this status corresponds to.
255
+ # Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a
256
+ # stable Gemini model version from the Gemini Enterprise Agent Platform
257
+ # model-versions registry; see
258
+ # https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models).
259
+ # @!attribute [r] effective_tpm_threshold
260
+ # @return [::Integer]
261
+ # Output only. The currently effective TPM threshold. Reflects scale-up
262
+ # immediately and scale-down at the next billing cycle, matching
263
+ # `effective_search_qpm_threshold` semantics.
264
+ # @!attribute [r] tpm_threshold_next_update_time
265
+ # @return [::Google::Protobuf::Timestamp]
266
+ # Output only. The earliest next update time for the TPM subscription
267
+ # threshold for this (project, model_version). Populated only after a
268
+ # successful update.
269
+ # @!attribute [r] start_time
270
+ # @return [::Google::Protobuf::Timestamp]
271
+ # Output only. When this (project, model_version) Agent Search TPM
272
+ # subscription was first activated. Set once on first activation of this
273
+ # model version and never moved by subsequent threshold updates; on
274
+ # termination + re-activation a new value is recorded. Does NOT move
275
+ # the whole-relationship `start_time` on the enclosing
276
+ # ConfigurableBillingStatus, which continues to represent the first
277
+ # activation of the overall customer-configurable-pricing
278
+ # relationship.
279
+ # @!attribute [r] terminate_time
280
+ # @return [::Google::Protobuf::Timestamp]
281
+ # Output only. If set, the scheduled effective time at which this
282
+ # (project, model_version) Agent Search TPM subscription will terminate.
283
+ # Populated when the customer removes this entry from
284
+ # `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move
285
+ # the whole-relationship `terminate_time` on the enclosing
286
+ # ConfigurableBillingStatus, which is populated only when the entire
287
+ # customer-configurable-pricing relationship is being torn down.
288
+ # @!attribute [r] update_type
289
+ # @return [::Google::Cloud::DiscoveryEngine::V1::Project::ConfigurableBillingStatus::UpdateType]
290
+ # Output only. The type of the most recent update to this (project,
291
+ # model_version) subscription, as performed by the most recent
292
+ # UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this
293
+ # model_version was not touched by the most recent UpdateProject (its
294
+ # `effective_tpm_threshold` reflects an earlier update). The
295
+ # whole-relationship `update_type` on the enclosing
296
+ # ConfigurableBillingStatus continues to summarize the direction of
297
+ # the most recent update across all surfaces in the project (QPM,
298
+ # IndexingCore, and Agent Search TPM together).
299
+ class AgentSearchTokenSubscriptionStatus
300
+ include ::Google::Protobuf::MessageExts
301
+ extend ::Google::Protobuf::MessageExts::ClassMethods
302
+ end
303
+
304
+ # The type of update performed on the configurable billing configuration.
305
+ module UpdateType
306
+ # Unspecified update type.
307
+ UPDATE_TYPE_UNSPECIFIED = 0
308
+
309
+ # Configurable billing was created/enabled.
310
+ CREATE = 1
311
+
312
+ # Configurable billing was deleted/disabled.
313
+ DELETE = 2
314
+
315
+ # Subscription was scaled up (thresholds increased).
316
+ SCALE_UP = 3
317
+
318
+ # Subscription was scaled down (thresholds decreased).
319
+ SCALE_DOWN = 4
320
+ end
321
+ end
322
+
94
323
  # @!attribute [rw] key
95
324
  # @return [::String]
96
325
  # @!attribute [rw] value
@@ -41,9 +41,27 @@ module Google
41
41
  # and would like to give consent to.
42
42
  #
43
43
  # Acceptable version is `2022-11-23`, and this may change over time.
44
+ # @!attribute [rw] saas_params
45
+ # @return [::Google::Cloud::DiscoveryEngine::V1::ProvisionProjectRequest::SaasParams]
46
+ # Optional. Parameters for Agentspace.
44
47
  class ProvisionProjectRequest
45
48
  include ::Google::Protobuf::MessageExts
46
49
  extend ::Google::Protobuf::MessageExts::ClassMethods
50
+
51
+ # Parameters for Agentspace.
52
+ # @!attribute [rw] accept_biz_qos
53
+ # @return [::Boolean]
54
+ # Optional. Set to `true` to specify that caller has read and would like to
55
+ # give consent to the [Terms for Agent Space quality of service].
56
+ # @!attribute [rw] is_biz
57
+ # @return [::Boolean]
58
+ # Optional. Indicates if the current request is for Biz edition (= true) or
59
+ # not
60
+ # (= false).
61
+ class SaasParams
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
47
65
  end
48
66
 
49
67
  # Metadata associated with a project provision operation.
@@ -261,7 +261,8 @@ module Google
261
261
 
262
262
  # Response message for
263
263
  # {::Google::Cloud::DiscoveryEngine::V1::CompletionService::Client#purge_completion_suggestions CompletionService.PurgeCompletionSuggestions}
264
- # method.
264
+ # method. If the long running operation is successfully done, then this
265
+ # message is returned by the google.longrunning.Operations.response field.
265
266
  # @!attribute [rw] purge_succeeded
266
267
  # @return [::Boolean]
267
268
  # Whether the completion suggestions were successfully purged.
@@ -43,8 +43,8 @@ module Google
43
43
  # @!attribute [rw] score
44
44
  # @return [::Float]
45
45
  # The score of this record based on the given query and selected model.
46
- # The score will be rounded to 2 decimal places. If the score is close to 0,
47
- # it will be rounded to 0.0001 to avoid returning unset.
46
+ # The score will be rounded to 4 decimal places. If the score is close to 0,
47
+ # it will be rounded to 0.00001 to avoid returning unset.
48
48
  class RankingRecord
49
49
  include ::Google::Protobuf::MessageExts
50
50
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -73,7 +73,7 @@ module Google
73
73
  # The query to use.
74
74
  # @!attribute [rw] records
75
75
  # @return [::Array<::Google::Cloud::DiscoveryEngine::V1::RankingRecord>]
76
- # Required. A list of records to rank. At most 200 records to rank.
76
+ # Required. A list of records to rank.
77
77
  # @!attribute [rw] ignore_record_details_in_response
78
78
  # @return [::Boolean]
79
79
  # If true, the response will contain only record ID and score. By default, it