@google-cloud/discoveryengine 1.13.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 (92) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +6 -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 +6 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +1 -1
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +3 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +48 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +20 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +107 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +2 -1
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +7 -7
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +21 -1
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +47 -2
  32. package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +3 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +3 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +20 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +114 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +2 -1
  39. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +13 -7
  40. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +44 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +101 -6
  42. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -0
  43. package/build/protos/protos.d.ts +7369 -2842
  44. package/build/protos/protos.js +13311 -2062
  45. package/build/protos/protos.json +1096 -45
  46. package/build/src/index.d.ts +4 -1
  47. package/build/src/index.js +4 -1
  48. package/build/src/v1/completion_service_client.d.ts +93 -0
  49. package/build/src/v1/completion_service_client.js +134 -0
  50. package/build/src/v1/control_service_client.d.ts +93 -0
  51. package/build/src/v1/control_service_client.js +128 -0
  52. package/build/src/v1/conversational_search_service_client.d.ts +93 -0
  53. package/build/src/v1/conversational_search_service_client.js +128 -0
  54. package/build/src/v1/data_store_service_client.d.ts +102 -0
  55. package/build/src/v1/data_store_service_client.js +134 -0
  56. package/build/src/v1/document_service_client.d.ts +131 -0
  57. package/build/src/v1/document_service_client.js +156 -0
  58. package/build/src/v1/document_service_client_config.json +5 -0
  59. package/build/src/v1/engine_service_client.d.ts +93 -0
  60. package/build/src/v1/engine_service_client.js +134 -0
  61. package/build/src/v1/grounded_generation_service_client.d.ts +93 -0
  62. package/build/src/v1/grounded_generation_service_client.js +128 -0
  63. package/build/src/v1/index.d.ts +1 -0
  64. package/build/src/v1/index.js +3 -1
  65. package/build/src/v1/project_service_client.d.ts +93 -0
  66. package/build/src/v1/project_service_client.js +134 -0
  67. package/build/src/v1/rank_service_client.d.ts +93 -0
  68. package/build/src/v1/rank_service_client.js +128 -0
  69. package/build/src/v1/recommendation_service_client.d.ts +95 -1
  70. package/build/src/v1/recommendation_service_client.js +128 -0
  71. package/build/src/v1/schema_service_client.d.ts +93 -0
  72. package/build/src/v1/schema_service_client.js +134 -0
  73. package/build/src/v1/search_service_client.d.ts +111 -9
  74. package/build/src/v1/search_service_client.js +140 -6
  75. package/build/src/v1/search_tuning_service_client.d.ts +1776 -0
  76. package/build/src/v1/search_tuning_service_client.js +2589 -0
  77. package/build/src/v1/search_tuning_service_client_config.json +34 -0
  78. package/build/src/v1/site_search_engine_service_client.d.ts +93 -0
  79. package/build/src/v1/site_search_engine_service_client.js +134 -0
  80. package/build/src/v1/user_event_service_client.d.ts +168 -0
  81. package/build/src/v1/user_event_service_client.js +176 -0
  82. package/build/src/v1/user_event_service_client_config.json +5 -0
  83. package/build/src/v1alpha/acl_config_service_client.d.ts +1 -1
  84. package/build/src/v1alpha/document_service_client.d.ts +29 -0
  85. package/build/src/v1alpha/document_service_client.js +22 -0
  86. package/build/src/v1alpha/document_service_client_config.json +5 -0
  87. package/build/src/v1beta/document_service_client.d.ts +38 -0
  88. package/build/src/v1beta/document_service_client.js +22 -0
  89. package/build/src/v1beta/document_service_client_config.json +5 -0
  90. package/build/src/v1beta/search_service_client.d.ts +36 -9
  91. package/build/src/v1beta/search_service_client.js +24 -6
  92. package/package.json +1 -1
@@ -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,6 +5647,107 @@
5385
5647
  }
5386
5648
  }
5387
5649
  },
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
+ }
5659
+ },
5660
+ "matcher": {
5661
+ "type": "Matcher",
5662
+ "id": 2,
5663
+ "options": {
5664
+ "(google.api.field_behavior)": "REQUIRED"
5665
+ }
5666
+ }
5667
+ },
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
+ },
5388
5751
  "Engine": {
5389
5752
  "options": {
5390
5753
  "(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
@@ -6563,39 +6926,201 @@
6563
6926
  "fields": {
6564
6927
  "name": {
6565
6928
  "type": "string",
6566
- "id": 1,
6567
- "options": {
6568
- "(google.api.field_behavior)": "REQUIRED",
6569
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
6929
+ "id": 1,
6930
+ "options": {
6931
+ "(google.api.field_behavior)": "REQUIRED",
6932
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
6933
+ }
6934
+ }
6935
+ }
6936
+ },
6937
+ "CreateSchemaMetadata": {
6938
+ "fields": {
6939
+ "createTime": {
6940
+ "type": "google.protobuf.Timestamp",
6941
+ "id": 1
6942
+ },
6943
+ "updateTime": {
6944
+ "type": "google.protobuf.Timestamp",
6945
+ "id": 2
6946
+ }
6947
+ }
6948
+ },
6949
+ "UpdateSchemaMetadata": {
6950
+ "fields": {
6951
+ "createTime": {
6952
+ "type": "google.protobuf.Timestamp",
6953
+ "id": 1
6954
+ },
6955
+ "updateTime": {
6956
+ "type": "google.protobuf.Timestamp",
6957
+ "id": 2
6958
+ }
6959
+ }
6960
+ },
6961
+ "DeleteSchemaMetadata": {
6962
+ "fields": {
6963
+ "createTime": {
6964
+ "type": "google.protobuf.Timestamp",
6965
+ "id": 1
6966
+ },
6967
+ "updateTime": {
6968
+ "type": "google.protobuf.Timestamp",
6969
+ "id": 2
6970
+ }
6971
+ }
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
+ }
6570
7093
  }
6571
7094
  }
6572
7095
  }
6573
7096
  },
6574
- "CreateSchemaMetadata": {
7097
+ "TrainCustomModelResponse": {
6575
7098
  "fields": {
6576
- "createTime": {
6577
- "type": "google.protobuf.Timestamp",
7099
+ "errorSamples": {
7100
+ "rule": "repeated",
7101
+ "type": "google.rpc.Status",
6578
7102
  "id": 1
6579
7103
  },
6580
- "updateTime": {
6581
- "type": "google.protobuf.Timestamp",
7104
+ "errorConfig": {
7105
+ "type": "ImportErrorConfig",
6582
7106
  "id": 2
6583
- }
6584
- }
6585
- },
6586
- "UpdateSchemaMetadata": {
6587
- "fields": {
6588
- "createTime": {
6589
- "type": "google.protobuf.Timestamp",
6590
- "id": 1
6591
7107
  },
6592
- "updateTime": {
6593
- "type": "google.protobuf.Timestamp",
6594
- "id": 2
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
6595
7120
  }
6596
7121
  }
6597
7122
  },
6598
- "DeleteSchemaMetadata": {
7123
+ "TrainCustomModelMetadata": {
6599
7124
  "fields": {
6600
7125
  "createTime": {
6601
7126
  "type": "google.protobuf.Timestamp",
@@ -7549,6 +8074,36 @@
7549
8074
  }
7550
8075
  ]
7551
8076
  },
8077
+ "PurgeUserEvents": {
8078
+ "requestType": "PurgeUserEventsRequest",
8079
+ "responseType": "google.longrunning.Operation",
8080
+ "options": {
8081
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:purge",
8082
+ "(google.api.http).body": "*",
8083
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:purge",
8084
+ "(google.api.http).additional_bindings.body": "*",
8085
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.PurgeUserEventsResponse",
8086
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.PurgeUserEventsMetadata"
8087
+ },
8088
+ "parsedOptions": [
8089
+ {
8090
+ "(google.api.http)": {
8091
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:purge",
8092
+ "body": "*",
8093
+ "additional_bindings": {
8094
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:purge",
8095
+ "body": "*"
8096
+ }
8097
+ }
8098
+ },
8099
+ {
8100
+ "(google.longrunning.operation_info)": {
8101
+ "response_type": "google.cloud.discoveryengine.v1.PurgeUserEventsResponse",
8102
+ "metadata_type": "google.cloud.discoveryengine.v1.PurgeUserEventsMetadata"
8103
+ }
8104
+ }
8105
+ ]
8106
+ },
7552
8107
  "ImportUserEvents": {
7553
8108
  "requestType": "ImportUserEventsRequest",
7554
8109
  "responseType": "google.longrunning.Operation",
@@ -8385,7 +8940,8 @@
8385
8940
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
8386
8941
  "POTENTIAL_POLICY_VIOLATION": 4,
8387
8942
  "NO_RELEVANT_CONTENT": 5,
8388
- "JAIL_BREAKING_QUERY_IGNORED": 6
8943
+ "JAIL_BREAKING_QUERY_IGNORED": 6,
8944
+ "CUSTOMER_POLICY_VIOLATION": 7
8389
8945
  }
8390
8946
  }
8391
8947
  }
@@ -9741,6 +10297,13 @@
9741
10297
  "options": {
9742
10298
  "(google.api.field_behavior)": "OUTPUT_ONLY"
9743
10299
  }
10300
+ },
10301
+ "indexStatus": {
10302
+ "type": "IndexStatus",
10303
+ "id": 15,
10304
+ "options": {
10305
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
10306
+ }
9744
10307
  }
9745
10308
  },
9746
10309
  "nested": {
@@ -9791,6 +10354,19 @@
9791
10354
  }
9792
10355
  }
9793
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
+ }
9794
10370
  }
9795
10371
  }
9796
10372
  },
@@ -10163,6 +10739,13 @@
10163
10739
  "rule": "repeated",
10164
10740
  "type": "string",
10165
10741
  "id": 4
10742
+ },
10743
+ "joined": {
10744
+ "type": "bool",
10745
+ "id": 5,
10746
+ "options": {
10747
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
10748
+ }
10166
10749
  }
10167
10750
  }
10168
10751
  },
@@ -11990,7 +12573,9 @@
11990
12573
  "POTENTIAL_POLICY_VIOLATION": 4,
11991
12574
  "LLM_ADDON_NOT_ENABLED": 5,
11992
12575
  "NO_RELEVANT_CONTENT": 6,
11993
- "JAIL_BREAKING_QUERY_IGNORED": 7
12576
+ "JAIL_BREAKING_QUERY_IGNORED": 7,
12577
+ "CUSTOMER_POLICY_VIOLATION": 8,
12578
+ "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2": 9
11994
12579
  }
11995
12580
  }
11996
12581
  }
@@ -12053,6 +12638,10 @@
12053
12638
  "rule": "repeated",
12054
12639
  "type": "string",
12055
12640
  "id": 2
12641
+ },
12642
+ "querySegment": {
12643
+ "type": "string",
12644
+ "id": 3
12056
12645
  }
12057
12646
  }
12058
12647
  },
@@ -12069,6 +12658,10 @@
12069
12658
  "value": {
12070
12659
  "type": "double",
12071
12660
  "id": 3
12661
+ },
12662
+ "querySegment": {
12663
+ "type": "string",
12664
+ "id": 4
12072
12665
  }
12073
12666
  },
12074
12667
  "nested": {
@@ -13379,7 +13972,8 @@
13379
13972
  "TRAINING_COMPLETE": 3,
13380
13973
  "READY_FOR_SERVING": 4,
13381
13974
  "TRAINING_FAILED": 5,
13382
- "NO_IMPROVEMENT": 6
13975
+ "NO_IMPROVEMENT": 6,
13976
+ "INPUT_VALIDATION_FAILED": 7
13383
13977
  }
13384
13978
  }
13385
13979
  }
@@ -13455,6 +14049,10 @@
13455
14049
  "(google.api.field_behavior)": "IMMUTABLE"
13456
14050
  }
13457
14051
  },
14052
+ "workspaceConfig": {
14053
+ "type": "WorkspaceConfig",
14054
+ "id": 25
14055
+ },
13458
14056
  "documentProcessingConfig": {
13459
14057
  "type": "DocumentProcessingConfig",
13460
14058
  "id": 27
@@ -13470,7 +14068,8 @@
13470
14068
  "CONTENT_CONFIG_UNSPECIFIED": 0,
13471
14069
  "NO_CONTENT": 1,
13472
14070
  "CONTENT_REQUIRED": 2,
13473
- "PUBLIC_WEBSITE": 3
14071
+ "PUBLIC_WEBSITE": 3,
14072
+ "GOOGLE_WORKSPACE": 4
13474
14073
  }
13475
14074
  }
13476
14075
  }
@@ -13504,6 +14103,32 @@
13504
14103
  }
13505
14104
  }
13506
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
14128
+ }
14129
+ }
14130
+ }
14131
+ },
13507
14132
  "DocumentProcessingConfig": {
13508
14133
  "options": {
13509
14134
  "(google.api.resource).type": "discoveryengine.googleapis.com/DocumentProcessingConfig",
@@ -14328,6 +14953,28 @@
14328
14953
  "(google.api.method_signature)": "name"
14329
14954
  }
14330
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
+ ]
14331
14978
  }
14332
14979
  }
14333
14980
  },
@@ -14472,6 +15119,103 @@
14472
15119
  }
14473
15120
  }
14474
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
+ },
14475
15219
  "Engine": {
14476
15220
  "options": {
14477
15221
  "(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
@@ -18758,7 +19502,8 @@
18758
19502
  "content": {
18759
19503
  "oneof": [
18760
19504
  "unstructuredDocumentInfo",
18761
- "chunkInfo"
19505
+ "chunkInfo",
19506
+ "structuredDocumentInfo"
18762
19507
  ]
18763
19508
  }
18764
19509
  },
@@ -18770,6 +19515,10 @@
18770
19515
  "chunkInfo": {
18771
19516
  "type": "ChunkInfo",
18772
19517
  "id": 2
19518
+ },
19519
+ "structuredDocumentInfo": {
19520
+ "type": "StructuredDocumentInfo",
19521
+ "id": 3
18773
19522
  }
18774
19523
  },
18775
19524
  "nested": {
@@ -18802,6 +19551,13 @@
18802
19551
  },
18803
19552
  "nested": {
18804
19553
  "ChunkContent": {
19554
+ "oneofs": {
19555
+ "_relevanceScore": {
19556
+ "oneof": [
19557
+ "relevanceScore"
19558
+ ]
19559
+ }
19560
+ },
18805
19561
  "fields": {
18806
19562
  "content": {
18807
19563
  "type": "string",
@@ -18810,6 +19566,13 @@
18810
19566
  "pageIdentifier": {
18811
19567
  "type": "string",
18812
19568
  "id": 2
19569
+ },
19570
+ "relevanceScore": {
19571
+ "type": "float",
19572
+ "id": 3,
19573
+ "options": {
19574
+ "proto3_optional": true
19575
+ }
18813
19576
  }
18814
19577
  }
18815
19578
  }
@@ -18876,6 +19639,21 @@
18876
19639
  }
18877
19640
  }
18878
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
+ }
18879
19657
  }
18880
19658
  }
18881
19659
  },
@@ -19045,7 +19823,8 @@
19045
19823
  "values": {
19046
19824
  "TYPE_UNSPECIFIED": 0,
19047
19825
  "ADVERSARIAL_QUERY": 1,
19048
- "NON_ANSWER_SEEKING_QUERY": 2
19826
+ "NON_ANSWER_SEEKING_QUERY": 2,
19827
+ "JAIL_BREAKING_QUERY": 3
19049
19828
  }
19050
19829
  }
19051
19830
  }
@@ -19067,7 +19846,9 @@
19067
19846
  "NON_ANSWER_SEEKING_QUERY_IGNORED": 2,
19068
19847
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
19069
19848
  "POTENTIAL_POLICY_VIOLATION": 4,
19070
- "NO_RELEVANT_CONTENT": 5
19849
+ "NO_RELEVANT_CONTENT": 5,
19850
+ "JAIL_BREAKING_QUERY_IGNORED": 6,
19851
+ "CUSTOMER_POLICY_VIOLATION": 7
19071
19852
  }
19072
19853
  }
19073
19854
  }
@@ -19773,6 +20554,11 @@
19773
20554
  "gcsStagingDir": {
19774
20555
  "type": "string",
19775
20556
  "id": 2
20557
+ },
20558
+ "resourceTypes": {
20559
+ "rule": "repeated",
20560
+ "type": "string",
20561
+ "id": 3
19776
20562
  }
19777
20563
  }
19778
20564
  },
@@ -20431,6 +21217,13 @@
20431
21217
  "options": {
20432
21218
  "(google.api.field_behavior)": "OUTPUT_ONLY"
20433
21219
  }
21220
+ },
21221
+ "indexStatus": {
21222
+ "type": "IndexStatus",
21223
+ "id": 15,
21224
+ "options": {
21225
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
21226
+ }
20434
21227
  }
20435
21228
  },
20436
21229
  "nested": {
@@ -20457,6 +21250,19 @@
20457
21250
  "id": 1
20458
21251
  }
20459
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
+ }
20460
21266
  }
20461
21267
  }
20462
21268
  },
@@ -20806,6 +21612,13 @@
20806
21612
  "rule": "repeated",
20807
21613
  "type": "string",
20808
21614
  "id": 4
21615
+ },
21616
+ "joined": {
21617
+ "type": "bool",
21618
+ "id": 5,
21619
+ "options": {
21620
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
21621
+ }
20809
21622
  }
20810
21623
  }
20811
21624
  },
@@ -20923,8 +21736,39 @@
20923
21736
  }
20924
21737
  }
20925
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
+ },
20926
21754
  "PurgeDocumentsRequest": {
21755
+ "oneofs": {
21756
+ "source": {
21757
+ "oneof": [
21758
+ "gcsSource",
21759
+ "inlineSource"
21760
+ ]
21761
+ }
21762
+ },
20927
21763
  "fields": {
21764
+ "gcsSource": {
21765
+ "type": "GcsSource",
21766
+ "id": 5
21767
+ },
21768
+ "inlineSource": {
21769
+ "type": "InlineSource",
21770
+ "id": 6
21771
+ },
20928
21772
  "parent": {
20929
21773
  "type": "string",
20930
21774
  "id": 1,
@@ -20940,10 +21784,29 @@
20940
21784
  "(google.api.field_behavior)": "REQUIRED"
20941
21785
  }
20942
21786
  },
21787
+ "errorConfig": {
21788
+ "type": "PurgeErrorConfig",
21789
+ "id": 7
21790
+ },
20943
21791
  "force": {
20944
21792
  "type": "bool",
20945
21793
  "id": 3
20946
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
+ }
20947
21810
  }
20948
21811
  },
20949
21812
  "PurgeDocumentsResponse": {
@@ -21825,6 +22688,10 @@
21825
22688
  "sessionSpec": {
21826
22689
  "type": "SessionSpec",
21827
22690
  "id": 42
22691
+ },
22692
+ "relevanceThreshold": {
22693
+ "type": "RelevanceThreshold",
22694
+ "id": 44
21828
22695
  }
21829
22696
  },
21830
22697
  "nested": {
@@ -22099,6 +22966,10 @@
22099
22966
  "type": "bool",
22100
22967
  "id": 4
22101
22968
  },
22969
+ "ignoreLowRelevantContent": {
22970
+ "type": "bool",
22971
+ "id": 9
22972
+ },
22102
22973
  "modelPromptSpec": {
22103
22974
  "type": "ModelPromptSpec",
22104
22975
  "id": 5
@@ -22264,6 +23135,15 @@
22264
23135
  }
22265
23136
  }
22266
23137
  }
23138
+ },
23139
+ "RelevanceThreshold": {
23140
+ "values": {
23141
+ "RELEVANCE_THRESHOLD_UNSPECIFIED": 0,
23142
+ "LOWEST": 1,
23143
+ "LOW": 2,
23144
+ "MEDIUM": 3,
23145
+ "HIGH": 4
23146
+ }
22267
23147
  }
22268
23148
  }
22269
23149
  },
@@ -22328,6 +23208,11 @@
22328
23208
  "sessionInfo": {
22329
23209
  "type": "SessionInfo",
22330
23210
  "id": 19
23211
+ },
23212
+ "oneBoxResults": {
23213
+ "rule": "repeated",
23214
+ "type": "OneBoxResult",
23215
+ "id": 20
22331
23216
  }
22332
23217
  },
22333
23218
  "nested": {
@@ -22556,7 +23441,9 @@
22556
23441
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
22557
23442
  "POTENTIAL_POLICY_VIOLATION": 4,
22558
23443
  "LLM_ADDON_NOT_ENABLED": 5,
22559
- "NO_RELEVANT_CONTENT": 6
23444
+ "NO_RELEVANT_CONTENT": 6,
23445
+ "JAIL_BREAKING_QUERY_IGNORED": 7,
23446
+ "CUSTOMER_POLICY_VIOLATION": 8
22560
23447
  }
22561
23448
  }
22562
23449
  }
@@ -22619,6 +23506,10 @@
22619
23506
  "rule": "repeated",
22620
23507
  "type": "string",
22621
23508
  "id": 2
23509
+ },
23510
+ "querySegment": {
23511
+ "type": "string",
23512
+ "id": 3
22622
23513
  }
22623
23514
  }
22624
23515
  },
@@ -22635,6 +23526,10 @@
22635
23526
  "value": {
22636
23527
  "type": "double",
22637
23528
  "id": 3
23529
+ },
23530
+ "querySegment": {
23531
+ "type": "string",
23532
+ "id": 4
22638
23533
  }
22639
23534
  },
22640
23535
  "nested": {
@@ -22660,6 +23555,14 @@
22660
23555
  "type": "string",
22661
23556
  "id": 2
22662
23557
  },
23558
+ "latitude": {
23559
+ "type": "double",
23560
+ "id": 4
23561
+ },
23562
+ "longitude": {
23563
+ "type": "double",
23564
+ "id": 5
23565
+ },
22663
23566
  "radiusInMeters": {
22664
23567
  "type": "float",
22665
23568
  "id": 3
@@ -22734,6 +23637,29 @@
22734
23637
  "id": 2
22735
23638
  }
22736
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
+ }
22737
23663
  }
22738
23664
  }
22739
23665
  },
@@ -23625,7 +24551,8 @@
23625
24551
  "values": {
23626
24552
  "TYPE_UNSPECIFIED": 0,
23627
24553
  "ADVERSARIAL_QUERY": 1,
23628
- "NON_ANSWER_SEEKING_QUERY": 2
24554
+ "NON_ANSWER_SEEKING_QUERY": 2,
24555
+ "JAIL_BREAKING_QUERY": 3
23629
24556
  }
23630
24557
  }
23631
24558
  }
@@ -23909,7 +24836,8 @@
23909
24836
  "TRAINING_COMPLETE": 3,
23910
24837
  "READY_FOR_SERVING": 4,
23911
24838
  "TRAINING_FAILED": 5,
23912
- "NO_IMPROVEMENT": 6
24839
+ "NO_IMPROVEMENT": 6,
24840
+ "INPUT_VALIDATION_FAILED": 7
23913
24841
  }
23914
24842
  }
23915
24843
  }
@@ -24615,6 +25543,28 @@
24615
25543
  }
24616
25544
  }
24617
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
+ ]
24618
25568
  }
24619
25569
  }
24620
25570
  },
@@ -24720,6 +25670,107 @@
24720
25670
  }
24721
25671
  }
24722
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
+ },
24723
25774
  "Engine": {
24724
25775
  "options": {
24725
25776
  "(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
@@ -30319,15 +31370,6 @@
30319
31370
  }
30320
31371
  }
30321
31372
  },
30322
- "FieldMask": {
30323
- "fields": {
30324
- "paths": {
30325
- "rule": "repeated",
30326
- "type": "string",
30327
- "id": 1
30328
- }
30329
- }
30330
- },
30331
31373
  "Any": {
30332
31374
  "fields": {
30333
31375
  "type_url": {
@@ -30340,6 +31382,15 @@
30340
31382
  }
30341
31383
  }
30342
31384
  },
31385
+ "FieldMask": {
31386
+ "fields": {
31387
+ "paths": {
31388
+ "rule": "repeated",
31389
+ "type": "string",
31390
+ "id": 1
31391
+ }
31392
+ }
31393
+ },
30343
31394
  "Empty": {
30344
31395
  "fields": {}
30345
31396
  }