@google-cloud/discoveryengine 1.12.0 → 1.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 (121) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +10 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +49 -5
  4. package/build/protos/google/cloud/discoveryengine/v1/control.proto +6 -4
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +9 -9
  6. package/build/protos/google/cloud/discoveryengine/v1/custom_tuning_model.proto +96 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +10 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/document.proto +20 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +2 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +110 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +2 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +13 -7
  13. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +117 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -1
  15. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +40 -16
  16. package/build/protos/google/cloud/discoveryengine/v1/search_tuning_service.proto +196 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +4 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +21 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +61 -2
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +1 -1
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +31 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +38 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +1 -1
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +28 -9
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +10 -1
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +71 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +11 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +24 -1
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +6 -2
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +108 -1
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +2 -1
  33. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +119 -5
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +58 -1
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +5 -0
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +428 -12
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +14 -5
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +126 -0
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -0
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +3 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +47 -2
  42. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +1 -1
  43. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +3 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +3 -0
  45. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +20 -0
  46. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -0
  47. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +114 -0
  48. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +2 -1
  49. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +13 -7
  50. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +44 -0
  51. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +101 -6
  52. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -0
  53. package/build/protos/protos.d.ts +24137 -16126
  54. package/build/protos/protos.js +78286 -58223
  55. package/build/protos/protos.json +1954 -105
  56. package/build/src/index.d.ts +4 -1
  57. package/build/src/index.js +4 -1
  58. package/build/src/v1/completion_service_client.d.ts +93 -0
  59. package/build/src/v1/completion_service_client.js +134 -0
  60. package/build/src/v1/control_service_client.d.ts +93 -0
  61. package/build/src/v1/control_service_client.js +128 -0
  62. package/build/src/v1/conversational_search_service_client.d.ts +93 -0
  63. package/build/src/v1/conversational_search_service_client.js +128 -0
  64. package/build/src/v1/data_store_service_client.d.ts +102 -0
  65. package/build/src/v1/data_store_service_client.js +134 -0
  66. package/build/src/v1/document_service_client.d.ts +131 -0
  67. package/build/src/v1/document_service_client.js +156 -0
  68. package/build/src/v1/document_service_client_config.json +5 -0
  69. package/build/src/v1/engine_service_client.d.ts +93 -0
  70. package/build/src/v1/engine_service_client.js +134 -0
  71. package/build/src/v1/grounded_generation_service_client.d.ts +93 -0
  72. package/build/src/v1/grounded_generation_service_client.js +128 -0
  73. package/build/src/v1/index.d.ts +1 -0
  74. package/build/src/v1/index.js +3 -1
  75. package/build/src/v1/project_service_client.d.ts +93 -0
  76. package/build/src/v1/project_service_client.js +134 -0
  77. package/build/src/v1/rank_service_client.d.ts +93 -0
  78. package/build/src/v1/rank_service_client.js +128 -0
  79. package/build/src/v1/recommendation_service_client.d.ts +95 -1
  80. package/build/src/v1/recommendation_service_client.js +128 -0
  81. package/build/src/v1/schema_service_client.d.ts +93 -0
  82. package/build/src/v1/schema_service_client.js +134 -0
  83. package/build/src/v1/search_service_client.d.ts +111 -9
  84. package/build/src/v1/search_service_client.js +140 -6
  85. package/build/src/v1/search_tuning_service_client.d.ts +1776 -0
  86. package/build/src/v1/search_tuning_service_client.js +2589 -0
  87. package/build/src/v1/search_tuning_service_client_config.json +34 -0
  88. package/build/src/v1/site_search_engine_service_client.d.ts +93 -0
  89. package/build/src/v1/site_search_engine_service_client.js +134 -0
  90. package/build/src/v1/user_event_service_client.d.ts +168 -0
  91. package/build/src/v1/user_event_service_client.js +176 -0
  92. package/build/src/v1/user_event_service_client_config.json +5 -0
  93. package/build/src/v1alpha/acl_config_service_client.d.ts +1 -1
  94. package/build/src/v1alpha/completion_service_client.d.ts +91 -0
  95. package/build/src/v1alpha/completion_service_client.js +90 -0
  96. package/build/src/v1alpha/completion_service_client_config.json +10 -0
  97. package/build/src/v1alpha/conversational_search_service_client.d.ts +18 -0
  98. package/build/src/v1alpha/data_store_service_client.d.ts +12 -3
  99. package/build/src/v1alpha/data_store_service_client.js +8 -2
  100. package/build/src/v1alpha/document_service_client.d.ts +33 -0
  101. package/build/src/v1alpha/document_service_client.js +28 -0
  102. package/build/src/v1alpha/document_service_client_config.json +5 -0
  103. package/build/src/v1alpha/engine_service_client.js +6 -0
  104. package/build/src/v1alpha/estimate_billing_service_client.js +6 -0
  105. package/build/src/v1alpha/evaluation_service_client.js +6 -0
  106. package/build/src/v1alpha/project_service_client.js +6 -0
  107. package/build/src/v1alpha/sample_query_service_client.js +6 -0
  108. package/build/src/v1alpha/schema_service_client.js +6 -0
  109. package/build/src/v1alpha/search_service_client.d.ts +219 -21
  110. package/build/src/v1alpha/search_service_client.js +146 -14
  111. package/build/src/v1alpha/search_tuning_service_client.js +6 -0
  112. package/build/src/v1alpha/site_search_engine_service_client.d.ts +101 -0
  113. package/build/src/v1alpha/site_search_engine_service_client.js +70 -0
  114. package/build/src/v1alpha/site_search_engine_service_client_config.json +8 -0
  115. package/build/src/v1alpha/user_event_service_client.js +6 -0
  116. package/build/src/v1beta/document_service_client.d.ts +38 -0
  117. package/build/src/v1beta/document_service_client.js +22 -0
  118. package/build/src/v1beta/document_service_client_config.json +5 -0
  119. package/build/src/v1beta/search_service_client.d.ts +36 -9
  120. package/build/src/v1beta/search_service_client.js +24 -6
  121. package/package.json +2 -2
@@ -116,7 +116,8 @@
116
116
  "content": {
117
117
  "oneof": [
118
118
  "unstructuredDocumentInfo",
119
- "chunkInfo"
119
+ "chunkInfo",
120
+ "structuredDocumentInfo"
120
121
  ]
121
122
  }
122
123
  },
@@ -128,6 +129,10 @@
128
129
  "chunkInfo": {
129
130
  "type": "ChunkInfo",
130
131
  "id": 2
132
+ },
133
+ "structuredDocumentInfo": {
134
+ "type": "StructuredDocumentInfo",
135
+ "id": 3
131
136
  }
132
137
  },
133
138
  "nested": {
@@ -160,6 +165,13 @@
160
165
  },
161
166
  "nested": {
162
167
  "ChunkContent": {
168
+ "oneofs": {
169
+ "_relevanceScore": {
170
+ "oneof": [
171
+ "relevanceScore"
172
+ ]
173
+ }
174
+ },
163
175
  "fields": {
164
176
  "content": {
165
177
  "type": "string",
@@ -168,6 +180,13 @@
168
180
  "pageIdentifier": {
169
181
  "type": "string",
170
182
  "id": 2
183
+ },
184
+ "relevanceScore": {
185
+ "type": "float",
186
+ "id": 3,
187
+ "options": {
188
+ "proto3_optional": true
189
+ }
171
190
  }
172
191
  }
173
192
  }
@@ -234,6 +253,21 @@
234
253
  }
235
254
  }
236
255
  }
256
+ },
257
+ "StructuredDocumentInfo": {
258
+ "fields": {
259
+ "document": {
260
+ "type": "string",
261
+ "id": 1,
262
+ "options": {
263
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
264
+ }
265
+ },
266
+ "structData": {
267
+ "type": "google.protobuf.Struct",
268
+ "id": 2
269
+ }
270
+ }
237
271
  }
238
272
  }
239
273
  },
@@ -403,7 +437,8 @@
403
437
  "values": {
404
438
  "TYPE_UNSPECIFIED": 0,
405
439
  "ADVERSARIAL_QUERY": 1,
406
- "NON_ANSWER_SEEKING_QUERY": 2
440
+ "NON_ANSWER_SEEKING_QUERY": 2,
441
+ "JAIL_BREAKING_QUERY": 3
407
442
  }
408
443
  }
409
444
  }
@@ -425,7 +460,9 @@
425
460
  "NON_ANSWER_SEEKING_QUERY_IGNORED": 2,
426
461
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
427
462
  "POTENTIAL_POLICY_VIOLATION": 4,
428
- "NO_RELEVANT_CONTENT": 5
463
+ "NO_RELEVANT_CONTENT": 5,
464
+ "JAIL_BREAKING_QUERY_IGNORED": 6,
465
+ "CUSTOMER_POLICY_VIOLATION": 7
429
466
  }
430
467
  }
431
468
  }
@@ -1114,6 +1151,11 @@
1114
1151
  "gcsStagingDir": {
1115
1152
  "type": "string",
1116
1153
  "id": 2
1154
+ },
1155
+ "resourceTypes": {
1156
+ "rule": "repeated",
1157
+ "type": "string",
1158
+ "id": 3
1117
1159
  }
1118
1160
  }
1119
1161
  },
@@ -1684,6 +1726,13 @@
1684
1726
  "options": {
1685
1727
  "(google.api.field_behavior)": "OUTPUT_ONLY"
1686
1728
  }
1729
+ },
1730
+ "indexStatus": {
1731
+ "type": "IndexStatus",
1732
+ "id": 15,
1733
+ "options": {
1734
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1735
+ }
1687
1736
  }
1688
1737
  },
1689
1738
  "nested": {
@@ -1710,6 +1759,19 @@
1710
1759
  "id": 1
1711
1760
  }
1712
1761
  }
1762
+ },
1763
+ "IndexStatus": {
1764
+ "fields": {
1765
+ "indexTime": {
1766
+ "type": "google.protobuf.Timestamp",
1767
+ "id": 1
1768
+ },
1769
+ "errorSamples": {
1770
+ "rule": "repeated",
1771
+ "type": "google.rpc.Status",
1772
+ "id": 2
1773
+ }
1774
+ }
1713
1775
  }
1714
1776
  }
1715
1777
  },
@@ -1979,6 +2041,13 @@
1979
2041
  "rule": "repeated",
1980
2042
  "type": "string",
1981
2043
  "id": 4
2044
+ },
2045
+ "joined": {
2046
+ "type": "bool",
2047
+ "id": 5,
2048
+ "options": {
2049
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2050
+ }
1982
2051
  }
1983
2052
  }
1984
2053
  },
@@ -2045,8 +2114,90 @@
2045
2114
  }
2046
2115
  }
2047
2116
  },
2117
+ "PurgeUserEventsRequest": {
2118
+ "fields": {
2119
+ "parent": {
2120
+ "type": "string",
2121
+ "id": 1,
2122
+ "options": {
2123
+ "(google.api.field_behavior)": "REQUIRED",
2124
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2125
+ }
2126
+ },
2127
+ "filter": {
2128
+ "type": "string",
2129
+ "id": 2,
2130
+ "options": {
2131
+ "(google.api.field_behavior)": "REQUIRED"
2132
+ }
2133
+ },
2134
+ "force": {
2135
+ "type": "bool",
2136
+ "id": 3
2137
+ }
2138
+ }
2139
+ },
2140
+ "PurgeUserEventsResponse": {
2141
+ "fields": {
2142
+ "purgeCount": {
2143
+ "type": "int64",
2144
+ "id": 1
2145
+ }
2146
+ }
2147
+ },
2148
+ "PurgeUserEventsMetadata": {
2149
+ "fields": {
2150
+ "createTime": {
2151
+ "type": "google.protobuf.Timestamp",
2152
+ "id": 1
2153
+ },
2154
+ "updateTime": {
2155
+ "type": "google.protobuf.Timestamp",
2156
+ "id": 2
2157
+ },
2158
+ "successCount": {
2159
+ "type": "int64",
2160
+ "id": 3
2161
+ },
2162
+ "failureCount": {
2163
+ "type": "int64",
2164
+ "id": 4
2165
+ }
2166
+ }
2167
+ },
2168
+ "PurgeErrorConfig": {
2169
+ "oneofs": {
2170
+ "destination": {
2171
+ "oneof": [
2172
+ "gcsPrefix"
2173
+ ]
2174
+ }
2175
+ },
2176
+ "fields": {
2177
+ "gcsPrefix": {
2178
+ "type": "string",
2179
+ "id": 1
2180
+ }
2181
+ }
2182
+ },
2048
2183
  "PurgeDocumentsRequest": {
2184
+ "oneofs": {
2185
+ "source": {
2186
+ "oneof": [
2187
+ "gcsSource",
2188
+ "inlineSource"
2189
+ ]
2190
+ }
2191
+ },
2049
2192
  "fields": {
2193
+ "gcsSource": {
2194
+ "type": "GcsSource",
2195
+ "id": 5
2196
+ },
2197
+ "inlineSource": {
2198
+ "type": "InlineSource",
2199
+ "id": 6
2200
+ },
2050
2201
  "parent": {
2051
2202
  "type": "string",
2052
2203
  "id": 1,
@@ -2062,10 +2213,29 @@
2062
2213
  "(google.api.field_behavior)": "REQUIRED"
2063
2214
  }
2064
2215
  },
2216
+ "errorConfig": {
2217
+ "type": "PurgeErrorConfig",
2218
+ "id": 7
2219
+ },
2065
2220
  "force": {
2066
2221
  "type": "bool",
2067
2222
  "id": 3
2068
2223
  }
2224
+ },
2225
+ "nested": {
2226
+ "InlineSource": {
2227
+ "fields": {
2228
+ "documents": {
2229
+ "rule": "repeated",
2230
+ "type": "string",
2231
+ "id": 1,
2232
+ "options": {
2233
+ "(google.api.field_behavior)": "REQUIRED",
2234
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2235
+ }
2236
+ }
2237
+ }
2238
+ }
2069
2239
  }
2070
2240
  },
2071
2241
  "PurgeDocumentsResponse": {
@@ -3111,6 +3281,10 @@
3111
3281
  "type": "bool",
3112
3282
  "id": 4
3113
3283
  },
3284
+ "ignoreLowRelevantContent": {
3285
+ "type": "bool",
3286
+ "id": 9
3287
+ },
3114
3288
  "modelPromptSpec": {
3115
3289
  "type": "ModelPromptSpec",
3116
3290
  "id": 5
@@ -3470,7 +3644,10 @@
3470
3644
  "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
3471
3645
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
3472
3646
  "POTENTIAL_POLICY_VIOLATION": 4,
3473
- "LLM_ADDON_NOT_ENABLED": 5
3647
+ "LLM_ADDON_NOT_ENABLED": 5,
3648
+ "NO_RELEVANT_CONTENT": 6,
3649
+ "JAIL_BREAKING_QUERY_IGNORED": 7,
3650
+ "CUSTOMER_POLICY_VIOLATION": 8
3474
3651
  }
3475
3652
  }
3476
3653
  }
@@ -4384,7 +4561,8 @@
4384
4561
  "values": {
4385
4562
  "TYPE_UNSPECIFIED": 0,
4386
4563
  "ADVERSARIAL_QUERY": 1,
4387
- "NON_ANSWER_SEEKING_QUERY": 2
4564
+ "NON_ANSWER_SEEKING_QUERY": 2,
4565
+ "JAIL_BREAKING_QUERY": 3
4388
4566
  }
4389
4567
  }
4390
4568
  }
@@ -4616,6 +4794,64 @@
4616
4794
  }
4617
4795
  }
4618
4796
  },
4797
+ "CustomTuningModel": {
4798
+ "options": {
4799
+ "(google.api.resource).type": "discoveryengine.googleapis.com/CustomTuningModel",
4800
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}"
4801
+ },
4802
+ "fields": {
4803
+ "name": {
4804
+ "type": "string",
4805
+ "id": 1,
4806
+ "options": {
4807
+ "(google.api.field_behavior)": "REQUIRED",
4808
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/CustomTuningModel"
4809
+ }
4810
+ },
4811
+ "displayName": {
4812
+ "type": "string",
4813
+ "id": 2
4814
+ },
4815
+ "modelVersion": {
4816
+ "type": "int64",
4817
+ "id": 3
4818
+ },
4819
+ "modelState": {
4820
+ "type": "ModelState",
4821
+ "id": 4
4822
+ },
4823
+ "createTime": {
4824
+ "type": "google.protobuf.Timestamp",
4825
+ "id": 5,
4826
+ "options": {
4827
+ "deprecated": true
4828
+ }
4829
+ },
4830
+ "trainingStartTime": {
4831
+ "type": "google.protobuf.Timestamp",
4832
+ "id": 6
4833
+ },
4834
+ "metrics": {
4835
+ "keyType": "string",
4836
+ "type": "double",
4837
+ "id": 7
4838
+ }
4839
+ },
4840
+ "nested": {
4841
+ "ModelState": {
4842
+ "values": {
4843
+ "MODEL_STATE_UNSPECIFIED": 0,
4844
+ "TRAINING_PAUSED": 1,
4845
+ "TRAINING": 2,
4846
+ "TRAINING_COMPLETE": 3,
4847
+ "READY_FOR_SERVING": 4,
4848
+ "TRAINING_FAILED": 5,
4849
+ "NO_IMPROVEMENT": 6,
4850
+ "INPUT_VALIDATION_FAILED": 7
4851
+ }
4852
+ }
4853
+ }
4854
+ },
4619
4855
  "DataStore": {
4620
4856
  "options": {
4621
4857
  "(google.api.resource).type": "discoveryengine.googleapis.com/DataStore",
@@ -4994,6 +5230,10 @@
4994
5230
  "createAdvancedSiteSearch": {
4995
5231
  "type": "bool",
4996
5232
  "id": 4
5233
+ },
5234
+ "skipDefaultSchemaCreation": {
5235
+ "type": "bool",
5236
+ "id": 7
4997
5237
  }
4998
5238
  }
4999
5239
  },
@@ -5280,6 +5520,28 @@
5280
5520
  }
5281
5521
  }
5282
5522
  ]
5523
+ },
5524
+ "BatchGetDocumentsMetadata": {
5525
+ "requestType": "BatchGetDocumentsMetadataRequest",
5526
+ "responseType": "BatchGetDocumentsMetadataResponse",
5527
+ "options": {
5528
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
5529
+ "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
5530
+ "(google.api.method_signature)": "parent"
5531
+ },
5532
+ "parsedOptions": [
5533
+ {
5534
+ "(google.api.http)": {
5535
+ "get": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
5536
+ "additional_bindings": {
5537
+ "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/batchGetDocumentsMetadata"
5538
+ }
5539
+ }
5540
+ },
5541
+ {
5542
+ "(google.api.method_signature)": "parent"
5543
+ }
5544
+ ]
5283
5545
  }
5284
5546
  }
5285
5547
  },
@@ -5385,28 +5647,129 @@
5385
5647
  }
5386
5648
  }
5387
5649
  },
5388
- "Engine": {
5389
- "options": {
5390
- "(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
5391
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}"
5392
- },
5393
- "oneofs": {
5394
- "engineConfig": {
5395
- "oneof": [
5396
- "chatEngineConfig",
5397
- "searchEngineConfig"
5398
- ]
5650
+ "BatchGetDocumentsMetadataRequest": {
5651
+ "fields": {
5652
+ "parent": {
5653
+ "type": "string",
5654
+ "id": 1,
5655
+ "options": {
5656
+ "(google.api.field_behavior)": "REQUIRED",
5657
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
5658
+ }
5399
5659
  },
5400
- "engineMetadata": {
5401
- "oneof": [
5402
- "chatEngineMetadata"
5403
- ]
5660
+ "matcher": {
5661
+ "type": "Matcher",
5662
+ "id": 2,
5663
+ "options": {
5664
+ "(google.api.field_behavior)": "REQUIRED"
5665
+ }
5404
5666
  }
5405
5667
  },
5406
- "fields": {
5407
- "chatEngineConfig": {
5408
- "type": "ChatEngineConfig",
5409
- "id": 11
5668
+ "nested": {
5669
+ "UrisMatcher": {
5670
+ "fields": {
5671
+ "uris": {
5672
+ "rule": "repeated",
5673
+ "type": "string",
5674
+ "id": 1
5675
+ }
5676
+ }
5677
+ },
5678
+ "Matcher": {
5679
+ "oneofs": {
5680
+ "matcher": {
5681
+ "oneof": [
5682
+ "urisMatcher"
5683
+ ]
5684
+ }
5685
+ },
5686
+ "fields": {
5687
+ "urisMatcher": {
5688
+ "type": "UrisMatcher",
5689
+ "id": 1
5690
+ }
5691
+ }
5692
+ }
5693
+ }
5694
+ },
5695
+ "BatchGetDocumentsMetadataResponse": {
5696
+ "fields": {
5697
+ "documentsMetadata": {
5698
+ "rule": "repeated",
5699
+ "type": "DocumentMetadata",
5700
+ "id": 1
5701
+ }
5702
+ },
5703
+ "nested": {
5704
+ "DocumentMetadata": {
5705
+ "fields": {
5706
+ "matcherValue": {
5707
+ "type": "MatcherValue",
5708
+ "id": 2
5709
+ },
5710
+ "state": {
5711
+ "type": "State",
5712
+ "id": 3
5713
+ },
5714
+ "lastRefreshedTime": {
5715
+ "type": "google.protobuf.Timestamp",
5716
+ "id": 4
5717
+ },
5718
+ "dataIngestionSource": {
5719
+ "type": "string",
5720
+ "id": 5
5721
+ }
5722
+ },
5723
+ "nested": {
5724
+ "MatcherValue": {
5725
+ "oneofs": {
5726
+ "matcherValue": {
5727
+ "oneof": [
5728
+ "uri"
5729
+ ]
5730
+ }
5731
+ },
5732
+ "fields": {
5733
+ "uri": {
5734
+ "type": "string",
5735
+ "id": 1
5736
+ }
5737
+ }
5738
+ }
5739
+ }
5740
+ },
5741
+ "State": {
5742
+ "values": {
5743
+ "STATE_UNSPECIFIED": 0,
5744
+ "INDEXED": 1,
5745
+ "NOT_IN_TARGET_SITE": 2,
5746
+ "NOT_IN_INDEX": 3
5747
+ }
5748
+ }
5749
+ }
5750
+ },
5751
+ "Engine": {
5752
+ "options": {
5753
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
5754
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}"
5755
+ },
5756
+ "oneofs": {
5757
+ "engineConfig": {
5758
+ "oneof": [
5759
+ "chatEngineConfig",
5760
+ "searchEngineConfig"
5761
+ ]
5762
+ },
5763
+ "engineMetadata": {
5764
+ "oneof": [
5765
+ "chatEngineMetadata"
5766
+ ]
5767
+ }
5768
+ },
5769
+ "fields": {
5770
+ "chatEngineConfig": {
5771
+ "type": "ChatEngineConfig",
5772
+ "id": 11
5410
5773
  },
5411
5774
  "searchEngineConfig": {
5412
5775
  "type": "SearchEngineConfig",
@@ -6607,6 +6970,168 @@
6607
6970
  }
6608
6971
  }
6609
6972
  },
6973
+ "SearchTuningService": {
6974
+ "options": {
6975
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
6976
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
6977
+ },
6978
+ "methods": {
6979
+ "TrainCustomModel": {
6980
+ "requestType": "TrainCustomModelRequest",
6981
+ "responseType": "google.longrunning.Operation",
6982
+ "options": {
6983
+ "(google.api.http).post": "/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:trainCustomModel",
6984
+ "(google.api.http).body": "*",
6985
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.TrainCustomModelResponse",
6986
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.TrainCustomModelMetadata"
6987
+ },
6988
+ "parsedOptions": [
6989
+ {
6990
+ "(google.api.http)": {
6991
+ "post": "/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:trainCustomModel",
6992
+ "body": "*"
6993
+ }
6994
+ },
6995
+ {
6996
+ "(google.longrunning.operation_info)": {
6997
+ "response_type": "google.cloud.discoveryengine.v1.TrainCustomModelResponse",
6998
+ "metadata_type": "google.cloud.discoveryengine.v1.TrainCustomModelMetadata"
6999
+ }
7000
+ }
7001
+ ]
7002
+ },
7003
+ "ListCustomModels": {
7004
+ "requestType": "ListCustomModelsRequest",
7005
+ "responseType": "ListCustomModelsResponse",
7006
+ "options": {
7007
+ "(google.api.http).get": "/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}/customModels"
7008
+ },
7009
+ "parsedOptions": [
7010
+ {
7011
+ "(google.api.http)": {
7012
+ "get": "/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}/customModels"
7013
+ }
7014
+ }
7015
+ ]
7016
+ }
7017
+ }
7018
+ },
7019
+ "ListCustomModelsRequest": {
7020
+ "fields": {
7021
+ "dataStore": {
7022
+ "type": "string",
7023
+ "id": 1,
7024
+ "options": {
7025
+ "(google.api.field_behavior)": "REQUIRED",
7026
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
7027
+ }
7028
+ }
7029
+ }
7030
+ },
7031
+ "ListCustomModelsResponse": {
7032
+ "fields": {
7033
+ "models": {
7034
+ "rule": "repeated",
7035
+ "type": "CustomTuningModel",
7036
+ "id": 1
7037
+ }
7038
+ }
7039
+ },
7040
+ "TrainCustomModelRequest": {
7041
+ "oneofs": {
7042
+ "trainingInput": {
7043
+ "oneof": [
7044
+ "gcsTrainingInput"
7045
+ ]
7046
+ }
7047
+ },
7048
+ "fields": {
7049
+ "gcsTrainingInput": {
7050
+ "type": "GcsTrainingInput",
7051
+ "id": 2
7052
+ },
7053
+ "dataStore": {
7054
+ "type": "string",
7055
+ "id": 1,
7056
+ "options": {
7057
+ "(google.api.field_behavior)": "REQUIRED",
7058
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
7059
+ }
7060
+ },
7061
+ "modelType": {
7062
+ "type": "string",
7063
+ "id": 3
7064
+ },
7065
+ "errorConfig": {
7066
+ "type": "ImportErrorConfig",
7067
+ "id": 4
7068
+ },
7069
+ "modelId": {
7070
+ "type": "string",
7071
+ "id": 5
7072
+ }
7073
+ },
7074
+ "nested": {
7075
+ "GcsTrainingInput": {
7076
+ "fields": {
7077
+ "corpusDataPath": {
7078
+ "type": "string",
7079
+ "id": 1
7080
+ },
7081
+ "queryDataPath": {
7082
+ "type": "string",
7083
+ "id": 2
7084
+ },
7085
+ "trainDataPath": {
7086
+ "type": "string",
7087
+ "id": 3
7088
+ },
7089
+ "testDataPath": {
7090
+ "type": "string",
7091
+ "id": 4
7092
+ }
7093
+ }
7094
+ }
7095
+ }
7096
+ },
7097
+ "TrainCustomModelResponse": {
7098
+ "fields": {
7099
+ "errorSamples": {
7100
+ "rule": "repeated",
7101
+ "type": "google.rpc.Status",
7102
+ "id": 1
7103
+ },
7104
+ "errorConfig": {
7105
+ "type": "ImportErrorConfig",
7106
+ "id": 2
7107
+ },
7108
+ "modelStatus": {
7109
+ "type": "string",
7110
+ "id": 3
7111
+ },
7112
+ "metrics": {
7113
+ "keyType": "string",
7114
+ "type": "double",
7115
+ "id": 4
7116
+ },
7117
+ "modelName": {
7118
+ "type": "string",
7119
+ "id": 5
7120
+ }
7121
+ }
7122
+ },
7123
+ "TrainCustomModelMetadata": {
7124
+ "fields": {
7125
+ "createTime": {
7126
+ "type": "google.protobuf.Timestamp",
7127
+ "id": 1
7128
+ },
7129
+ "updateTime": {
7130
+ "type": "google.protobuf.Timestamp",
7131
+ "id": 2
7132
+ }
7133
+ }
7134
+ },
6610
7135
  "SiteSearchEngine": {
6611
7136
  "options": {
6612
7137
  "(google.api.resource).type": "discoveryengine.googleapis.com/SiteSearchEngine",
@@ -7549,39 +8074,69 @@
7549
8074
  }
7550
8075
  ]
7551
8076
  },
7552
- "ImportUserEvents": {
7553
- "requestType": "ImportUserEventsRequest",
8077
+ "PurgeUserEvents": {
8078
+ "requestType": "PurgeUserEventsRequest",
7554
8079
  "responseType": "google.longrunning.Operation",
7555
8080
  "options": {
7556
- "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
8081
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:purge",
7557
8082
  "(google.api.http).body": "*",
7558
- "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
8083
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:purge",
7559
8084
  "(google.api.http).additional_bindings.body": "*",
7560
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.ImportUserEventsResponse",
7561
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.ImportUserEventsMetadata"
8085
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.PurgeUserEventsResponse",
8086
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.PurgeUserEventsMetadata"
7562
8087
  },
7563
8088
  "parsedOptions": [
7564
8089
  {
7565
8090
  "(google.api.http)": {
7566
- "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
8091
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:purge",
7567
8092
  "body": "*",
7568
8093
  "additional_bindings": {
7569
- "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
8094
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:purge",
7570
8095
  "body": "*"
7571
8096
  }
7572
8097
  }
7573
8098
  },
7574
8099
  {
7575
8100
  "(google.longrunning.operation_info)": {
7576
- "response_type": "google.cloud.discoveryengine.v1.ImportUserEventsResponse",
7577
- "metadata_type": "google.cloud.discoveryengine.v1.ImportUserEventsMetadata"
8101
+ "response_type": "google.cloud.discoveryengine.v1.PurgeUserEventsResponse",
8102
+ "metadata_type": "google.cloud.discoveryengine.v1.PurgeUserEventsMetadata"
7578
8103
  }
7579
8104
  }
7580
8105
  ]
7581
- }
7582
- }
7583
- },
7584
- "WriteUserEventRequest": {
8106
+ },
8107
+ "ImportUserEvents": {
8108
+ "requestType": "ImportUserEventsRequest",
8109
+ "responseType": "google.longrunning.Operation",
8110
+ "options": {
8111
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
8112
+ "(google.api.http).body": "*",
8113
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
8114
+ "(google.api.http).additional_bindings.body": "*",
8115
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.ImportUserEventsResponse",
8116
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.ImportUserEventsMetadata"
8117
+ },
8118
+ "parsedOptions": [
8119
+ {
8120
+ "(google.api.http)": {
8121
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
8122
+ "body": "*",
8123
+ "additional_bindings": {
8124
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
8125
+ "body": "*"
8126
+ }
8127
+ }
8128
+ },
8129
+ {
8130
+ "(google.longrunning.operation_info)": {
8131
+ "response_type": "google.cloud.discoveryengine.v1.ImportUserEventsResponse",
8132
+ "metadata_type": "google.cloud.discoveryengine.v1.ImportUserEventsMetadata"
8133
+ }
8134
+ }
8135
+ ]
8136
+ }
8137
+ }
8138
+ },
8139
+ "WriteUserEventRequest": {
7585
8140
  "oneofs": {
7586
8141
  "_userEvent": {
7587
8142
  "oneof": [
@@ -8040,7 +8595,8 @@
8040
8595
  "content": {
8041
8596
  "oneof": [
8042
8597
  "unstructuredDocumentInfo",
8043
- "chunkInfo"
8598
+ "chunkInfo",
8599
+ "structuredDocumentInfo"
8044
8600
  ]
8045
8601
  }
8046
8602
  },
@@ -8052,6 +8608,10 @@
8052
8608
  "chunkInfo": {
8053
8609
  "type": "ChunkInfo",
8054
8610
  "id": 2
8611
+ },
8612
+ "structuredDocumentInfo": {
8613
+ "type": "StructuredDocumentInfo",
8614
+ "id": 3
8055
8615
  }
8056
8616
  },
8057
8617
  "nested": {
@@ -8084,6 +8644,13 @@
8084
8644
  },
8085
8645
  "nested": {
8086
8646
  "ChunkContent": {
8647
+ "oneofs": {
8648
+ "_relevanceScore": {
8649
+ "oneof": [
8650
+ "relevanceScore"
8651
+ ]
8652
+ }
8653
+ },
8087
8654
  "fields": {
8088
8655
  "content": {
8089
8656
  "type": "string",
@@ -8092,6 +8659,13 @@
8092
8659
  "pageIdentifier": {
8093
8660
  "type": "string",
8094
8661
  "id": 2
8662
+ },
8663
+ "relevanceScore": {
8664
+ "type": "float",
8665
+ "id": 3,
8666
+ "options": {
8667
+ "proto3_optional": true
8668
+ }
8095
8669
  }
8096
8670
  }
8097
8671
  }
@@ -8158,6 +8732,21 @@
8158
8732
  }
8159
8733
  }
8160
8734
  }
8735
+ },
8736
+ "StructuredDocumentInfo": {
8737
+ "fields": {
8738
+ "document": {
8739
+ "type": "string",
8740
+ "id": 1,
8741
+ "options": {
8742
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
8743
+ }
8744
+ },
8745
+ "structData": {
8746
+ "type": "google.protobuf.Struct",
8747
+ "id": 2
8748
+ }
8749
+ }
8161
8750
  }
8162
8751
  }
8163
8752
  },
@@ -8241,6 +8830,10 @@
8241
8830
  "rule": "repeated",
8242
8831
  "type": "ChunkInfo",
8243
8832
  "id": 5
8833
+ },
8834
+ "structData": {
8835
+ "type": "google.protobuf.Struct",
8836
+ "id": 6
8244
8837
  }
8245
8838
  },
8246
8839
  "nested": {
@@ -8323,7 +8916,8 @@
8323
8916
  "values": {
8324
8917
  "TYPE_UNSPECIFIED": 0,
8325
8918
  "ADVERSARIAL_QUERY": 1,
8326
- "NON_ANSWER_SEEKING_QUERY": 2
8919
+ "NON_ANSWER_SEEKING_QUERY": 2,
8920
+ "JAIL_BREAKING_QUERY": 3
8327
8921
  }
8328
8922
  }
8329
8923
  }
@@ -8344,7 +8938,10 @@
8344
8938
  "ADVERSARIAL_QUERY_IGNORED": 1,
8345
8939
  "NON_ANSWER_SEEKING_QUERY_IGNORED": 2,
8346
8940
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
8347
- "POTENTIAL_POLICY_VIOLATION": 4
8941
+ "POTENTIAL_POLICY_VIOLATION": 4,
8942
+ "NO_RELEVANT_CONTENT": 5,
8943
+ "JAIL_BREAKING_QUERY_IGNORED": 6,
8944
+ "CUSTOMER_POLICY_VIOLATION": 7
8348
8945
  }
8349
8946
  }
8350
8947
  }
@@ -8574,6 +9171,50 @@
8574
9171
  }
8575
9172
  }
8576
9173
  },
9174
+ "CompletionSuggestion": {
9175
+ "oneofs": {
9176
+ "rankingInfo": {
9177
+ "oneof": [
9178
+ "globalScore",
9179
+ "frequency"
9180
+ ]
9181
+ }
9182
+ },
9183
+ "fields": {
9184
+ "globalScore": {
9185
+ "type": "double",
9186
+ "id": 2
9187
+ },
9188
+ "frequency": {
9189
+ "type": "int64",
9190
+ "id": 3
9191
+ },
9192
+ "suggestion": {
9193
+ "type": "string",
9194
+ "id": 1,
9195
+ "options": {
9196
+ "(google.api.field_behavior)": "REQUIRED"
9197
+ }
9198
+ },
9199
+ "languageCode": {
9200
+ "type": "string",
9201
+ "id": 4
9202
+ },
9203
+ "groupId": {
9204
+ "type": "string",
9205
+ "id": 5
9206
+ },
9207
+ "groupScore": {
9208
+ "type": "double",
9209
+ "id": 6
9210
+ },
9211
+ "alternativePhrases": {
9212
+ "rule": "repeated",
9213
+ "type": "string",
9214
+ "id": 7
9215
+ }
9216
+ }
9217
+ },
8577
9218
  "CompletionService": {
8578
9219
  "options": {
8579
9220
  "(google.api.default_host)": "discoveryengine.googleapis.com",
@@ -8657,6 +9298,66 @@
8657
9298
  }
8658
9299
  }
8659
9300
  ]
9301
+ },
9302
+ "ImportCompletionSuggestions": {
9303
+ "requestType": "ImportCompletionSuggestionsRequest",
9304
+ "responseType": "google.longrunning.Operation",
9305
+ "options": {
9306
+ "(google.api.http).post": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import",
9307
+ "(google.api.http).body": "*",
9308
+ "(google.api.http).additional_bindings.post": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import",
9309
+ "(google.api.http).additional_bindings.body": "*",
9310
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse",
9311
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata"
9312
+ },
9313
+ "parsedOptions": [
9314
+ {
9315
+ "(google.api.http)": {
9316
+ "post": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import",
9317
+ "body": "*",
9318
+ "additional_bindings": {
9319
+ "post": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import",
9320
+ "body": "*"
9321
+ }
9322
+ }
9323
+ },
9324
+ {
9325
+ "(google.longrunning.operation_info)": {
9326
+ "response_type": "google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse",
9327
+ "metadata_type": "google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata"
9328
+ }
9329
+ }
9330
+ ]
9331
+ },
9332
+ "PurgeCompletionSuggestions": {
9333
+ "requestType": "PurgeCompletionSuggestionsRequest",
9334
+ "responseType": "google.longrunning.Operation",
9335
+ "options": {
9336
+ "(google.api.http).post": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge",
9337
+ "(google.api.http).body": "*",
9338
+ "(google.api.http).additional_bindings.post": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge",
9339
+ "(google.api.http).additional_bindings.body": "*",
9340
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse",
9341
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata"
9342
+ },
9343
+ "parsedOptions": [
9344
+ {
9345
+ "(google.api.http)": {
9346
+ "post": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge",
9347
+ "body": "*",
9348
+ "additional_bindings": {
9349
+ "post": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge",
9350
+ "body": "*"
9351
+ }
9352
+ }
9353
+ },
9354
+ {
9355
+ "(google.longrunning.operation_info)": {
9356
+ "response_type": "google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse",
9357
+ "metadata_type": "google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata"
9358
+ }
9359
+ }
9360
+ ]
8660
9361
  }
8661
9362
  }
8662
9363
  },
@@ -8929,6 +9630,11 @@
8929
9630
  "gcsStagingDir": {
8930
9631
  "type": "string",
8931
9632
  "id": 2
9633
+ },
9634
+ "resourceTypes": {
9635
+ "rule": "repeated",
9636
+ "type": "string",
9637
+ "id": 3
8932
9638
  }
8933
9639
  }
8934
9640
  },
@@ -8969,6 +9675,46 @@
8969
9675
  }
8970
9676
  }
8971
9677
  },
9678
+ "AlloyDbSource": {
9679
+ "fields": {
9680
+ "projectId": {
9681
+ "type": "string",
9682
+ "id": 1
9683
+ },
9684
+ "locationId": {
9685
+ "type": "string",
9686
+ "id": 2,
9687
+ "options": {
9688
+ "(google.api.field_behavior)": "REQUIRED"
9689
+ }
9690
+ },
9691
+ "clusterId": {
9692
+ "type": "string",
9693
+ "id": 3,
9694
+ "options": {
9695
+ "(google.api.field_behavior)": "REQUIRED"
9696
+ }
9697
+ },
9698
+ "databaseId": {
9699
+ "type": "string",
9700
+ "id": 4,
9701
+ "options": {
9702
+ "(google.api.field_behavior)": "REQUIRED"
9703
+ }
9704
+ },
9705
+ "tableId": {
9706
+ "type": "string",
9707
+ "id": 5,
9708
+ "options": {
9709
+ "(google.api.field_behavior)": "REQUIRED"
9710
+ }
9711
+ },
9712
+ "gcsStagingDir": {
9713
+ "type": "string",
9714
+ "id": 6
9715
+ }
9716
+ }
9717
+ },
8972
9718
  "FirestoreSource": {
8973
9719
  "fields": {
8974
9720
  "projectId": {
@@ -9137,6 +9883,7 @@
9137
9883
  "spannerSource",
9138
9884
  "cloudSqlSource",
9139
9885
  "firestoreSource",
9886
+ "alloyDbSource",
9140
9887
  "bigtableSource"
9141
9888
  ]
9142
9889
  }
@@ -9170,6 +9917,10 @@
9170
9917
  "type": "FirestoreSource",
9171
9918
  "id": 13
9172
9919
  },
9920
+ "alloyDbSource": {
9921
+ "type": "AlloyDbSource",
9922
+ "id": 14
9923
+ },
9173
9924
  "bigtableSource": {
9174
9925
  "type": "BigtableSource",
9175
9926
  "id": 15
@@ -9309,7 +10060,7 @@
9309
10060
  }
9310
10061
  }
9311
10062
  },
9312
- "ImportSampleQueriesRequest": {
10063
+ "ImportCompletionSuggestionsRequest": {
9313
10064
  "oneofs": {
9314
10065
  "source": {
9315
10066
  "oneof": [
@@ -9337,7 +10088,7 @@
9337
10088
  "id": 1,
9338
10089
  "options": {
9339
10090
  "(google.api.field_behavior)": "REQUIRED",
9340
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/SampleQuerySet"
10091
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
9341
10092
  }
9342
10093
  },
9343
10094
  "errorConfig": {
@@ -9348,9 +10099,9 @@
9348
10099
  "nested": {
9349
10100
  "InlineSource": {
9350
10101
  "fields": {
9351
- "sampleQueries": {
10102
+ "suggestions": {
9352
10103
  "rule": "repeated",
9353
- "type": "SampleQuery",
10104
+ "type": "CompletionSuggestion",
9354
10105
  "id": 1,
9355
10106
  "options": {
9356
10107
  "(google.api.field_behavior)": "REQUIRED"
@@ -9360,7 +10111,7 @@
9360
10111
  }
9361
10112
  }
9362
10113
  },
9363
- "ImportSampleQueriesResponse": {
10114
+ "ImportCompletionSuggestionsResponse": {
9364
10115
  "fields": {
9365
10116
  "errorSamples": {
9366
10117
  "rule": "repeated",
@@ -9373,7 +10124,7 @@
9373
10124
  }
9374
10125
  }
9375
10126
  },
9376
- "ImportSampleQueriesMetadata": {
10127
+ "ImportCompletionSuggestionsMetadata": {
9377
10128
  "fields": {
9378
10129
  "createTime": {
9379
10130
  "type": "google.protobuf.Timestamp",
@@ -9390,47 +10141,131 @@
9390
10141
  "failureCount": {
9391
10142
  "type": "int64",
9392
10143
  "id": 4
9393
- },
9394
- "totalCount": {
9395
- "type": "int64",
9396
- "id": 5
9397
10144
  }
9398
10145
  }
9399
10146
  },
9400
- "Document": {
9401
- "options": {
9402
- "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
9403
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
9404
- },
10147
+ "ImportSampleQueriesRequest": {
9405
10148
  "oneofs": {
9406
- "data": {
10149
+ "source": {
9407
10150
  "oneof": [
9408
- "structData",
9409
- "jsonData"
10151
+ "inlineSource",
10152
+ "gcsSource",
10153
+ "bigquerySource"
9410
10154
  ]
9411
10155
  }
9412
10156
  },
9413
10157
  "fields": {
9414
- "structData": {
9415
- "type": "google.protobuf.Struct",
9416
- "id": 4
10158
+ "inlineSource": {
10159
+ "type": "InlineSource",
10160
+ "id": 2
9417
10161
  },
9418
- "jsonData": {
9419
- "type": "string",
9420
- "id": 5
10162
+ "gcsSource": {
10163
+ "type": "GcsSource",
10164
+ "id": 3
9421
10165
  },
9422
- "name": {
10166
+ "bigquerySource": {
10167
+ "type": "BigQuerySource",
10168
+ "id": 4
10169
+ },
10170
+ "parent": {
9423
10171
  "type": "string",
9424
10172
  "id": 1,
9425
10173
  "options": {
9426
- "(google.api.field_behavior)": "IMMUTABLE"
10174
+ "(google.api.field_behavior)": "REQUIRED",
10175
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/SampleQuerySet"
9427
10176
  }
9428
10177
  },
9429
- "id": {
9430
- "type": "string",
9431
- "id": 2,
9432
- "options": {
9433
- "(google.api.field_behavior)": "IMMUTABLE"
10178
+ "errorConfig": {
10179
+ "type": "ImportErrorConfig",
10180
+ "id": 5
10181
+ }
10182
+ },
10183
+ "nested": {
10184
+ "InlineSource": {
10185
+ "fields": {
10186
+ "sampleQueries": {
10187
+ "rule": "repeated",
10188
+ "type": "SampleQuery",
10189
+ "id": 1,
10190
+ "options": {
10191
+ "(google.api.field_behavior)": "REQUIRED"
10192
+ }
10193
+ }
10194
+ }
10195
+ }
10196
+ }
10197
+ },
10198
+ "ImportSampleQueriesResponse": {
10199
+ "fields": {
10200
+ "errorSamples": {
10201
+ "rule": "repeated",
10202
+ "type": "google.rpc.Status",
10203
+ "id": 1
10204
+ },
10205
+ "errorConfig": {
10206
+ "type": "ImportErrorConfig",
10207
+ "id": 2
10208
+ }
10209
+ }
10210
+ },
10211
+ "ImportSampleQueriesMetadata": {
10212
+ "fields": {
10213
+ "createTime": {
10214
+ "type": "google.protobuf.Timestamp",
10215
+ "id": 1
10216
+ },
10217
+ "updateTime": {
10218
+ "type": "google.protobuf.Timestamp",
10219
+ "id": 2
10220
+ },
10221
+ "successCount": {
10222
+ "type": "int64",
10223
+ "id": 3
10224
+ },
10225
+ "failureCount": {
10226
+ "type": "int64",
10227
+ "id": 4
10228
+ },
10229
+ "totalCount": {
10230
+ "type": "int64",
10231
+ "id": 5
10232
+ }
10233
+ }
10234
+ },
10235
+ "Document": {
10236
+ "options": {
10237
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
10238
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
10239
+ },
10240
+ "oneofs": {
10241
+ "data": {
10242
+ "oneof": [
10243
+ "structData",
10244
+ "jsonData"
10245
+ ]
10246
+ }
10247
+ },
10248
+ "fields": {
10249
+ "structData": {
10250
+ "type": "google.protobuf.Struct",
10251
+ "id": 4
10252
+ },
10253
+ "jsonData": {
10254
+ "type": "string",
10255
+ "id": 5
10256
+ },
10257
+ "name": {
10258
+ "type": "string",
10259
+ "id": 1,
10260
+ "options": {
10261
+ "(google.api.field_behavior)": "IMMUTABLE"
10262
+ }
10263
+ },
10264
+ "id": {
10265
+ "type": "string",
10266
+ "id": 2,
10267
+ "options": {
10268
+ "(google.api.field_behavior)": "IMMUTABLE"
9434
10269
  }
9435
10270
  },
9436
10271
  "schemaId": {
@@ -9462,6 +10297,13 @@
9462
10297
  "options": {
9463
10298
  "(google.api.field_behavior)": "OUTPUT_ONLY"
9464
10299
  }
10300
+ },
10301
+ "indexStatus": {
10302
+ "type": "IndexStatus",
10303
+ "id": 15,
10304
+ "options": {
10305
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
10306
+ }
9465
10307
  }
9466
10308
  },
9467
10309
  "nested": {
@@ -9504,10 +10346,27 @@
9504
10346
  "rule": "repeated",
9505
10347
  "type": "Principal",
9506
10348
  "id": 1
10349
+ },
10350
+ "idpWide": {
10351
+ "type": "bool",
10352
+ "id": 2
9507
10353
  }
9508
10354
  }
9509
10355
  }
9510
10356
  }
10357
+ },
10358
+ "IndexStatus": {
10359
+ "fields": {
10360
+ "indexTime": {
10361
+ "type": "google.protobuf.Timestamp",
10362
+ "id": 1
10363
+ },
10364
+ "errorSamples": {
10365
+ "rule": "repeated",
10366
+ "type": "google.rpc.Status",
10367
+ "id": 2
10368
+ }
10369
+ }
9511
10370
  }
9512
10371
  }
9513
10372
  },
@@ -9880,6 +10739,13 @@
9880
10739
  "rule": "repeated",
9881
10740
  "type": "string",
9882
10741
  "id": 4
10742
+ },
10743
+ "joined": {
10744
+ "type": "bool",
10745
+ "id": 5,
10746
+ "options": {
10747
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
10748
+ }
9883
10749
  }
9884
10750
  }
9885
10751
  },
@@ -10016,7 +10882,8 @@
10016
10882
  "oneofs": {
10017
10883
  "source": {
10018
10884
  "oneof": [
10019
- "gcsSource"
10885
+ "gcsSource",
10886
+ "inlineSource"
10020
10887
  ]
10021
10888
  }
10022
10889
  },
@@ -10025,6 +10892,10 @@
10025
10892
  "type": "GcsSource",
10026
10893
  "id": 5
10027
10894
  },
10895
+ "inlineSource": {
10896
+ "type": "InlineSource",
10897
+ "id": 6
10898
+ },
10028
10899
  "parent": {
10029
10900
  "type": "string",
10030
10901
  "id": 1,
@@ -10048,6 +10919,21 @@
10048
10919
  "type": "bool",
10049
10920
  "id": 3
10050
10921
  }
10922
+ },
10923
+ "nested": {
10924
+ "InlineSource": {
10925
+ "fields": {
10926
+ "documents": {
10927
+ "rule": "repeated",
10928
+ "type": "string",
10929
+ "id": 1,
10930
+ "options": {
10931
+ "(google.api.field_behavior)": "REQUIRED",
10932
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
10933
+ }
10934
+ }
10935
+ }
10936
+ }
10051
10937
  }
10052
10938
  },
10053
10939
  "PurgeDocumentsResponse": {
@@ -10127,6 +11013,43 @@
10127
11013
  }
10128
11014
  }
10129
11015
  },
11016
+ "PurgeCompletionSuggestionsRequest": {
11017
+ "fields": {
11018
+ "parent": {
11019
+ "type": "string",
11020
+ "id": 1,
11021
+ "options": {
11022
+ "(google.api.field_behavior)": "REQUIRED",
11023
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
11024
+ }
11025
+ }
11026
+ }
11027
+ },
11028
+ "PurgeCompletionSuggestionsResponse": {
11029
+ "fields": {
11030
+ "purgeSucceeded": {
11031
+ "type": "bool",
11032
+ "id": 1
11033
+ },
11034
+ "errorSamples": {
11035
+ "rule": "repeated",
11036
+ "type": "google.rpc.Status",
11037
+ "id": 2
11038
+ }
11039
+ }
11040
+ },
11041
+ "PurgeCompletionSuggestionsMetadata": {
11042
+ "fields": {
11043
+ "createTime": {
11044
+ "type": "google.protobuf.Timestamp",
11045
+ "id": 1
11046
+ },
11047
+ "updateTime": {
11048
+ "type": "google.protobuf.Timestamp",
11049
+ "id": 2
11050
+ }
11051
+ }
11052
+ },
10130
11053
  "Condition": {
10131
11054
  "fields": {
10132
11055
  "queryTerms": {
@@ -10819,6 +11742,14 @@
10819
11742
  "type": "UserInfo",
10820
11743
  "id": 21
10821
11744
  },
11745
+ "languageCode": {
11746
+ "type": "string",
11747
+ "id": 35
11748
+ },
11749
+ "regionCode": {
11750
+ "type": "string",
11751
+ "id": 36
11752
+ },
10822
11753
  "facetSpecs": {
10823
11754
  "rule": "repeated",
10824
11755
  "type": "FacetSpec",
@@ -10866,9 +11797,32 @@
10866
11797
  "type": "string",
10867
11798
  "id": 22
10868
11799
  },
11800
+ "naturalLanguageQueryUnderstandingSpec": {
11801
+ "type": "NaturalLanguageQueryUnderstandingSpec",
11802
+ "id": 28
11803
+ },
11804
+ "searchAsYouTypeSpec": {
11805
+ "type": "SearchAsYouTypeSpec",
11806
+ "id": 31
11807
+ },
10869
11808
  "customFineTuningSpec": {
10870
11809
  "type": "CustomFineTuningSpec",
10871
11810
  "id": 34
11811
+ },
11812
+ "session": {
11813
+ "type": "string",
11814
+ "id": 41,
11815
+ "options": {
11816
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Session"
11817
+ }
11818
+ },
11819
+ "sessionSpec": {
11820
+ "type": "SessionSpec",
11821
+ "id": 42
11822
+ },
11823
+ "relevanceThreshold": {
11824
+ "type": "RelevanceThreshold",
11825
+ "id": 44
10872
11826
  }
10873
11827
  },
10874
11828
  "nested": {
@@ -11143,6 +12097,10 @@
11143
12097
  "type": "bool",
11144
12098
  "id": 4
11145
12099
  },
12100
+ "ignoreLowRelevantContent": {
12101
+ "type": "bool",
12102
+ "id": 9
12103
+ },
11146
12104
  "modelPromptSpec": {
11147
12105
  "type": "ModelPromptSpec",
11148
12106
  "id": 5
@@ -11247,6 +12205,76 @@
11247
12205
  }
11248
12206
  }
11249
12207
  }
12208
+ },
12209
+ "NaturalLanguageQueryUnderstandingSpec": {
12210
+ "fields": {
12211
+ "filterExtractionCondition": {
12212
+ "type": "FilterExtractionCondition",
12213
+ "id": 1
12214
+ },
12215
+ "geoSearchQueryDetectionFieldNames": {
12216
+ "rule": "repeated",
12217
+ "type": "string",
12218
+ "id": 2
12219
+ }
12220
+ },
12221
+ "nested": {
12222
+ "FilterExtractionCondition": {
12223
+ "values": {
12224
+ "CONDITION_UNSPECIFIED": 0,
12225
+ "DISABLED": 1,
12226
+ "ENABLED": 2
12227
+ }
12228
+ }
12229
+ }
12230
+ },
12231
+ "SearchAsYouTypeSpec": {
12232
+ "fields": {
12233
+ "condition": {
12234
+ "type": "Condition",
12235
+ "id": 1
12236
+ }
12237
+ },
12238
+ "nested": {
12239
+ "Condition": {
12240
+ "values": {
12241
+ "CONDITION_UNSPECIFIED": 0,
12242
+ "DISABLED": 1,
12243
+ "ENABLED": 2
12244
+ }
12245
+ }
12246
+ }
12247
+ },
12248
+ "SessionSpec": {
12249
+ "oneofs": {
12250
+ "_searchResultPersistenceCount": {
12251
+ "oneof": [
12252
+ "searchResultPersistenceCount"
12253
+ ]
12254
+ }
12255
+ },
12256
+ "fields": {
12257
+ "queryId": {
12258
+ "type": "string",
12259
+ "id": 1
12260
+ },
12261
+ "searchResultPersistenceCount": {
12262
+ "type": "int32",
12263
+ "id": 2,
12264
+ "options": {
12265
+ "proto3_optional": true
12266
+ }
12267
+ }
12268
+ }
12269
+ },
12270
+ "RelevanceThreshold": {
12271
+ "values": {
12272
+ "RELEVANCE_THRESHOLD_UNSPECIFIED": 0,
12273
+ "LOWEST": 1,
12274
+ "LOW": 2,
12275
+ "MEDIUM": 3,
12276
+ "HIGH": 4
12277
+ }
11250
12278
  }
11251
12279
  }
11252
12280
  },
@@ -11303,6 +12331,19 @@
11303
12331
  "queryExpansionInfo": {
11304
12332
  "type": "QueryExpansionInfo",
11305
12333
  "id": 14
12334
+ },
12335
+ "naturalLanguageQueryUnderstandingInfo": {
12336
+ "type": "NaturalLanguageQueryUnderstandingInfo",
12337
+ "id": 15
12338
+ },
12339
+ "sessionInfo": {
12340
+ "type": "SessionInfo",
12341
+ "id": 19
12342
+ },
12343
+ "oneBoxResults": {
12344
+ "rule": "repeated",
12345
+ "type": "OneBoxResult",
12346
+ "id": 20
11306
12347
  }
11307
12348
  },
11308
12349
  "nested": {
@@ -11530,33 +12571,226 @@
11530
12571
  "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
11531
12572
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
11532
12573
  "POTENTIAL_POLICY_VIOLATION": 4,
11533
- "LLM_ADDON_NOT_ENABLED": 5
12574
+ "LLM_ADDON_NOT_ENABLED": 5,
12575
+ "NO_RELEVANT_CONTENT": 6,
12576
+ "JAIL_BREAKING_QUERY_IGNORED": 7,
12577
+ "CUSTOMER_POLICY_VIOLATION": 8,
12578
+ "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2": 9
12579
+ }
12580
+ }
12581
+ }
12582
+ },
12583
+ "GeoSearchDebugInfo": {
12584
+ "fields": {
12585
+ "originalAddressQuery": {
12586
+ "type": "string",
12587
+ "id": 1
12588
+ },
12589
+ "errorMessage": {
12590
+ "type": "string",
12591
+ "id": 2
12592
+ }
12593
+ }
12594
+ },
12595
+ "QueryExpansionInfo": {
12596
+ "fields": {
12597
+ "expandedQuery": {
12598
+ "type": "bool",
12599
+ "id": 1
12600
+ },
12601
+ "pinnedResultCount": {
12602
+ "type": "int64",
12603
+ "id": 2
12604
+ }
12605
+ }
12606
+ },
12607
+ "NaturalLanguageQueryUnderstandingInfo": {
12608
+ "fields": {
12609
+ "extractedFilters": {
12610
+ "type": "string",
12611
+ "id": 1
12612
+ },
12613
+ "rewrittenQuery": {
12614
+ "type": "string",
12615
+ "id": 2
12616
+ },
12617
+ "structuredExtractedFilter": {
12618
+ "type": "StructuredExtractedFilter",
12619
+ "id": 3
12620
+ }
12621
+ },
12622
+ "nested": {
12623
+ "StructuredExtractedFilter": {
12624
+ "fields": {
12625
+ "expression": {
12626
+ "type": "Expression",
12627
+ "id": 1
12628
+ }
12629
+ },
12630
+ "nested": {
12631
+ "StringConstraint": {
12632
+ "fields": {
12633
+ "fieldName": {
12634
+ "type": "string",
12635
+ "id": 1
12636
+ },
12637
+ "values": {
12638
+ "rule": "repeated",
12639
+ "type": "string",
12640
+ "id": 2
12641
+ },
12642
+ "querySegment": {
12643
+ "type": "string",
12644
+ "id": 3
12645
+ }
12646
+ }
12647
+ },
12648
+ "NumberConstraint": {
12649
+ "fields": {
12650
+ "fieldName": {
12651
+ "type": "string",
12652
+ "id": 1
12653
+ },
12654
+ "comparison": {
12655
+ "type": "Comparison",
12656
+ "id": 2
12657
+ },
12658
+ "value": {
12659
+ "type": "double",
12660
+ "id": 3
12661
+ },
12662
+ "querySegment": {
12663
+ "type": "string",
12664
+ "id": 4
12665
+ }
12666
+ },
12667
+ "nested": {
12668
+ "Comparison": {
12669
+ "values": {
12670
+ "COMPARISON_UNSPECIFIED": 0,
12671
+ "EQUALS": 1,
12672
+ "LESS_THAN_EQUALS": 2,
12673
+ "LESS_THAN": 3,
12674
+ "GREATER_THAN_EQUALS": 4,
12675
+ "GREATER_THAN": 5
12676
+ }
12677
+ }
12678
+ }
12679
+ },
12680
+ "GeolocationConstraint": {
12681
+ "fields": {
12682
+ "fieldName": {
12683
+ "type": "string",
12684
+ "id": 1
12685
+ },
12686
+ "address": {
12687
+ "type": "string",
12688
+ "id": 2
12689
+ },
12690
+ "latitude": {
12691
+ "type": "double",
12692
+ "id": 4
12693
+ },
12694
+ "longitude": {
12695
+ "type": "double",
12696
+ "id": 5
12697
+ },
12698
+ "radiusInMeters": {
12699
+ "type": "float",
12700
+ "id": 3
12701
+ }
12702
+ }
12703
+ },
12704
+ "AndExpression": {
12705
+ "fields": {
12706
+ "expressions": {
12707
+ "rule": "repeated",
12708
+ "type": "Expression",
12709
+ "id": 1
12710
+ }
12711
+ }
12712
+ },
12713
+ "OrExpression": {
12714
+ "fields": {
12715
+ "expressions": {
12716
+ "rule": "repeated",
12717
+ "type": "Expression",
12718
+ "id": 1
12719
+ }
12720
+ }
12721
+ },
12722
+ "Expression": {
12723
+ "oneofs": {
12724
+ "expr": {
12725
+ "oneof": [
12726
+ "stringConstraint",
12727
+ "numberConstraint",
12728
+ "geolocationConstraint",
12729
+ "andExpr",
12730
+ "orExpr"
12731
+ ]
12732
+ }
12733
+ },
12734
+ "fields": {
12735
+ "stringConstraint": {
12736
+ "type": "StringConstraint",
12737
+ "id": 1
12738
+ },
12739
+ "numberConstraint": {
12740
+ "type": "NumberConstraint",
12741
+ "id": 2
12742
+ },
12743
+ "geolocationConstraint": {
12744
+ "type": "GeolocationConstraint",
12745
+ "id": 3
12746
+ },
12747
+ "andExpr": {
12748
+ "type": "AndExpression",
12749
+ "id": 4
12750
+ },
12751
+ "orExpr": {
12752
+ "type": "OrExpression",
12753
+ "id": 5
12754
+ }
12755
+ }
12756
+ }
11534
12757
  }
11535
12758
  }
11536
12759
  }
11537
12760
  },
11538
- "GeoSearchDebugInfo": {
12761
+ "SessionInfo": {
11539
12762
  "fields": {
11540
- "originalAddressQuery": {
12763
+ "name": {
11541
12764
  "type": "string",
11542
12765
  "id": 1
11543
12766
  },
11544
- "errorMessage": {
12767
+ "queryId": {
11545
12768
  "type": "string",
11546
12769
  "id": 2
11547
12770
  }
11548
12771
  }
11549
12772
  },
11550
- "QueryExpansionInfo": {
12773
+ "OneBoxResult": {
11551
12774
  "fields": {
11552
- "expandedQuery": {
11553
- "type": "bool",
12775
+ "oneBoxType": {
12776
+ "type": "OneBoxType",
11554
12777
  "id": 1
11555
12778
  },
11556
- "pinnedResultCount": {
11557
- "type": "int64",
12779
+ "searchResults": {
12780
+ "rule": "repeated",
12781
+ "type": "SearchResult",
11558
12782
  "id": 2
11559
12783
  }
12784
+ },
12785
+ "nested": {
12786
+ "OneBoxType": {
12787
+ "values": {
12788
+ "ONE_BOX_TYPE_UNSPECIFIED": 0,
12789
+ "PEOPLE": 1,
12790
+ "ORGANIZATION": 2,
12791
+ "SLACK": 3
12792
+ }
12793
+ }
11560
12794
  }
11561
12795
  }
11562
12796
  }
@@ -12169,6 +13403,11 @@
12169
13403
  "userPseudoId": {
12170
13404
  "type": "string",
12171
13405
  "id": 12
13406
+ },
13407
+ "userLabels": {
13408
+ "keyType": "string",
13409
+ "type": "string",
13410
+ "id": 13
12172
13411
  }
12173
13412
  },
12174
13413
  "nested": {
@@ -12448,7 +13687,8 @@
12448
13687
  "values": {
12449
13688
  "TYPE_UNSPECIFIED": 0,
12450
13689
  "ADVERSARIAL_QUERY": 1,
12451
- "NON_ANSWER_SEEKING_QUERY": 2
13690
+ "NON_ANSWER_SEEKING_QUERY": 2,
13691
+ "JAIL_BREAKING_QUERY": 3
12452
13692
  }
12453
13693
  }
12454
13694
  }
@@ -12708,11 +13948,19 @@
12708
13948
  },
12709
13949
  "createTime": {
12710
13950
  "type": "google.protobuf.Timestamp",
12711
- "id": 5
13951
+ "id": 5,
13952
+ "options": {
13953
+ "deprecated": true
13954
+ }
12712
13955
  },
12713
13956
  "trainingStartTime": {
12714
13957
  "type": "google.protobuf.Timestamp",
12715
13958
  "id": 6
13959
+ },
13960
+ "metrics": {
13961
+ "keyType": "string",
13962
+ "type": "double",
13963
+ "id": 7
12716
13964
  }
12717
13965
  },
12718
13966
  "nested": {
@@ -12723,7 +13971,9 @@
12723
13971
  "TRAINING": 2,
12724
13972
  "TRAINING_COMPLETE": 3,
12725
13973
  "READY_FOR_SERVING": 4,
12726
- "TRAINING_FAILED": 5
13974
+ "TRAINING_FAILED": 5,
13975
+ "NO_IMPROVEMENT": 6,
13976
+ "INPUT_VALIDATION_FAILED": 7
12727
13977
  }
12728
13978
  }
12729
13979
  }
@@ -12781,6 +14031,10 @@
12781
14031
  "(google.api.field_behavior)": "OUTPUT_ONLY"
12782
14032
  }
12783
14033
  },
14034
+ "languageInfo": {
14035
+ "type": "LanguageInfo",
14036
+ "id": 14
14037
+ },
12784
14038
  "idpConfig": {
12785
14039
  "type": "IdpConfig",
12786
14040
  "id": 21,
@@ -12795,6 +14049,10 @@
12795
14049
  "(google.api.field_behavior)": "IMMUTABLE"
12796
14050
  }
12797
14051
  },
14052
+ "workspaceConfig": {
14053
+ "type": "WorkspaceConfig",
14054
+ "id": 25
14055
+ },
12798
14056
  "documentProcessingConfig": {
12799
14057
  "type": "DocumentProcessingConfig",
12800
14058
  "id": 27
@@ -12810,7 +14068,63 @@
12810
14068
  "CONTENT_CONFIG_UNSPECIFIED": 0,
12811
14069
  "NO_CONTENT": 1,
12812
14070
  "CONTENT_REQUIRED": 2,
12813
- "PUBLIC_WEBSITE": 3
14071
+ "PUBLIC_WEBSITE": 3,
14072
+ "GOOGLE_WORKSPACE": 4
14073
+ }
14074
+ }
14075
+ }
14076
+ },
14077
+ "LanguageInfo": {
14078
+ "fields": {
14079
+ "languageCode": {
14080
+ "type": "string",
14081
+ "id": 1
14082
+ },
14083
+ "normalizedLanguageCode": {
14084
+ "type": "string",
14085
+ "id": 2,
14086
+ "options": {
14087
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
14088
+ }
14089
+ },
14090
+ "language": {
14091
+ "type": "string",
14092
+ "id": 3,
14093
+ "options": {
14094
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
14095
+ }
14096
+ },
14097
+ "region": {
14098
+ "type": "string",
14099
+ "id": 4,
14100
+ "options": {
14101
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
14102
+ }
14103
+ }
14104
+ }
14105
+ },
14106
+ "WorkspaceConfig": {
14107
+ "fields": {
14108
+ "type": {
14109
+ "type": "Type",
14110
+ "id": 1
14111
+ },
14112
+ "dasherCustomerId": {
14113
+ "type": "string",
14114
+ "id": 2
14115
+ }
14116
+ },
14117
+ "nested": {
14118
+ "Type": {
14119
+ "values": {
14120
+ "TYPE_UNSPECIFIED": 0,
14121
+ "GOOGLE_DRIVE": 1,
14122
+ "GOOGLE_MAIL": 2,
14123
+ "GOOGLE_SITES": 3,
14124
+ "GOOGLE_CALENDAR": 4,
14125
+ "GOOGLE_CHAT": 5,
14126
+ "GOOGLE_GROUPS": 6,
14127
+ "GOOGLE_KEEP": 7
12814
14128
  }
12815
14129
  }
12816
14130
  }
@@ -13077,6 +14391,7 @@
13077
14391
  "ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED": 0,
13078
14392
  "METATAGS": 1,
13079
14393
  "PAGEMAP": 2,
14394
+ "URI_PATTERN_MAPPING": 3,
13080
14395
  "SCHEMA_ORG": 4
13081
14396
  }
13082
14397
  }
@@ -13299,6 +14614,10 @@
13299
14614
  "createAdvancedSiteSearch": {
13300
14615
  "type": "bool",
13301
14616
  "id": 4
14617
+ },
14618
+ "skipDefaultSchemaCreation": {
14619
+ "type": "bool",
14620
+ "id": 7
13302
14621
  }
13303
14622
  }
13304
14623
  },
@@ -13634,6 +14953,28 @@
13634
14953
  "(google.api.method_signature)": "name"
13635
14954
  }
13636
14955
  ]
14956
+ },
14957
+ "BatchGetDocumentsMetadata": {
14958
+ "requestType": "BatchGetDocumentsMetadataRequest",
14959
+ "responseType": "BatchGetDocumentsMetadataResponse",
14960
+ "options": {
14961
+ "(google.api.http).get": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
14962
+ "(google.api.http).additional_bindings.get": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
14963
+ "(google.api.method_signature)": "parent"
14964
+ },
14965
+ "parsedOptions": [
14966
+ {
14967
+ "(google.api.http)": {
14968
+ "get": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
14969
+ "additional_bindings": {
14970
+ "get": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/batchGetDocumentsMetadata"
14971
+ }
14972
+ }
14973
+ },
14974
+ {
14975
+ "(google.api.method_signature)": "parent"
14976
+ }
14977
+ ]
13637
14978
  }
13638
14979
  }
13639
14980
  },
@@ -13778,6 +15119,103 @@
13778
15119
  }
13779
15120
  }
13780
15121
  },
15122
+ "BatchGetDocumentsMetadataRequest": {
15123
+ "fields": {
15124
+ "parent": {
15125
+ "type": "string",
15126
+ "id": 1,
15127
+ "options": {
15128
+ "(google.api.field_behavior)": "REQUIRED",
15129
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
15130
+ }
15131
+ },
15132
+ "matcher": {
15133
+ "type": "Matcher",
15134
+ "id": 2,
15135
+ "options": {
15136
+ "(google.api.field_behavior)": "REQUIRED"
15137
+ }
15138
+ }
15139
+ },
15140
+ "nested": {
15141
+ "UrisMatcher": {
15142
+ "fields": {
15143
+ "uris": {
15144
+ "rule": "repeated",
15145
+ "type": "string",
15146
+ "id": 1
15147
+ }
15148
+ }
15149
+ },
15150
+ "Matcher": {
15151
+ "oneofs": {
15152
+ "matcher": {
15153
+ "oneof": [
15154
+ "urisMatcher"
15155
+ ]
15156
+ }
15157
+ },
15158
+ "fields": {
15159
+ "urisMatcher": {
15160
+ "type": "UrisMatcher",
15161
+ "id": 1
15162
+ }
15163
+ }
15164
+ }
15165
+ }
15166
+ },
15167
+ "BatchGetDocumentsMetadataResponse": {
15168
+ "fields": {
15169
+ "documentsMetadata": {
15170
+ "rule": "repeated",
15171
+ "type": "DocumentMetadata",
15172
+ "id": 1
15173
+ }
15174
+ },
15175
+ "nested": {
15176
+ "DocumentMetadata": {
15177
+ "fields": {
15178
+ "matcherValue": {
15179
+ "type": "MatcherValue",
15180
+ "id": 2
15181
+ },
15182
+ "state": {
15183
+ "type": "State",
15184
+ "id": 3
15185
+ },
15186
+ "lastRefreshedTime": {
15187
+ "type": "google.protobuf.Timestamp",
15188
+ "id": 4
15189
+ }
15190
+ },
15191
+ "nested": {
15192
+ "MatcherValue": {
15193
+ "oneofs": {
15194
+ "matcherValue": {
15195
+ "oneof": [
15196
+ "uri"
15197
+ ]
15198
+ }
15199
+ },
15200
+ "fields": {
15201
+ "uri": {
15202
+ "type": "string",
15203
+ "id": 1
15204
+ }
15205
+ }
15206
+ }
15207
+ }
15208
+ },
15209
+ "State": {
15210
+ "values": {
15211
+ "STATE_UNSPECIFIED": 0,
15212
+ "INDEXED": 1,
15213
+ "NOT_IN_TARGET_SITE": 2,
15214
+ "NOT_IN_INDEX": 3
15215
+ }
15216
+ }
15217
+ }
15218
+ },
13781
15219
  "Engine": {
13782
15220
  "options": {
13783
15221
  "(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
@@ -17252,6 +18690,44 @@
17252
18690
  }
17253
18691
  }
17254
18692
  ]
18693
+ },
18694
+ "SetUriPatternDocumentData": {
18695
+ "requestType": "SetUriPatternDocumentDataRequest",
18696
+ "responseType": "google.longrunning.Operation",
18697
+ "options": {
18698
+ "(google.api.http).post": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:setUriPatternDocumentData",
18699
+ "(google.api.http).body": "*",
18700
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse",
18701
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata"
18702
+ },
18703
+ "parsedOptions": [
18704
+ {
18705
+ "(google.api.http)": {
18706
+ "post": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:setUriPatternDocumentData",
18707
+ "body": "*"
18708
+ }
18709
+ },
18710
+ {
18711
+ "(google.longrunning.operation_info)": {
18712
+ "response_type": "google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse",
18713
+ "metadata_type": "google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata"
18714
+ }
18715
+ }
18716
+ ]
18717
+ },
18718
+ "GetUriPatternDocumentData": {
18719
+ "requestType": "GetUriPatternDocumentDataRequest",
18720
+ "responseType": "GetUriPatternDocumentDataResponse",
18721
+ "options": {
18722
+ "(google.api.http).get": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:getUriPatternDocumentData"
18723
+ },
18724
+ "parsedOptions": [
18725
+ {
18726
+ "(google.api.http)": {
18727
+ "get": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:getUriPatternDocumentData"
18728
+ }
18729
+ }
18730
+ ]
17255
18731
  }
17256
18732
  }
17257
18733
  },
@@ -17658,6 +19134,67 @@
17658
19134
  }
17659
19135
  }
17660
19136
  },
19137
+ "SetUriPatternDocumentDataRequest": {
19138
+ "fields": {
19139
+ "siteSearchEngine": {
19140
+ "type": "string",
19141
+ "id": 1,
19142
+ "options": {
19143
+ "(google.api.field_behavior)": "REQUIRED",
19144
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/SiteSearchEngine"
19145
+ }
19146
+ },
19147
+ "documentDataMap": {
19148
+ "keyType": "string",
19149
+ "type": "google.protobuf.Struct",
19150
+ "id": 2
19151
+ },
19152
+ "emptyDocumentDataMap": {
19153
+ "type": "bool",
19154
+ "id": 4
19155
+ },
19156
+ "schema": {
19157
+ "type": "google.protobuf.Struct",
19158
+ "id": 3
19159
+ }
19160
+ }
19161
+ },
19162
+ "SetUriPatternDocumentDataResponse": {
19163
+ "fields": {}
19164
+ },
19165
+ "SetUriPatternDocumentDataMetadata": {
19166
+ "fields": {
19167
+ "createTime": {
19168
+ "type": "google.protobuf.Timestamp",
19169
+ "id": 1
19170
+ },
19171
+ "updateTime": {
19172
+ "type": "google.protobuf.Timestamp",
19173
+ "id": 2
19174
+ }
19175
+ }
19176
+ },
19177
+ "GetUriPatternDocumentDataRequest": {
19178
+ "fields": {
19179
+ "siteSearchEngine": {
19180
+ "type": "string",
19181
+ "id": 1,
19182
+ "options": {
19183
+ "(google.api.field_behavior)": "REQUIRED",
19184
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/SiteSearchEngine"
19185
+ }
19186
+ }
19187
+ }
19188
+ },
19189
+ "GetUriPatternDocumentDataResponse": {
19190
+ "fields": {
19191
+ "documentDataMap": {
19192
+ "keyType": "string",
19193
+ "type": "google.protobuf.Struct",
19194
+ "id": 1
19195
+ }
19196
+ }
19197
+ },
17661
19198
  "UserEventService": {
17662
19199
  "options": {
17663
19200
  "(google.api.default_host)": "discoveryengine.googleapis.com",
@@ -17697,15 +19234,20 @@
17697
19234
  "responseType": "google.api.HttpBody",
17698
19235
  "options": {
17699
19236
  "(google.api.http).get": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
17700
- "(google.api.http).additional_bindings.get": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
19237
+ "(google.api.http).additional_bindings.get": "/v1alpha/{parent=projects/*/locations/*}/userEvents:collect"
17701
19238
  },
17702
19239
  "parsedOptions": [
17703
19240
  {
17704
19241
  "(google.api.http)": {
17705
19242
  "get": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
17706
- "additional_bindings": {
17707
- "get": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
17708
- }
19243
+ "additional_bindings": [
19244
+ {
19245
+ "get": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
19246
+ },
19247
+ {
19248
+ "get": "/v1alpha/{parent=projects/*/locations/*}/userEvents:collect"
19249
+ }
19250
+ ]
17709
19251
  }
17710
19252
  }
17711
19253
  ]
@@ -17960,7 +19502,8 @@
17960
19502
  "content": {
17961
19503
  "oneof": [
17962
19504
  "unstructuredDocumentInfo",
17963
- "chunkInfo"
19505
+ "chunkInfo",
19506
+ "structuredDocumentInfo"
17964
19507
  ]
17965
19508
  }
17966
19509
  },
@@ -17972,6 +19515,10 @@
17972
19515
  "chunkInfo": {
17973
19516
  "type": "ChunkInfo",
17974
19517
  "id": 2
19518
+ },
19519
+ "structuredDocumentInfo": {
19520
+ "type": "StructuredDocumentInfo",
19521
+ "id": 3
17975
19522
  }
17976
19523
  },
17977
19524
  "nested": {
@@ -18004,6 +19551,13 @@
18004
19551
  },
18005
19552
  "nested": {
18006
19553
  "ChunkContent": {
19554
+ "oneofs": {
19555
+ "_relevanceScore": {
19556
+ "oneof": [
19557
+ "relevanceScore"
19558
+ ]
19559
+ }
19560
+ },
18007
19561
  "fields": {
18008
19562
  "content": {
18009
19563
  "type": "string",
@@ -18012,6 +19566,13 @@
18012
19566
  "pageIdentifier": {
18013
19567
  "type": "string",
18014
19568
  "id": 2
19569
+ },
19570
+ "relevanceScore": {
19571
+ "type": "float",
19572
+ "id": 3,
19573
+ "options": {
19574
+ "proto3_optional": true
19575
+ }
18015
19576
  }
18016
19577
  }
18017
19578
  }
@@ -18078,6 +19639,21 @@
18078
19639
  }
18079
19640
  }
18080
19641
  }
19642
+ },
19643
+ "StructuredDocumentInfo": {
19644
+ "fields": {
19645
+ "document": {
19646
+ "type": "string",
19647
+ "id": 1,
19648
+ "options": {
19649
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
19650
+ }
19651
+ },
19652
+ "structData": {
19653
+ "type": "google.protobuf.Struct",
19654
+ "id": 2
19655
+ }
19656
+ }
18081
19657
  }
18082
19658
  }
18083
19659
  },
@@ -18247,7 +19823,8 @@
18247
19823
  "values": {
18248
19824
  "TYPE_UNSPECIFIED": 0,
18249
19825
  "ADVERSARIAL_QUERY": 1,
18250
- "NON_ANSWER_SEEKING_QUERY": 2
19826
+ "NON_ANSWER_SEEKING_QUERY": 2,
19827
+ "JAIL_BREAKING_QUERY": 3
18251
19828
  }
18252
19829
  }
18253
19830
  }
@@ -18269,7 +19846,9 @@
18269
19846
  "NON_ANSWER_SEEKING_QUERY_IGNORED": 2,
18270
19847
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
18271
19848
  "POTENTIAL_POLICY_VIOLATION": 4,
18272
- "NO_RELEVANT_CONTENT": 5
19849
+ "NO_RELEVANT_CONTENT": 5,
19850
+ "JAIL_BREAKING_QUERY_IGNORED": 6,
19851
+ "CUSTOMER_POLICY_VIOLATION": 7
18273
19852
  }
18274
19853
  }
18275
19854
  }
@@ -18975,6 +20554,11 @@
18975
20554
  "gcsStagingDir": {
18976
20555
  "type": "string",
18977
20556
  "id": 2
20557
+ },
20558
+ "resourceTypes": {
20559
+ "rule": "repeated",
20560
+ "type": "string",
20561
+ "id": 3
18978
20562
  }
18979
20563
  }
18980
20564
  },
@@ -19633,6 +21217,13 @@
19633
21217
  "options": {
19634
21218
  "(google.api.field_behavior)": "OUTPUT_ONLY"
19635
21219
  }
21220
+ },
21221
+ "indexStatus": {
21222
+ "type": "IndexStatus",
21223
+ "id": 15,
21224
+ "options": {
21225
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
21226
+ }
19636
21227
  }
19637
21228
  },
19638
21229
  "nested": {
@@ -19659,6 +21250,19 @@
19659
21250
  "id": 1
19660
21251
  }
19661
21252
  }
21253
+ },
21254
+ "IndexStatus": {
21255
+ "fields": {
21256
+ "indexTime": {
21257
+ "type": "google.protobuf.Timestamp",
21258
+ "id": 1
21259
+ },
21260
+ "errorSamples": {
21261
+ "rule": "repeated",
21262
+ "type": "google.rpc.Status",
21263
+ "id": 2
21264
+ }
21265
+ }
19662
21266
  }
19663
21267
  }
19664
21268
  },
@@ -20008,6 +21612,13 @@
20008
21612
  "rule": "repeated",
20009
21613
  "type": "string",
20010
21614
  "id": 4
21615
+ },
21616
+ "joined": {
21617
+ "type": "bool",
21618
+ "id": 5,
21619
+ "options": {
21620
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
21621
+ }
20011
21622
  }
20012
21623
  }
20013
21624
  },
@@ -20125,8 +21736,39 @@
20125
21736
  }
20126
21737
  }
20127
21738
  },
21739
+ "PurgeErrorConfig": {
21740
+ "oneofs": {
21741
+ "destination": {
21742
+ "oneof": [
21743
+ "gcsPrefix"
21744
+ ]
21745
+ }
21746
+ },
21747
+ "fields": {
21748
+ "gcsPrefix": {
21749
+ "type": "string",
21750
+ "id": 1
21751
+ }
21752
+ }
21753
+ },
20128
21754
  "PurgeDocumentsRequest": {
21755
+ "oneofs": {
21756
+ "source": {
21757
+ "oneof": [
21758
+ "gcsSource",
21759
+ "inlineSource"
21760
+ ]
21761
+ }
21762
+ },
20129
21763
  "fields": {
21764
+ "gcsSource": {
21765
+ "type": "GcsSource",
21766
+ "id": 5
21767
+ },
21768
+ "inlineSource": {
21769
+ "type": "InlineSource",
21770
+ "id": 6
21771
+ },
20130
21772
  "parent": {
20131
21773
  "type": "string",
20132
21774
  "id": 1,
@@ -20142,10 +21784,29 @@
20142
21784
  "(google.api.field_behavior)": "REQUIRED"
20143
21785
  }
20144
21786
  },
21787
+ "errorConfig": {
21788
+ "type": "PurgeErrorConfig",
21789
+ "id": 7
21790
+ },
20145
21791
  "force": {
20146
21792
  "type": "bool",
20147
21793
  "id": 3
20148
21794
  }
21795
+ },
21796
+ "nested": {
21797
+ "InlineSource": {
21798
+ "fields": {
21799
+ "documents": {
21800
+ "rule": "repeated",
21801
+ "type": "string",
21802
+ "id": 1,
21803
+ "options": {
21804
+ "(google.api.field_behavior)": "REQUIRED",
21805
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
21806
+ }
21807
+ }
21808
+ }
21809
+ }
20149
21810
  }
20150
21811
  },
20151
21812
  "PurgeDocumentsResponse": {
@@ -21027,6 +22688,10 @@
21027
22688
  "sessionSpec": {
21028
22689
  "type": "SessionSpec",
21029
22690
  "id": 42
22691
+ },
22692
+ "relevanceThreshold": {
22693
+ "type": "RelevanceThreshold",
22694
+ "id": 44
21030
22695
  }
21031
22696
  },
21032
22697
  "nested": {
@@ -21301,6 +22966,10 @@
21301
22966
  "type": "bool",
21302
22967
  "id": 4
21303
22968
  },
22969
+ "ignoreLowRelevantContent": {
22970
+ "type": "bool",
22971
+ "id": 9
22972
+ },
21304
22973
  "modelPromptSpec": {
21305
22974
  "type": "ModelPromptSpec",
21306
22975
  "id": 5
@@ -21466,6 +23135,15 @@
21466
23135
  }
21467
23136
  }
21468
23137
  }
23138
+ },
23139
+ "RelevanceThreshold": {
23140
+ "values": {
23141
+ "RELEVANCE_THRESHOLD_UNSPECIFIED": 0,
23142
+ "LOWEST": 1,
23143
+ "LOW": 2,
23144
+ "MEDIUM": 3,
23145
+ "HIGH": 4
23146
+ }
21469
23147
  }
21470
23148
  }
21471
23149
  },
@@ -21530,6 +23208,11 @@
21530
23208
  "sessionInfo": {
21531
23209
  "type": "SessionInfo",
21532
23210
  "id": 19
23211
+ },
23212
+ "oneBoxResults": {
23213
+ "rule": "repeated",
23214
+ "type": "OneBoxResult",
23215
+ "id": 20
21533
23216
  }
21534
23217
  },
21535
23218
  "nested": {
@@ -21758,7 +23441,9 @@
21758
23441
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
21759
23442
  "POTENTIAL_POLICY_VIOLATION": 4,
21760
23443
  "LLM_ADDON_NOT_ENABLED": 5,
21761
- "NO_RELEVANT_CONTENT": 6
23444
+ "NO_RELEVANT_CONTENT": 6,
23445
+ "JAIL_BREAKING_QUERY_IGNORED": 7,
23446
+ "CUSTOMER_POLICY_VIOLATION": 8
21762
23447
  }
21763
23448
  }
21764
23449
  }
@@ -21821,6 +23506,10 @@
21821
23506
  "rule": "repeated",
21822
23507
  "type": "string",
21823
23508
  "id": 2
23509
+ },
23510
+ "querySegment": {
23511
+ "type": "string",
23512
+ "id": 3
21824
23513
  }
21825
23514
  }
21826
23515
  },
@@ -21837,6 +23526,10 @@
21837
23526
  "value": {
21838
23527
  "type": "double",
21839
23528
  "id": 3
23529
+ },
23530
+ "querySegment": {
23531
+ "type": "string",
23532
+ "id": 4
21840
23533
  }
21841
23534
  },
21842
23535
  "nested": {
@@ -21862,6 +23555,14 @@
21862
23555
  "type": "string",
21863
23556
  "id": 2
21864
23557
  },
23558
+ "latitude": {
23559
+ "type": "double",
23560
+ "id": 4
23561
+ },
23562
+ "longitude": {
23563
+ "type": "double",
23564
+ "id": 5
23565
+ },
21865
23566
  "radiusInMeters": {
21866
23567
  "type": "float",
21867
23568
  "id": 3
@@ -21936,6 +23637,29 @@
21936
23637
  "id": 2
21937
23638
  }
21938
23639
  }
23640
+ },
23641
+ "OneBoxResult": {
23642
+ "fields": {
23643
+ "oneBoxType": {
23644
+ "type": "OneBoxType",
23645
+ "id": 1
23646
+ },
23647
+ "searchResults": {
23648
+ "rule": "repeated",
23649
+ "type": "SearchResult",
23650
+ "id": 2
23651
+ }
23652
+ },
23653
+ "nested": {
23654
+ "OneBoxType": {
23655
+ "values": {
23656
+ "ONE_BOX_TYPE_UNSPECIFIED": 0,
23657
+ "PEOPLE": 1,
23658
+ "ORGANIZATION": 2,
23659
+ "SLACK": 3
23660
+ }
23661
+ }
23662
+ }
21939
23663
  }
21940
23664
  }
21941
23665
  },
@@ -22827,7 +24551,8 @@
22827
24551
  "values": {
22828
24552
  "TYPE_UNSPECIFIED": 0,
22829
24553
  "ADVERSARIAL_QUERY": 1,
22830
- "NON_ANSWER_SEEKING_QUERY": 2
24554
+ "NON_ANSWER_SEEKING_QUERY": 2,
24555
+ "JAIL_BREAKING_QUERY": 3
22831
24556
  }
22832
24557
  }
22833
24558
  }
@@ -23111,7 +24836,8 @@
23111
24836
  "TRAINING_COMPLETE": 3,
23112
24837
  "READY_FOR_SERVING": 4,
23113
24838
  "TRAINING_FAILED": 5,
23114
- "NO_IMPROVEMENT": 6
24839
+ "NO_IMPROVEMENT": 6,
24840
+ "INPUT_VALIDATION_FAILED": 7
23115
24841
  }
23116
24842
  }
23117
24843
  }
@@ -23817,6 +25543,28 @@
23817
25543
  }
23818
25544
  }
23819
25545
  ]
25546
+ },
25547
+ "BatchGetDocumentsMetadata": {
25548
+ "requestType": "BatchGetDocumentsMetadataRequest",
25549
+ "responseType": "BatchGetDocumentsMetadataResponse",
25550
+ "options": {
25551
+ "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
25552
+ "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
25553
+ "(google.api.method_signature)": "parent"
25554
+ },
25555
+ "parsedOptions": [
25556
+ {
25557
+ "(google.api.http)": {
25558
+ "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/batchGetDocumentsMetadata",
25559
+ "additional_bindings": {
25560
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/batchGetDocumentsMetadata"
25561
+ }
25562
+ }
25563
+ },
25564
+ {
25565
+ "(google.api.method_signature)": "parent"
25566
+ }
25567
+ ]
23820
25568
  }
23821
25569
  }
23822
25570
  },
@@ -23922,6 +25670,107 @@
23922
25670
  }
23923
25671
  }
23924
25672
  },
25673
+ "BatchGetDocumentsMetadataRequest": {
25674
+ "fields": {
25675
+ "parent": {
25676
+ "type": "string",
25677
+ "id": 1,
25678
+ "options": {
25679
+ "(google.api.field_behavior)": "REQUIRED",
25680
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
25681
+ }
25682
+ },
25683
+ "matcher": {
25684
+ "type": "Matcher",
25685
+ "id": 2,
25686
+ "options": {
25687
+ "(google.api.field_behavior)": "REQUIRED"
25688
+ }
25689
+ }
25690
+ },
25691
+ "nested": {
25692
+ "UrisMatcher": {
25693
+ "fields": {
25694
+ "uris": {
25695
+ "rule": "repeated",
25696
+ "type": "string",
25697
+ "id": 1
25698
+ }
25699
+ }
25700
+ },
25701
+ "Matcher": {
25702
+ "oneofs": {
25703
+ "matcher": {
25704
+ "oneof": [
25705
+ "urisMatcher"
25706
+ ]
25707
+ }
25708
+ },
25709
+ "fields": {
25710
+ "urisMatcher": {
25711
+ "type": "UrisMatcher",
25712
+ "id": 1
25713
+ }
25714
+ }
25715
+ }
25716
+ }
25717
+ },
25718
+ "BatchGetDocumentsMetadataResponse": {
25719
+ "fields": {
25720
+ "documentsMetadata": {
25721
+ "rule": "repeated",
25722
+ "type": "DocumentMetadata",
25723
+ "id": 1
25724
+ }
25725
+ },
25726
+ "nested": {
25727
+ "DocumentMetadata": {
25728
+ "fields": {
25729
+ "matcherValue": {
25730
+ "type": "MatcherValue",
25731
+ "id": 2
25732
+ },
25733
+ "state": {
25734
+ "type": "State",
25735
+ "id": 3
25736
+ },
25737
+ "lastRefreshedTime": {
25738
+ "type": "google.protobuf.Timestamp",
25739
+ "id": 4
25740
+ },
25741
+ "dataIngestionSource": {
25742
+ "type": "string",
25743
+ "id": 5
25744
+ }
25745
+ },
25746
+ "nested": {
25747
+ "MatcherValue": {
25748
+ "oneofs": {
25749
+ "matcherValue": {
25750
+ "oneof": [
25751
+ "uri"
25752
+ ]
25753
+ }
25754
+ },
25755
+ "fields": {
25756
+ "uri": {
25757
+ "type": "string",
25758
+ "id": 1
25759
+ }
25760
+ }
25761
+ }
25762
+ }
25763
+ },
25764
+ "State": {
25765
+ "values": {
25766
+ "STATE_UNSPECIFIED": 0,
25767
+ "INDEXED": 1,
25768
+ "NOT_IN_TARGET_SITE": 2,
25769
+ "NOT_IN_INDEX": 3
25770
+ }
25771
+ }
25772
+ }
25773
+ },
23925
25774
  "Engine": {
23926
25775
  "options": {
23927
25776
  "(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
@@ -29521,15 +31370,6 @@
29521
31370
  }
29522
31371
  }
29523
31372
  },
29524
- "FieldMask": {
29525
- "fields": {
29526
- "paths": {
29527
- "rule": "repeated",
29528
- "type": "string",
29529
- "id": 1
29530
- }
29531
- }
29532
- },
29533
31373
  "Any": {
29534
31374
  "fields": {
29535
31375
  "type_url": {
@@ -29542,6 +31382,15 @@
29542
31382
  }
29543
31383
  }
29544
31384
  },
31385
+ "FieldMask": {
31386
+ "fields": {
31387
+ "paths": {
31388
+ "rule": "repeated",
31389
+ "type": "string",
31390
+ "id": 1
31391
+ }
31392
+ }
31393
+ },
29545
31394
  "Empty": {
29546
31395
  "fields": {}
29547
31396
  }