@google-cloud/discoveryengine 1.0.0 → 1.1.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 (53) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +7 -1
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +30 -2
  4. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +15 -2
  5. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +114 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +303 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/document.proto +8 -5
  8. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +4 -3
  9. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +27 -23
  10. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +428 -20
  12. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +48 -39
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +2 -2
  14. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +6 -0
  15. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +9 -2
  16. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +25 -0
  17. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +115 -3
  18. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -0
  19. package/build/protos/protos.d.ts +10140 -6536
  20. package/build/protos/protos.js +26499 -17277
  21. package/build/protos/protos.json +2311 -1440
  22. package/build/src/index.d.ts +4 -1
  23. package/build/src/index.js +4 -1
  24. package/build/src/v1/completion_service_client.d.ts +156 -6
  25. package/build/src/v1/completion_service_client.js +188 -4
  26. package/build/src/v1/conversational_search_service_client.d.ts +947 -0
  27. package/build/src/v1/conversational_search_service_client.js +1205 -0
  28. package/build/src/v1/conversational_search_service_client_config.json +68 -0
  29. package/build/src/v1/document_service_client.d.ts +165 -18
  30. package/build/src/v1/document_service_client.js +215 -11
  31. package/build/src/v1/index.d.ts +1 -0
  32. package/build/src/v1/index.js +3 -1
  33. package/build/src/v1/schema_service_client.d.ts +148 -4
  34. package/build/src/v1/schema_service_client.js +207 -5
  35. package/build/src/v1/search_service_client.d.ts +238 -28
  36. package/build/src/v1/search_service_client.js +248 -20
  37. package/build/src/v1/user_event_service_client.d.ts +153 -9
  38. package/build/src/v1/user_event_service_client.js +207 -5
  39. package/build/src/v1beta/completion_service_client.d.ts +55 -4
  40. package/build/src/v1beta/completion_service_client.js +60 -4
  41. package/build/src/v1beta/conversational_search_service_client.d.ts +75 -4
  42. package/build/src/v1beta/conversational_search_service_client.js +60 -4
  43. package/build/src/v1beta/document_service_client.d.ts +55 -4
  44. package/build/src/v1beta/document_service_client.js +61 -5
  45. package/build/src/v1beta/recommendation_service_client.d.ts +55 -4
  46. package/build/src/v1beta/recommendation_service_client.js +60 -4
  47. package/build/src/v1beta/schema_service_client.d.ts +55 -4
  48. package/build/src/v1beta/schema_service_client.js +61 -5
  49. package/build/src/v1beta/search_service_client.d.ts +142 -4
  50. package/build/src/v1beta/search_service_client.js +118 -4
  51. package/build/src/v1beta/user_event_service_client.d.ts +55 -4
  52. package/build/src/v1beta/user_event_service_client.js +61 -5
  53. package/package.json +3 -3
@@ -20,6 +20,40 @@
20
20
  "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}"
21
21
  },
22
22
  "nested": {
23
+ "Interval": {
24
+ "oneofs": {
25
+ "min": {
26
+ "oneof": [
27
+ "minimum",
28
+ "exclusiveMinimum"
29
+ ]
30
+ },
31
+ "max": {
32
+ "oneof": [
33
+ "maximum",
34
+ "exclusiveMaximum"
35
+ ]
36
+ }
37
+ },
38
+ "fields": {
39
+ "minimum": {
40
+ "type": "double",
41
+ "id": 1
42
+ },
43
+ "exclusiveMinimum": {
44
+ "type": "double",
45
+ "id": 2
46
+ },
47
+ "maximum": {
48
+ "type": "double",
49
+ "id": 3
50
+ },
51
+ "exclusiveMaximum": {
52
+ "type": "double",
53
+ "id": 4
54
+ }
55
+ }
56
+ },
23
57
  "CustomAttribute": {
24
58
  "fields": {
25
59
  "text": {
@@ -96,6 +130,10 @@
96
130
  "userPseudoId": {
97
131
  "type": "string",
98
132
  "id": 4
133
+ },
134
+ "includeTailSuggestions": {
135
+ "type": "bool",
136
+ "id": 5
99
137
  }
100
138
  }
101
139
  },
@@ -105,6 +143,10 @@
105
143
  "rule": "repeated",
106
144
  "type": "QuerySuggestion",
107
145
  "id": 1
146
+ },
147
+ "tailMatchTriggered": {
148
+ "type": "bool",
149
+ "id": 2
108
150
  }
109
151
  },
110
152
  "nested": {
@@ -118,28 +160,12 @@
118
160
  }
119
161
  }
120
162
  },
121
- "Document": {
163
+ "Conversation": {
122
164
  "options": {
123
- "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
124
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
125
- },
126
- "oneofs": {
127
- "data": {
128
- "oneof": [
129
- "structData",
130
- "jsonData"
131
- ]
132
- }
165
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Conversation",
166
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}"
133
167
  },
134
168
  "fields": {
135
- "structData": {
136
- "type": "google.protobuf.Struct",
137
- "id": 4
138
- },
139
- "jsonData": {
140
- "type": "string",
141
- "id": 5
142
- },
143
169
  "name": {
144
170
  "type": "string",
145
171
  "id": 1,
@@ -147,27 +173,28 @@
147
173
  "(google.api.field_behavior)": "IMMUTABLE"
148
174
  }
149
175
  },
150
- "id": {
151
- "type": "string",
152
- "id": 2,
153
- "options": {
154
- "(google.api.field_behavior)": "IMMUTABLE"
155
- }
176
+ "state": {
177
+ "type": "State",
178
+ "id": 2
156
179
  },
157
- "schemaId": {
180
+ "userPseudoId": {
158
181
  "type": "string",
159
182
  "id": 3
160
183
  },
161
- "content": {
162
- "type": "Content",
163
- "id": 10
184
+ "messages": {
185
+ "rule": "repeated",
186
+ "type": "ConversationMessage",
187
+ "id": 4
164
188
  },
165
- "parentDocumentId": {
166
- "type": "string",
167
- "id": 7
189
+ "startTime": {
190
+ "type": "google.protobuf.Timestamp",
191
+ "id": 5,
192
+ "options": {
193
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
194
+ }
168
195
  },
169
- "derivedStructData": {
170
- "type": "google.protobuf.Struct",
196
+ "endTime": {
197
+ "type": "google.protobuf.Timestamp",
171
198
  "id": 6,
172
199
  "options": {
173
200
  "(google.api.field_behavior)": "OUTPUT_ONLY"
@@ -175,99 +202,1013 @@
175
202
  }
176
203
  },
177
204
  "nested": {
178
- "Content": {
179
- "oneofs": {
180
- "content": {
181
- "oneof": [
182
- "rawBytes",
183
- "uri"
184
- ]
185
- }
186
- },
187
- "fields": {
188
- "rawBytes": {
189
- "type": "bytes",
190
- "id": 2
191
- },
192
- "uri": {
193
- "type": "string",
194
- "id": 3
195
- },
196
- "mimeType": {
197
- "type": "string",
198
- "id": 1
199
- }
205
+ "State": {
206
+ "values": {
207
+ "STATE_UNSPECIFIED": 0,
208
+ "IN_PROGRESS": 1,
209
+ "COMPLETED": 2
200
210
  }
201
211
  }
202
212
  }
203
213
  },
204
- "DocumentService": {
214
+ "Reply": {
215
+ "fields": {
216
+ "summary": {
217
+ "type": "SearchResponse.Summary",
218
+ "id": 3
219
+ }
220
+ }
221
+ },
222
+ "ConversationContext": {
223
+ "fields": {
224
+ "contextDocuments": {
225
+ "rule": "repeated",
226
+ "type": "string",
227
+ "id": 1
228
+ },
229
+ "activeDocument": {
230
+ "type": "string",
231
+ "id": 2
232
+ }
233
+ }
234
+ },
235
+ "TextInput": {
236
+ "fields": {
237
+ "input": {
238
+ "type": "string",
239
+ "id": 1
240
+ },
241
+ "context": {
242
+ "type": "ConversationContext",
243
+ "id": 2
244
+ }
245
+ }
246
+ },
247
+ "ConversationMessage": {
248
+ "oneofs": {
249
+ "message": {
250
+ "oneof": [
251
+ "userInput",
252
+ "reply"
253
+ ]
254
+ }
255
+ },
256
+ "fields": {
257
+ "userInput": {
258
+ "type": "TextInput",
259
+ "id": 1
260
+ },
261
+ "reply": {
262
+ "type": "Reply",
263
+ "id": 2
264
+ },
265
+ "createTime": {
266
+ "type": "google.protobuf.Timestamp",
267
+ "id": 3,
268
+ "options": {
269
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
270
+ }
271
+ }
272
+ }
273
+ },
274
+ "SearchService": {
205
275
  "options": {
206
276
  "(google.api.default_host)": "discoveryengine.googleapis.com",
207
277
  "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
208
278
  },
209
279
  "methods": {
210
- "GetDocument": {
211
- "requestType": "GetDocumentRequest",
212
- "responseType": "Document",
280
+ "Search": {
281
+ "requestType": "SearchRequest",
282
+ "responseType": "SearchResponse",
213
283
  "options": {
214
- "(google.api.http).get": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
215
- "(google.api.http).additional_bindings.get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
216
- "(google.api.method_signature)": "name"
284
+ "(google.api.http).post": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
285
+ "(google.api.http).body": "*",
286
+ "(google.api.http).additional_bindings.post": "/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
287
+ "(google.api.http).additional_bindings.body": "*"
217
288
  },
218
289
  "parsedOptions": [
219
290
  {
220
291
  "(google.api.http)": {
221
- "get": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
292
+ "post": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
293
+ "body": "*",
222
294
  "additional_bindings": {
223
- "get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
295
+ "post": "/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
296
+ "body": "*"
224
297
  }
225
298
  }
226
- },
227
- {
228
- "(google.api.method_signature)": "name"
229
299
  }
230
300
  ]
231
- },
232
- "ListDocuments": {
233
- "requestType": "ListDocumentsRequest",
234
- "responseType": "ListDocumentsResponse",
301
+ }
302
+ }
303
+ },
304
+ "SearchRequest": {
305
+ "fields": {
306
+ "servingConfig": {
307
+ "type": "string",
308
+ "id": 1,
235
309
  "options": {
236
- "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
237
- "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
238
- "(google.api.method_signature)": "parent"
239
- },
240
- "parsedOptions": [
241
- {
242
- "(google.api.http)": {
243
- "get": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
244
- "additional_bindings": {
245
- "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents"
246
- }
247
- }
248
- },
249
- {
250
- "(google.api.method_signature)": "parent"
251
- }
252
- ]
310
+ "(google.api.field_behavior)": "REQUIRED",
311
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
312
+ }
253
313
  },
254
- "CreateDocument": {
255
- "requestType": "CreateDocumentRequest",
256
- "responseType": "Document",
314
+ "branch": {
315
+ "type": "string",
316
+ "id": 2,
257
317
  "options": {
258
- "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
259
- "(google.api.http).body": "document",
260
- "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
261
- "(google.api.http).additional_bindings.body": "document",
262
- "(google.api.method_signature)": "parent,document,document_id"
263
- },
264
- "parsedOptions": [
265
- {
266
- "(google.api.http)": {
267
- "post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
268
- "body": "document",
269
- "additional_bindings": {
270
- "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
318
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
319
+ }
320
+ },
321
+ "query": {
322
+ "type": "string",
323
+ "id": 3
324
+ },
325
+ "imageQuery": {
326
+ "type": "ImageQuery",
327
+ "id": 19
328
+ },
329
+ "pageSize": {
330
+ "type": "int32",
331
+ "id": 4
332
+ },
333
+ "pageToken": {
334
+ "type": "string",
335
+ "id": 5
336
+ },
337
+ "offset": {
338
+ "type": "int32",
339
+ "id": 6
340
+ },
341
+ "filter": {
342
+ "type": "string",
343
+ "id": 7
344
+ },
345
+ "orderBy": {
346
+ "type": "string",
347
+ "id": 8
348
+ },
349
+ "userInfo": {
350
+ "type": "UserInfo",
351
+ "id": 21
352
+ },
353
+ "facetSpecs": {
354
+ "rule": "repeated",
355
+ "type": "FacetSpec",
356
+ "id": 9
357
+ },
358
+ "boostSpec": {
359
+ "type": "BoostSpec",
360
+ "id": 10
361
+ },
362
+ "params": {
363
+ "keyType": "string",
364
+ "type": "google.protobuf.Value",
365
+ "id": 11
366
+ },
367
+ "queryExpansionSpec": {
368
+ "type": "QueryExpansionSpec",
369
+ "id": 13
370
+ },
371
+ "spellCorrectionSpec": {
372
+ "type": "SpellCorrectionSpec",
373
+ "id": 14
374
+ },
375
+ "userPseudoId": {
376
+ "type": "string",
377
+ "id": 15
378
+ },
379
+ "contentSearchSpec": {
380
+ "type": "ContentSearchSpec",
381
+ "id": 24
382
+ },
383
+ "safeSearch": {
384
+ "type": "bool",
385
+ "id": 20
386
+ },
387
+ "userLabels": {
388
+ "keyType": "string",
389
+ "type": "string",
390
+ "id": 22
391
+ }
392
+ },
393
+ "nested": {
394
+ "ImageQuery": {
395
+ "oneofs": {
396
+ "image": {
397
+ "oneof": [
398
+ "imageBytes"
399
+ ]
400
+ }
401
+ },
402
+ "fields": {
403
+ "imageBytes": {
404
+ "type": "string",
405
+ "id": 1
406
+ }
407
+ }
408
+ },
409
+ "FacetSpec": {
410
+ "fields": {
411
+ "facetKey": {
412
+ "type": "FacetKey",
413
+ "id": 1,
414
+ "options": {
415
+ "(google.api.field_behavior)": "REQUIRED"
416
+ }
417
+ },
418
+ "limit": {
419
+ "type": "int32",
420
+ "id": 2
421
+ },
422
+ "excludedFilterKeys": {
423
+ "rule": "repeated",
424
+ "type": "string",
425
+ "id": 3
426
+ },
427
+ "enableDynamicPosition": {
428
+ "type": "bool",
429
+ "id": 4
430
+ }
431
+ },
432
+ "nested": {
433
+ "FacetKey": {
434
+ "fields": {
435
+ "key": {
436
+ "type": "string",
437
+ "id": 1,
438
+ "options": {
439
+ "(google.api.field_behavior)": "REQUIRED"
440
+ }
441
+ },
442
+ "intervals": {
443
+ "rule": "repeated",
444
+ "type": "Interval",
445
+ "id": 2
446
+ },
447
+ "restrictedValues": {
448
+ "rule": "repeated",
449
+ "type": "string",
450
+ "id": 3
451
+ },
452
+ "prefixes": {
453
+ "rule": "repeated",
454
+ "type": "string",
455
+ "id": 4
456
+ },
457
+ "contains": {
458
+ "rule": "repeated",
459
+ "type": "string",
460
+ "id": 5
461
+ },
462
+ "caseInsensitive": {
463
+ "type": "bool",
464
+ "id": 6
465
+ },
466
+ "orderBy": {
467
+ "type": "string",
468
+ "id": 7
469
+ }
470
+ }
471
+ }
472
+ }
473
+ },
474
+ "BoostSpec": {
475
+ "fields": {
476
+ "conditionBoostSpecs": {
477
+ "rule": "repeated",
478
+ "type": "ConditionBoostSpec",
479
+ "id": 1
480
+ }
481
+ },
482
+ "nested": {
483
+ "ConditionBoostSpec": {
484
+ "fields": {
485
+ "condition": {
486
+ "type": "string",
487
+ "id": 1
488
+ },
489
+ "boost": {
490
+ "type": "float",
491
+ "id": 2
492
+ }
493
+ }
494
+ }
495
+ }
496
+ },
497
+ "QueryExpansionSpec": {
498
+ "fields": {
499
+ "condition": {
500
+ "type": "Condition",
501
+ "id": 1
502
+ },
503
+ "pinUnexpandedResults": {
504
+ "type": "bool",
505
+ "id": 2
506
+ }
507
+ },
508
+ "nested": {
509
+ "Condition": {
510
+ "values": {
511
+ "CONDITION_UNSPECIFIED": 0,
512
+ "DISABLED": 1,
513
+ "AUTO": 2
514
+ }
515
+ }
516
+ }
517
+ },
518
+ "SpellCorrectionSpec": {
519
+ "fields": {
520
+ "mode": {
521
+ "type": "Mode",
522
+ "id": 1
523
+ }
524
+ },
525
+ "nested": {
526
+ "Mode": {
527
+ "values": {
528
+ "MODE_UNSPECIFIED": 0,
529
+ "SUGGESTION_ONLY": 1,
530
+ "AUTO": 2
531
+ }
532
+ }
533
+ }
534
+ },
535
+ "ContentSearchSpec": {
536
+ "fields": {
537
+ "snippetSpec": {
538
+ "type": "SnippetSpec",
539
+ "id": 1
540
+ },
541
+ "summarySpec": {
542
+ "type": "SummarySpec",
543
+ "id": 2
544
+ }
545
+ },
546
+ "nested": {
547
+ "SnippetSpec": {
548
+ "fields": {
549
+ "maxSnippetCount": {
550
+ "type": "int32",
551
+ "id": 1,
552
+ "options": {
553
+ "deprecated": true
554
+ }
555
+ },
556
+ "referenceOnly": {
557
+ "type": "bool",
558
+ "id": 2,
559
+ "options": {
560
+ "deprecated": true
561
+ }
562
+ },
563
+ "returnSnippet": {
564
+ "type": "bool",
565
+ "id": 3
566
+ }
567
+ }
568
+ },
569
+ "SummarySpec": {
570
+ "fields": {
571
+ "summaryResultCount": {
572
+ "type": "int32",
573
+ "id": 1
574
+ },
575
+ "includeCitations": {
576
+ "type": "bool",
577
+ "id": 2
578
+ },
579
+ "ignoreAdversarialQuery": {
580
+ "type": "bool",
581
+ "id": 3
582
+ },
583
+ "ignoreNonSummarySeekingQuery": {
584
+ "type": "bool",
585
+ "id": 4
586
+ },
587
+ "languageCode": {
588
+ "type": "string",
589
+ "id": 6
590
+ }
591
+ }
592
+ }
593
+ }
594
+ }
595
+ }
596
+ },
597
+ "SearchResponse": {
598
+ "fields": {
599
+ "results": {
600
+ "rule": "repeated",
601
+ "type": "SearchResult",
602
+ "id": 1
603
+ },
604
+ "facets": {
605
+ "rule": "repeated",
606
+ "type": "Facet",
607
+ "id": 2
608
+ },
609
+ "totalSize": {
610
+ "type": "int32",
611
+ "id": 3
612
+ },
613
+ "attributionToken": {
614
+ "type": "string",
615
+ "id": 4
616
+ },
617
+ "redirectUri": {
618
+ "type": "string",
619
+ "id": 12
620
+ },
621
+ "nextPageToken": {
622
+ "type": "string",
623
+ "id": 5
624
+ },
625
+ "correctedQuery": {
626
+ "type": "string",
627
+ "id": 7
628
+ },
629
+ "summary": {
630
+ "type": "Summary",
631
+ "id": 9
632
+ },
633
+ "queryExpansionInfo": {
634
+ "type": "QueryExpansionInfo",
635
+ "id": 14
636
+ }
637
+ },
638
+ "nested": {
639
+ "SearchResult": {
640
+ "fields": {
641
+ "id": {
642
+ "type": "string",
643
+ "id": 1
644
+ },
645
+ "document": {
646
+ "type": "Document",
647
+ "id": 2
648
+ }
649
+ }
650
+ },
651
+ "Facet": {
652
+ "fields": {
653
+ "key": {
654
+ "type": "string",
655
+ "id": 1
656
+ },
657
+ "values": {
658
+ "rule": "repeated",
659
+ "type": "FacetValue",
660
+ "id": 2
661
+ },
662
+ "dynamicFacet": {
663
+ "type": "bool",
664
+ "id": 3
665
+ }
666
+ },
667
+ "nested": {
668
+ "FacetValue": {
669
+ "oneofs": {
670
+ "facetValue": {
671
+ "oneof": [
672
+ "value",
673
+ "interval"
674
+ ]
675
+ }
676
+ },
677
+ "fields": {
678
+ "value": {
679
+ "type": "string",
680
+ "id": 1
681
+ },
682
+ "interval": {
683
+ "type": "Interval",
684
+ "id": 2
685
+ },
686
+ "count": {
687
+ "type": "int64",
688
+ "id": 3
689
+ }
690
+ }
691
+ }
692
+ }
693
+ },
694
+ "Summary": {
695
+ "fields": {
696
+ "summaryText": {
697
+ "type": "string",
698
+ "id": 1
699
+ },
700
+ "summarySkippedReasons": {
701
+ "rule": "repeated",
702
+ "type": "SummarySkippedReason",
703
+ "id": 2
704
+ },
705
+ "safetyAttributes": {
706
+ "type": "SafetyAttributes",
707
+ "id": 3
708
+ }
709
+ },
710
+ "nested": {
711
+ "SafetyAttributes": {
712
+ "fields": {
713
+ "categories": {
714
+ "rule": "repeated",
715
+ "type": "string",
716
+ "id": 1
717
+ },
718
+ "scores": {
719
+ "rule": "repeated",
720
+ "type": "float",
721
+ "id": 2
722
+ }
723
+ }
724
+ },
725
+ "SummarySkippedReason": {
726
+ "values": {
727
+ "SUMMARY_SKIPPED_REASON_UNSPECIFIED": 0,
728
+ "ADVERSARIAL_QUERY_IGNORED": 1,
729
+ "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
730
+ "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
731
+ "POTENTIAL_POLICY_VIOLATION": 4,
732
+ "LLM_ADDON_NOT_ENABLED": 5
733
+ }
734
+ }
735
+ }
736
+ },
737
+ "QueryExpansionInfo": {
738
+ "fields": {
739
+ "expandedQuery": {
740
+ "type": "bool",
741
+ "id": 1
742
+ },
743
+ "pinnedResultCount": {
744
+ "type": "int64",
745
+ "id": 2
746
+ }
747
+ }
748
+ }
749
+ }
750
+ },
751
+ "Document": {
752
+ "options": {
753
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
754
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
755
+ },
756
+ "oneofs": {
757
+ "data": {
758
+ "oneof": [
759
+ "structData",
760
+ "jsonData"
761
+ ]
762
+ }
763
+ },
764
+ "fields": {
765
+ "structData": {
766
+ "type": "google.protobuf.Struct",
767
+ "id": 4
768
+ },
769
+ "jsonData": {
770
+ "type": "string",
771
+ "id": 5
772
+ },
773
+ "name": {
774
+ "type": "string",
775
+ "id": 1,
776
+ "options": {
777
+ "(google.api.field_behavior)": "IMMUTABLE"
778
+ }
779
+ },
780
+ "id": {
781
+ "type": "string",
782
+ "id": 2,
783
+ "options": {
784
+ "(google.api.field_behavior)": "IMMUTABLE"
785
+ }
786
+ },
787
+ "schemaId": {
788
+ "type": "string",
789
+ "id": 3
790
+ },
791
+ "content": {
792
+ "type": "Content",
793
+ "id": 10
794
+ },
795
+ "parentDocumentId": {
796
+ "type": "string",
797
+ "id": 7
798
+ },
799
+ "derivedStructData": {
800
+ "type": "google.protobuf.Struct",
801
+ "id": 6,
802
+ "options": {
803
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
804
+ }
805
+ }
806
+ },
807
+ "nested": {
808
+ "Content": {
809
+ "oneofs": {
810
+ "content": {
811
+ "oneof": [
812
+ "rawBytes",
813
+ "uri"
814
+ ]
815
+ }
816
+ },
817
+ "fields": {
818
+ "rawBytes": {
819
+ "type": "bytes",
820
+ "id": 2
821
+ },
822
+ "uri": {
823
+ "type": "string",
824
+ "id": 3
825
+ },
826
+ "mimeType": {
827
+ "type": "string",
828
+ "id": 1
829
+ }
830
+ }
831
+ }
832
+ }
833
+ },
834
+ "ConversationalSearchService": {
835
+ "options": {
836
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
837
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
838
+ },
839
+ "methods": {
840
+ "ConverseConversation": {
841
+ "requestType": "ConverseConversationRequest",
842
+ "responseType": "ConverseConversationResponse",
843
+ "options": {
844
+ "(google.api.http).post": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse",
845
+ "(google.api.http).body": "*",
846
+ "(google.api.http).additional_bindings.post": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse",
847
+ "(google.api.http).additional_bindings.body": "*",
848
+ "(google.api.method_signature)": "name,query"
849
+ },
850
+ "parsedOptions": [
851
+ {
852
+ "(google.api.http)": {
853
+ "post": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse",
854
+ "body": "*",
855
+ "additional_bindings": {
856
+ "post": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse",
857
+ "body": "*"
858
+ }
859
+ }
860
+ },
861
+ {
862
+ "(google.api.method_signature)": "name,query"
863
+ }
864
+ ]
865
+ },
866
+ "CreateConversation": {
867
+ "requestType": "CreateConversationRequest",
868
+ "responseType": "Conversation",
869
+ "options": {
870
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/conversations",
871
+ "(google.api.http).body": "conversation",
872
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
873
+ "(google.api.http).additional_bindings.body": "conversation",
874
+ "(google.api.method_signature)": "parent,conversation"
875
+ },
876
+ "parsedOptions": [
877
+ {
878
+ "(google.api.http)": {
879
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/conversations",
880
+ "body": "conversation",
881
+ "additional_bindings": {
882
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
883
+ "body": "conversation"
884
+ }
885
+ }
886
+ },
887
+ {
888
+ "(google.api.method_signature)": "parent,conversation"
889
+ }
890
+ ]
891
+ },
892
+ "DeleteConversation": {
893
+ "requestType": "DeleteConversationRequest",
894
+ "responseType": "google.protobuf.Empty",
895
+ "options": {
896
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}",
897
+ "(google.api.http).additional_bindings.delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
898
+ "(google.api.method_signature)": "name"
899
+ },
900
+ "parsedOptions": [
901
+ {
902
+ "(google.api.http)": {
903
+ "delete": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}",
904
+ "additional_bindings": {
905
+ "delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
906
+ }
907
+ }
908
+ },
909
+ {
910
+ "(google.api.method_signature)": "name"
911
+ }
912
+ ]
913
+ },
914
+ "UpdateConversation": {
915
+ "requestType": "UpdateConversationRequest",
916
+ "responseType": "Conversation",
917
+ "options": {
918
+ "(google.api.http).patch": "/v1/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}",
919
+ "(google.api.http).body": "conversation",
920
+ "(google.api.http).additional_bindings.patch": "/v1/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
921
+ "(google.api.http).additional_bindings.body": "conversation",
922
+ "(google.api.method_signature)": "conversation,update_mask"
923
+ },
924
+ "parsedOptions": [
925
+ {
926
+ "(google.api.http)": {
927
+ "patch": "/v1/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}",
928
+ "body": "conversation",
929
+ "additional_bindings": {
930
+ "patch": "/v1/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
931
+ "body": "conversation"
932
+ }
933
+ }
934
+ },
935
+ {
936
+ "(google.api.method_signature)": "conversation,update_mask"
937
+ }
938
+ ]
939
+ },
940
+ "GetConversation": {
941
+ "requestType": "GetConversationRequest",
942
+ "responseType": "Conversation",
943
+ "options": {
944
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}",
945
+ "(google.api.http).additional_bindings.get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
946
+ "(google.api.method_signature)": "name"
947
+ },
948
+ "parsedOptions": [
949
+ {
950
+ "(google.api.http)": {
951
+ "get": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}",
952
+ "additional_bindings": {
953
+ "get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
954
+ }
955
+ }
956
+ },
957
+ {
958
+ "(google.api.method_signature)": "name"
959
+ }
960
+ ]
961
+ },
962
+ "ListConversations": {
963
+ "requestType": "ListConversationsRequest",
964
+ "responseType": "ListConversationsResponse",
965
+ "options": {
966
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*}/conversations",
967
+ "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
968
+ "(google.api.method_signature)": "parent"
969
+ },
970
+ "parsedOptions": [
971
+ {
972
+ "(google.api.http)": {
973
+ "get": "/v1/{parent=projects/*/locations/*/dataStores/*}/conversations",
974
+ "additional_bindings": {
975
+ "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations"
976
+ }
977
+ }
978
+ },
979
+ {
980
+ "(google.api.method_signature)": "parent"
981
+ }
982
+ ]
983
+ }
984
+ }
985
+ },
986
+ "ConverseConversationRequest": {
987
+ "fields": {
988
+ "name": {
989
+ "type": "string",
990
+ "id": 1,
991
+ "options": {
992
+ "(google.api.field_behavior)": "REQUIRED",
993
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
994
+ }
995
+ },
996
+ "query": {
997
+ "type": "TextInput",
998
+ "id": 2,
999
+ "options": {
1000
+ "(google.api.field_behavior)": "REQUIRED"
1001
+ }
1002
+ },
1003
+ "servingConfig": {
1004
+ "type": "string",
1005
+ "id": 3,
1006
+ "options": {
1007
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
1008
+ }
1009
+ },
1010
+ "conversation": {
1011
+ "type": "Conversation",
1012
+ "id": 5
1013
+ },
1014
+ "safeSearch": {
1015
+ "type": "bool",
1016
+ "id": 6
1017
+ },
1018
+ "userLabels": {
1019
+ "keyType": "string",
1020
+ "type": "string",
1021
+ "id": 7
1022
+ },
1023
+ "summarySpec": {
1024
+ "type": "SearchRequest.ContentSearchSpec.SummarySpec",
1025
+ "id": 8
1026
+ }
1027
+ }
1028
+ },
1029
+ "ConverseConversationResponse": {
1030
+ "fields": {
1031
+ "reply": {
1032
+ "type": "Reply",
1033
+ "id": 1
1034
+ },
1035
+ "conversation": {
1036
+ "type": "Conversation",
1037
+ "id": 2
1038
+ },
1039
+ "searchResults": {
1040
+ "rule": "repeated",
1041
+ "type": "SearchResponse.SearchResult",
1042
+ "id": 3
1043
+ }
1044
+ }
1045
+ },
1046
+ "CreateConversationRequest": {
1047
+ "fields": {
1048
+ "parent": {
1049
+ "type": "string",
1050
+ "id": 1,
1051
+ "options": {
1052
+ "(google.api.field_behavior)": "REQUIRED",
1053
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1054
+ }
1055
+ },
1056
+ "conversation": {
1057
+ "type": "Conversation",
1058
+ "id": 2,
1059
+ "options": {
1060
+ "(google.api.field_behavior)": "REQUIRED"
1061
+ }
1062
+ }
1063
+ }
1064
+ },
1065
+ "UpdateConversationRequest": {
1066
+ "fields": {
1067
+ "conversation": {
1068
+ "type": "Conversation",
1069
+ "id": 1,
1070
+ "options": {
1071
+ "(google.api.field_behavior)": "REQUIRED"
1072
+ }
1073
+ },
1074
+ "updateMask": {
1075
+ "type": "google.protobuf.FieldMask",
1076
+ "id": 2
1077
+ }
1078
+ }
1079
+ },
1080
+ "DeleteConversationRequest": {
1081
+ "fields": {
1082
+ "name": {
1083
+ "type": "string",
1084
+ "id": 1,
1085
+ "options": {
1086
+ "(google.api.field_behavior)": "REQUIRED",
1087
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
1088
+ }
1089
+ }
1090
+ }
1091
+ },
1092
+ "GetConversationRequest": {
1093
+ "fields": {
1094
+ "name": {
1095
+ "type": "string",
1096
+ "id": 1,
1097
+ "options": {
1098
+ "(google.api.field_behavior)": "REQUIRED",
1099
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
1100
+ }
1101
+ }
1102
+ }
1103
+ },
1104
+ "ListConversationsRequest": {
1105
+ "fields": {
1106
+ "parent": {
1107
+ "type": "string",
1108
+ "id": 1,
1109
+ "options": {
1110
+ "(google.api.field_behavior)": "REQUIRED",
1111
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1112
+ }
1113
+ },
1114
+ "pageSize": {
1115
+ "type": "int32",
1116
+ "id": 2
1117
+ },
1118
+ "pageToken": {
1119
+ "type": "string",
1120
+ "id": 3
1121
+ },
1122
+ "filter": {
1123
+ "type": "string",
1124
+ "id": 4
1125
+ },
1126
+ "orderBy": {
1127
+ "type": "string",
1128
+ "id": 5
1129
+ }
1130
+ }
1131
+ },
1132
+ "ListConversationsResponse": {
1133
+ "fields": {
1134
+ "conversations": {
1135
+ "rule": "repeated",
1136
+ "type": "Conversation",
1137
+ "id": 1
1138
+ },
1139
+ "nextPageToken": {
1140
+ "type": "string",
1141
+ "id": 2
1142
+ }
1143
+ }
1144
+ },
1145
+ "DocumentService": {
1146
+ "options": {
1147
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
1148
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
1149
+ },
1150
+ "methods": {
1151
+ "GetDocument": {
1152
+ "requestType": "GetDocumentRequest",
1153
+ "responseType": "Document",
1154
+ "options": {
1155
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
1156
+ "(google.api.http).additional_bindings.get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
1157
+ "(google.api.method_signature)": "name"
1158
+ },
1159
+ "parsedOptions": [
1160
+ {
1161
+ "(google.api.http)": {
1162
+ "get": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
1163
+ "additional_bindings": {
1164
+ "get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
1165
+ }
1166
+ }
1167
+ },
1168
+ {
1169
+ "(google.api.method_signature)": "name"
1170
+ }
1171
+ ]
1172
+ },
1173
+ "ListDocuments": {
1174
+ "requestType": "ListDocumentsRequest",
1175
+ "responseType": "ListDocumentsResponse",
1176
+ "options": {
1177
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
1178
+ "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
1179
+ "(google.api.method_signature)": "parent"
1180
+ },
1181
+ "parsedOptions": [
1182
+ {
1183
+ "(google.api.http)": {
1184
+ "get": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
1185
+ "additional_bindings": {
1186
+ "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents"
1187
+ }
1188
+ }
1189
+ },
1190
+ {
1191
+ "(google.api.method_signature)": "parent"
1192
+ }
1193
+ ]
1194
+ },
1195
+ "CreateDocument": {
1196
+ "requestType": "CreateDocumentRequest",
1197
+ "responseType": "Document",
1198
+ "options": {
1199
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
1200
+ "(google.api.http).body": "document",
1201
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
1202
+ "(google.api.http).additional_bindings.body": "document",
1203
+ "(google.api.method_signature)": "parent,document,document_id"
1204
+ },
1205
+ "parsedOptions": [
1206
+ {
1207
+ "(google.api.http)": {
1208
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
1209
+ "body": "document",
1210
+ "additional_bindings": {
1211
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
271
1212
  "body": "document"
272
1213
  }
273
1214
  }
@@ -566,24 +1507,15 @@
566
1507
  "fields": {
567
1508
  "inlineSource": {
568
1509
  "type": "InlineSource",
569
- "id": 2,
570
- "options": {
571
- "(google.api.field_behavior)": "REQUIRED"
572
- }
1510
+ "id": 2
573
1511
  },
574
1512
  "gcsSource": {
575
1513
  "type": "GcsSource",
576
- "id": 3,
577
- "options": {
578
- "(google.api.field_behavior)": "REQUIRED"
579
- }
1514
+ "id": 3
580
1515
  },
581
1516
  "bigquerySource": {
582
1517
  "type": "BigQuerySource",
583
- "id": 4,
584
- "options": {
585
- "(google.api.field_behavior)": "REQUIRED"
586
- }
1518
+ "id": 4
587
1519
  },
588
1520
  "parent": {
589
1521
  "type": "string",
@@ -644,783 +1576,477 @@
644
1576
  "type": "google.protobuf.Timestamp",
645
1577
  "id": 2
646
1578
  },
647
- "successCount": {
648
- "type": "int64",
649
- "id": 3
650
- },
651
- "failureCount": {
652
- "type": "int64",
653
- "id": 4
654
- }
655
- }
656
- },
657
- "ImportDocumentsMetadata": {
658
- "fields": {
659
- "createTime": {
660
- "type": "google.protobuf.Timestamp",
661
- "id": 1
662
- },
663
- "updateTime": {
664
- "type": "google.protobuf.Timestamp",
665
- "id": 2
666
- },
667
- "successCount": {
668
- "type": "int64",
669
- "id": 3
670
- },
671
- "failureCount": {
672
- "type": "int64",
673
- "id": 4
674
- }
675
- }
676
- },
677
- "ImportDocumentsRequest": {
678
- "oneofs": {
679
- "source": {
680
- "oneof": [
681
- "inlineSource",
682
- "gcsSource",
683
- "bigquerySource"
684
- ]
685
- }
686
- },
687
- "fields": {
688
- "inlineSource": {
689
- "type": "InlineSource",
690
- "id": 2
691
- },
692
- "gcsSource": {
693
- "type": "GcsSource",
694
- "id": 3
695
- },
696
- "bigquerySource": {
697
- "type": "BigQuerySource",
698
- "id": 4
699
- },
700
- "parent": {
701
- "type": "string",
702
- "id": 1,
703
- "options": {
704
- "(google.api.field_behavior)": "REQUIRED",
705
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
706
- }
707
- },
708
- "errorConfig": {
709
- "type": "ImportErrorConfig",
710
- "id": 5
711
- },
712
- "reconciliationMode": {
713
- "type": "ReconciliationMode",
714
- "id": 6
715
- },
716
- "autoGenerateIds": {
717
- "type": "bool",
718
- "id": 8
719
- },
720
- "idField": {
721
- "type": "string",
722
- "id": 9
723
- }
724
- },
725
- "nested": {
726
- "InlineSource": {
727
- "fields": {
728
- "documents": {
729
- "rule": "repeated",
730
- "type": "Document",
731
- "id": 1,
732
- "options": {
733
- "(google.api.field_behavior)": "REQUIRED"
734
- }
735
- }
736
- }
737
- },
738
- "ReconciliationMode": {
739
- "values": {
740
- "RECONCILIATION_MODE_UNSPECIFIED": 0,
741
- "INCREMENTAL": 1,
742
- "FULL": 2
743
- }
744
- }
745
- }
746
- },
747
- "ImportDocumentsResponse": {
748
- "fields": {
749
- "errorSamples": {
750
- "rule": "repeated",
751
- "type": "google.rpc.Status",
752
- "id": 1
753
- },
754
- "errorConfig": {
755
- "type": "ImportErrorConfig",
756
- "id": 2
757
- }
758
- }
759
- },
760
- "UserEvent": {
761
- "fields": {
762
- "eventType": {
763
- "type": "string",
764
- "id": 1,
765
- "options": {
766
- "(google.api.field_behavior)": "REQUIRED"
767
- }
768
- },
769
- "userPseudoId": {
770
- "type": "string",
771
- "id": 2,
772
- "options": {
773
- "(google.api.field_behavior)": "REQUIRED"
774
- }
775
- },
776
- "eventTime": {
777
- "type": "google.protobuf.Timestamp",
778
- "id": 3
779
- },
780
- "userInfo": {
781
- "type": "UserInfo",
782
- "id": 4
783
- },
784
- "directUserRequest": {
785
- "type": "bool",
786
- "id": 5
787
- },
788
- "sessionId": {
789
- "type": "string",
790
- "id": 6
791
- },
792
- "pageInfo": {
793
- "type": "PageInfo",
794
- "id": 7
795
- },
796
- "attributionToken": {
797
- "type": "string",
798
- "id": 8
799
- },
800
- "filter": {
801
- "type": "string",
802
- "id": 9
803
- },
804
- "documents": {
805
- "rule": "repeated",
806
- "type": "DocumentInfo",
807
- "id": 10
808
- },
809
- "panel": {
810
- "type": "PanelInfo",
811
- "id": 11
812
- },
813
- "searchInfo": {
814
- "type": "SearchInfo",
815
- "id": 12
816
- },
817
- "completionInfo": {
818
- "type": "CompletionInfo",
819
- "id": 13
820
- },
821
- "transactionInfo": {
822
- "type": "TransactionInfo",
823
- "id": 14
824
- },
825
- "tagIds": {
826
- "rule": "repeated",
827
- "type": "string",
828
- "id": 15
829
- },
830
- "promotionIds": {
831
- "rule": "repeated",
832
- "type": "string",
833
- "id": 16
834
- },
835
- "attributes": {
836
- "keyType": "string",
837
- "type": "CustomAttribute",
838
- "id": 17
839
- },
840
- "mediaInfo": {
841
- "type": "MediaInfo",
842
- "id": 18
843
- }
844
- }
845
- },
846
- "PageInfo": {
847
- "fields": {
848
- "pageviewId": {
849
- "type": "string",
850
- "id": 1
851
- },
852
- "pageCategory": {
853
- "type": "string",
854
- "id": 2
855
- },
856
- "uri": {
857
- "type": "string",
858
- "id": 3
859
- },
860
- "referrerUri": {
861
- "type": "string",
862
- "id": 4
863
- }
864
- }
865
- },
866
- "SearchInfo": {
867
- "oneofs": {
868
- "_offset": {
869
- "oneof": [
870
- "offset"
871
- ]
872
- }
873
- },
874
- "fields": {
875
- "searchQuery": {
876
- "type": "string",
877
- "id": 1
878
- },
879
- "orderBy": {
880
- "type": "string",
881
- "id": 2
1579
+ "successCount": {
1580
+ "type": "int64",
1581
+ "id": 3
882
1582
  },
883
- "offset": {
884
- "type": "int32",
885
- "id": 3,
886
- "options": {
887
- "proto3_optional": true
888
- }
1583
+ "failureCount": {
1584
+ "type": "int64",
1585
+ "id": 4
889
1586
  }
890
1587
  }
891
1588
  },
892
- "CompletionInfo": {
1589
+ "ImportDocumentsMetadata": {
893
1590
  "fields": {
894
- "selectedSuggestion": {
895
- "type": "string",
1591
+ "createTime": {
1592
+ "type": "google.protobuf.Timestamp",
896
1593
  "id": 1
897
1594
  },
898
- "selectedPosition": {
899
- "type": "int32",
1595
+ "updateTime": {
1596
+ "type": "google.protobuf.Timestamp",
900
1597
  "id": 2
1598
+ },
1599
+ "successCount": {
1600
+ "type": "int64",
1601
+ "id": 3
1602
+ },
1603
+ "failureCount": {
1604
+ "type": "int64",
1605
+ "id": 4
901
1606
  }
902
1607
  }
903
1608
  },
904
- "TransactionInfo": {
1609
+ "ImportDocumentsRequest": {
905
1610
  "oneofs": {
906
- "_value": {
907
- "oneof": [
908
- "value"
909
- ]
910
- },
911
- "_tax": {
912
- "oneof": [
913
- "tax"
914
- ]
915
- },
916
- "_cost": {
917
- "oneof": [
918
- "cost"
919
- ]
920
- },
921
- "_discountValue": {
1611
+ "source": {
922
1612
  "oneof": [
923
- "discountValue"
1613
+ "inlineSource",
1614
+ "gcsSource",
1615
+ "bigquerySource"
924
1616
  ]
925
1617
  }
926
1618
  },
927
1619
  "fields": {
928
- "value": {
929
- "type": "float",
1620
+ "inlineSource": {
1621
+ "type": "InlineSource",
1622
+ "id": 2
1623
+ },
1624
+ "gcsSource": {
1625
+ "type": "GcsSource",
1626
+ "id": 3
1627
+ },
1628
+ "bigquerySource": {
1629
+ "type": "BigQuerySource",
1630
+ "id": 4
1631
+ },
1632
+ "parent": {
1633
+ "type": "string",
930
1634
  "id": 1,
931
1635
  "options": {
932
1636
  "(google.api.field_behavior)": "REQUIRED",
933
- "proto3_optional": true
1637
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
934
1638
  }
935
1639
  },
936
- "currency": {
937
- "type": "string",
938
- "id": 2,
939
- "options": {
940
- "(google.api.field_behavior)": "REQUIRED"
941
- }
1640
+ "errorConfig": {
1641
+ "type": "ImportErrorConfig",
1642
+ "id": 5
942
1643
  },
943
- "transactionId": {
944
- "type": "string",
945
- "id": 3
1644
+ "reconciliationMode": {
1645
+ "type": "ReconciliationMode",
1646
+ "id": 6
946
1647
  },
947
- "tax": {
948
- "type": "float",
949
- "id": 4,
950
- "options": {
951
- "proto3_optional": true
952
- }
1648
+ "autoGenerateIds": {
1649
+ "type": "bool",
1650
+ "id": 8
953
1651
  },
954
- "cost": {
955
- "type": "float",
956
- "id": 5,
957
- "options": {
958
- "proto3_optional": true
1652
+ "idField": {
1653
+ "type": "string",
1654
+ "id": 9
1655
+ }
1656
+ },
1657
+ "nested": {
1658
+ "InlineSource": {
1659
+ "fields": {
1660
+ "documents": {
1661
+ "rule": "repeated",
1662
+ "type": "Document",
1663
+ "id": 1,
1664
+ "options": {
1665
+ "(google.api.field_behavior)": "REQUIRED"
1666
+ }
1667
+ }
959
1668
  }
960
1669
  },
961
- "discountValue": {
962
- "type": "float",
963
- "id": 6,
964
- "options": {
965
- "proto3_optional": true
1670
+ "ReconciliationMode": {
1671
+ "values": {
1672
+ "RECONCILIATION_MODE_UNSPECIFIED": 0,
1673
+ "INCREMENTAL": 1,
1674
+ "FULL": 2
966
1675
  }
967
1676
  }
968
1677
  }
969
1678
  },
970
- "DocumentInfo": {
971
- "oneofs": {
972
- "documentDescriptor": {
973
- "oneof": [
974
- "id",
975
- "name"
976
- ]
1679
+ "ImportDocumentsResponse": {
1680
+ "fields": {
1681
+ "errorSamples": {
1682
+ "rule": "repeated",
1683
+ "type": "google.rpc.Status",
1684
+ "id": 1
977
1685
  },
978
- "_quantity": {
979
- "oneof": [
980
- "quantity"
981
- ]
1686
+ "errorConfig": {
1687
+ "type": "ImportErrorConfig",
1688
+ "id": 2
982
1689
  }
983
- },
1690
+ }
1691
+ },
1692
+ "UserEvent": {
984
1693
  "fields": {
985
- "id": {
1694
+ "eventType": {
986
1695
  "type": "string",
987
1696
  "id": 1,
988
1697
  "options": {
989
1698
  "(google.api.field_behavior)": "REQUIRED"
990
1699
  }
991
1700
  },
992
- "name": {
1701
+ "userPseudoId": {
993
1702
  "type": "string",
994
1703
  "id": 2,
995
1704
  "options": {
996
- "(google.api.field_behavior)": "REQUIRED",
997
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
1705
+ "(google.api.field_behavior)": "REQUIRED"
998
1706
  }
999
1707
  },
1000
- "quantity": {
1001
- "type": "int32",
1002
- "id": 3,
1003
- "options": {
1004
- "proto3_optional": true
1005
- }
1708
+ "eventTime": {
1709
+ "type": "google.protobuf.Timestamp",
1710
+ "id": 3
1006
1711
  },
1007
- "promotionIds": {
1008
- "rule": "repeated",
1009
- "type": "string",
1712
+ "userInfo": {
1713
+ "type": "UserInfo",
1010
1714
  "id": 4
1011
- }
1012
- }
1013
- },
1014
- "PanelInfo": {
1015
- "oneofs": {
1016
- "_panelPosition": {
1017
- "oneof": [
1018
- "panelPosition"
1019
- ]
1020
1715
  },
1021
- "_totalPanels": {
1022
- "oneof": [
1023
- "totalPanels"
1024
- ]
1025
- }
1026
- },
1027
- "fields": {
1028
- "panelId": {
1029
- "type": "string",
1030
- "id": 2,
1031
- "options": {
1032
- "(google.api.field_behavior)": "REQUIRED"
1033
- }
1716
+ "directUserRequest": {
1717
+ "type": "bool",
1718
+ "id": 5
1034
1719
  },
1035
- "displayName": {
1720
+ "sessionId": {
1036
1721
  "type": "string",
1037
- "id": 3
1722
+ "id": 6
1038
1723
  },
1039
- "panelPosition": {
1040
- "type": "int32",
1041
- "id": 4,
1042
- "options": {
1043
- "proto3_optional": true
1044
- }
1724
+ "pageInfo": {
1725
+ "type": "PageInfo",
1726
+ "id": 7
1045
1727
  },
1046
- "totalPanels": {
1047
- "type": "int32",
1048
- "id": 5,
1049
- "options": {
1050
- "proto3_optional": true
1051
- }
1052
- }
1053
- }
1054
- },
1055
- "MediaInfo": {
1056
- "oneofs": {
1057
- "_mediaProgressPercentage": {
1058
- "oneof": [
1059
- "mediaProgressPercentage"
1060
- ]
1061
- }
1062
- },
1063
- "fields": {
1064
- "mediaProgressDuration": {
1065
- "type": "google.protobuf.Duration",
1066
- "id": 1
1728
+ "attributionToken": {
1729
+ "type": "string",
1730
+ "id": 8
1067
1731
  },
1068
- "mediaProgressPercentage": {
1069
- "type": "float",
1070
- "id": 2,
1071
- "options": {
1072
- "proto3_optional": true
1073
- }
1074
- }
1075
- }
1076
- },
1077
- "PurgeDocumentsRequest": {
1078
- "fields": {
1079
- "parent": {
1732
+ "filter": {
1080
1733
  "type": "string",
1081
- "id": 1,
1082
- "options": {
1083
- "(google.api.field_behavior)": "REQUIRED",
1084
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
1085
- }
1734
+ "id": 9
1735
+ },
1736
+ "documents": {
1737
+ "rule": "repeated",
1738
+ "type": "DocumentInfo",
1739
+ "id": 10
1086
1740
  },
1087
- "filter": {
1088
- "type": "string",
1089
- "id": 2,
1090
- "options": {
1091
- "(google.api.field_behavior)": "REQUIRED"
1092
- }
1741
+ "panel": {
1742
+ "type": "PanelInfo",
1743
+ "id": 11
1093
1744
  },
1094
- "force": {
1095
- "type": "bool",
1096
- "id": 3
1097
- }
1098
- }
1099
- },
1100
- "PurgeDocumentsResponse": {
1101
- "fields": {
1102
- "purgeCount": {
1103
- "type": "int64",
1104
- "id": 1
1745
+ "searchInfo": {
1746
+ "type": "SearchInfo",
1747
+ "id": 12
1105
1748
  },
1106
- "purgeSample": {
1749
+ "completionInfo": {
1750
+ "type": "CompletionInfo",
1751
+ "id": 13
1752
+ },
1753
+ "transactionInfo": {
1754
+ "type": "TransactionInfo",
1755
+ "id": 14
1756
+ },
1757
+ "tagIds": {
1107
1758
  "rule": "repeated",
1108
1759
  "type": "string",
1109
- "id": 2,
1110
- "options": {
1111
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
1112
- }
1760
+ "id": 15
1761
+ },
1762
+ "promotionIds": {
1763
+ "rule": "repeated",
1764
+ "type": "string",
1765
+ "id": 16
1766
+ },
1767
+ "attributes": {
1768
+ "keyType": "string",
1769
+ "type": "CustomAttribute",
1770
+ "id": 17
1771
+ },
1772
+ "mediaInfo": {
1773
+ "type": "MediaInfo",
1774
+ "id": 18
1113
1775
  }
1114
1776
  }
1115
1777
  },
1116
- "PurgeDocumentsMetadata": {
1778
+ "PageInfo": {
1117
1779
  "fields": {
1118
- "createTime": {
1119
- "type": "google.protobuf.Timestamp",
1780
+ "pageviewId": {
1781
+ "type": "string",
1120
1782
  "id": 1
1121
1783
  },
1122
- "updateTime": {
1123
- "type": "google.protobuf.Timestamp",
1784
+ "pageCategory": {
1785
+ "type": "string",
1124
1786
  "id": 2
1125
1787
  },
1126
- "successCount": {
1127
- "type": "int64",
1788
+ "uri": {
1789
+ "type": "string",
1128
1790
  "id": 3
1129
1791
  },
1130
- "failureCount": {
1131
- "type": "int64",
1792
+ "referrerUri": {
1793
+ "type": "string",
1132
1794
  "id": 4
1133
1795
  }
1134
1796
  }
1135
1797
  },
1136
- "Schema": {
1137
- "options": {
1138
- "(google.api.resource).type": "discoveryengine.googleapis.com/Schema",
1139
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}"
1140
- },
1798
+ "SearchInfo": {
1141
1799
  "oneofs": {
1142
- "schema": {
1800
+ "_offset": {
1143
1801
  "oneof": [
1144
- "structSchema",
1145
- "jsonSchema"
1802
+ "offset"
1146
1803
  ]
1147
1804
  }
1148
1805
  },
1149
1806
  "fields": {
1150
- "structSchema": {
1151
- "type": "google.protobuf.Struct",
1152
- "id": 2
1153
- },
1154
- "jsonSchema": {
1807
+ "searchQuery": {
1155
1808
  "type": "string",
1156
- "id": 3
1809
+ "id": 1
1157
1810
  },
1158
- "name": {
1811
+ "orderBy": {
1159
1812
  "type": "string",
1160
- "id": 1,
1813
+ "id": 2
1814
+ },
1815
+ "offset": {
1816
+ "type": "int32",
1817
+ "id": 3,
1161
1818
  "options": {
1162
- "(google.api.field_behavior)": "IMMUTABLE"
1819
+ "proto3_optional": true
1163
1820
  }
1164
1821
  }
1165
1822
  }
1166
1823
  },
1167
- "SchemaService": {
1168
- "options": {
1169
- "(google.api.default_host)": "discoveryengine.googleapis.com",
1170
- "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
1171
- },
1172
- "methods": {
1173
- "GetSchema": {
1174
- "requestType": "GetSchemaRequest",
1175
- "responseType": "Schema",
1176
- "options": {
1177
- "(google.api.http).get": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1178
- "(google.api.http).additional_bindings.get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
1179
- "(google.api.method_signature)": "name"
1180
- },
1181
- "parsedOptions": [
1182
- {
1183
- "(google.api.http)": {
1184
- "get": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1185
- "additional_bindings": {
1186
- "get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
1187
- }
1188
- }
1189
- },
1190
- {
1191
- "(google.api.method_signature)": "name"
1192
- }
1193
- ]
1194
- },
1195
- "ListSchemas": {
1196
- "requestType": "ListSchemasRequest",
1197
- "responseType": "ListSchemasResponse",
1198
- "options": {
1199
- "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
1200
- "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
1201
- "(google.api.method_signature)": "parent"
1202
- },
1203
- "parsedOptions": [
1204
- {
1205
- "(google.api.http)": {
1206
- "get": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
1207
- "additional_bindings": {
1208
- "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas"
1209
- }
1210
- }
1211
- },
1212
- {
1213
- "(google.api.method_signature)": "parent"
1214
- }
1215
- ]
1216
- },
1217
- "CreateSchema": {
1218
- "requestType": "CreateSchemaRequest",
1219
- "responseType": "google.longrunning.Operation",
1220
- "options": {
1221
- "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
1222
- "(google.api.http).body": "schema",
1223
- "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
1224
- "(google.api.http).additional_bindings.body": "schema",
1225
- "(google.api.method_signature)": "parent,schema,schema_id",
1226
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.Schema",
1227
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.CreateSchemaMetadata"
1228
- },
1229
- "parsedOptions": [
1230
- {
1231
- "(google.api.http)": {
1232
- "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
1233
- "body": "schema",
1234
- "additional_bindings": {
1235
- "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
1236
- "body": "schema"
1237
- }
1238
- }
1239
- },
1240
- {
1241
- "(google.api.method_signature)": "parent,schema,schema_id"
1242
- },
1243
- {
1244
- "(google.longrunning.operation_info)": {
1245
- "response_type": "google.cloud.discoveryengine.v1.Schema",
1246
- "metadata_type": "google.cloud.discoveryengine.v1.CreateSchemaMetadata"
1247
- }
1248
- }
1249
- ]
1250
- },
1251
- "UpdateSchema": {
1252
- "requestType": "UpdateSchemaRequest",
1253
- "responseType": "google.longrunning.Operation",
1254
- "options": {
1255
- "(google.api.http).patch": "/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
1256
- "(google.api.http).body": "schema",
1257
- "(google.api.http).additional_bindings.patch": "/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
1258
- "(google.api.http).additional_bindings.body": "schema",
1259
- "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.Schema",
1260
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.UpdateSchemaMetadata"
1261
- },
1262
- "parsedOptions": [
1263
- {
1264
- "(google.api.http)": {
1265
- "patch": "/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
1266
- "body": "schema",
1267
- "additional_bindings": {
1268
- "patch": "/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
1269
- "body": "schema"
1270
- }
1271
- }
1272
- },
1273
- {
1274
- "(google.longrunning.operation_info)": {
1275
- "response_type": "google.cloud.discoveryengine.v1.Schema",
1276
- "metadata_type": "google.cloud.discoveryengine.v1.UpdateSchemaMetadata"
1277
- }
1278
- }
1279
- ]
1824
+ "CompletionInfo": {
1825
+ "fields": {
1826
+ "selectedSuggestion": {
1827
+ "type": "string",
1828
+ "id": 1
1280
1829
  },
1281
- "DeleteSchema": {
1282
- "requestType": "DeleteSchemaRequest",
1283
- "responseType": "google.longrunning.Operation",
1284
- "options": {
1285
- "(google.api.http).delete": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1286
- "(google.api.http).additional_bindings.delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
1287
- "(google.api.method_signature)": "name",
1288
- "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
1289
- "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.DeleteSchemaMetadata"
1290
- },
1291
- "parsedOptions": [
1292
- {
1293
- "(google.api.http)": {
1294
- "delete": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1295
- "additional_bindings": {
1296
- "delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
1297
- }
1298
- }
1299
- },
1300
- {
1301
- "(google.api.method_signature)": "name"
1302
- },
1303
- {
1304
- "(google.longrunning.operation_info)": {
1305
- "response_type": "google.protobuf.Empty",
1306
- "metadata_type": "google.cloud.discoveryengine.v1.DeleteSchemaMetadata"
1307
- }
1308
- }
1830
+ "selectedPosition": {
1831
+ "type": "int32",
1832
+ "id": 2
1833
+ }
1834
+ }
1835
+ },
1836
+ "TransactionInfo": {
1837
+ "oneofs": {
1838
+ "_value": {
1839
+ "oneof": [
1840
+ "value"
1841
+ ]
1842
+ },
1843
+ "_tax": {
1844
+ "oneof": [
1845
+ "tax"
1846
+ ]
1847
+ },
1848
+ "_cost": {
1849
+ "oneof": [
1850
+ "cost"
1851
+ ]
1852
+ },
1853
+ "_discountValue": {
1854
+ "oneof": [
1855
+ "discountValue"
1309
1856
  ]
1310
1857
  }
1311
- }
1312
- },
1313
- "GetSchemaRequest": {
1858
+ },
1314
1859
  "fields": {
1315
- "name": {
1316
- "type": "string",
1860
+ "value": {
1861
+ "type": "float",
1317
1862
  "id": 1,
1318
1863
  "options": {
1319
1864
  "(google.api.field_behavior)": "REQUIRED",
1320
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
1865
+ "proto3_optional": true
1321
1866
  }
1322
- }
1323
- }
1324
- },
1325
- "ListSchemasRequest": {
1326
- "fields": {
1327
- "parent": {
1867
+ },
1868
+ "currency": {
1328
1869
  "type": "string",
1329
- "id": 1,
1870
+ "id": 2,
1330
1871
  "options": {
1331
- "(google.api.field_behavior)": "REQUIRED",
1332
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1872
+ "(google.api.field_behavior)": "REQUIRED"
1333
1873
  }
1334
1874
  },
1335
- "pageSize": {
1336
- "type": "int32",
1337
- "id": 2
1338
- },
1339
- "pageToken": {
1875
+ "transactionId": {
1340
1876
  "type": "string",
1341
1877
  "id": 3
1878
+ },
1879
+ "tax": {
1880
+ "type": "float",
1881
+ "id": 4,
1882
+ "options": {
1883
+ "proto3_optional": true
1884
+ }
1885
+ },
1886
+ "cost": {
1887
+ "type": "float",
1888
+ "id": 5,
1889
+ "options": {
1890
+ "proto3_optional": true
1891
+ }
1892
+ },
1893
+ "discountValue": {
1894
+ "type": "float",
1895
+ "id": 6,
1896
+ "options": {
1897
+ "proto3_optional": true
1898
+ }
1342
1899
  }
1343
1900
  }
1344
1901
  },
1345
- "ListSchemasResponse": {
1902
+ "DocumentInfo": {
1903
+ "oneofs": {
1904
+ "documentDescriptor": {
1905
+ "oneof": [
1906
+ "id",
1907
+ "name",
1908
+ "uri"
1909
+ ]
1910
+ },
1911
+ "_quantity": {
1912
+ "oneof": [
1913
+ "quantity"
1914
+ ]
1915
+ }
1916
+ },
1346
1917
  "fields": {
1347
- "schemas": {
1348
- "rule": "repeated",
1349
- "type": "Schema",
1918
+ "id": {
1919
+ "type": "string",
1350
1920
  "id": 1
1351
1921
  },
1352
- "nextPageToken": {
1922
+ "name": {
1353
1923
  "type": "string",
1354
- "id": 2
1924
+ "id": 2,
1925
+ "options": {
1926
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
1927
+ }
1928
+ },
1929
+ "uri": {
1930
+ "type": "string",
1931
+ "id": 6
1932
+ },
1933
+ "quantity": {
1934
+ "type": "int32",
1935
+ "id": 3,
1936
+ "options": {
1937
+ "proto3_optional": true
1938
+ }
1939
+ },
1940
+ "promotionIds": {
1941
+ "rule": "repeated",
1942
+ "type": "string",
1943
+ "id": 4
1355
1944
  }
1356
1945
  }
1357
1946
  },
1358
- "CreateSchemaRequest": {
1947
+ "PanelInfo": {
1948
+ "oneofs": {
1949
+ "_panelPosition": {
1950
+ "oneof": [
1951
+ "panelPosition"
1952
+ ]
1953
+ },
1954
+ "_totalPanels": {
1955
+ "oneof": [
1956
+ "totalPanels"
1957
+ ]
1958
+ }
1959
+ },
1359
1960
  "fields": {
1360
- "parent": {
1961
+ "panelId": {
1361
1962
  "type": "string",
1362
- "id": 1,
1363
- "options": {
1364
- "(google.api.field_behavior)": "REQUIRED",
1365
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1366
- }
1367
- },
1368
- "schema": {
1369
- "type": "Schema",
1370
1963
  "id": 2,
1371
1964
  "options": {
1372
1965
  "(google.api.field_behavior)": "REQUIRED"
1373
1966
  }
1374
1967
  },
1375
- "schemaId": {
1968
+ "displayName": {
1376
1969
  "type": "string",
1377
- "id": 3,
1970
+ "id": 3
1971
+ },
1972
+ "panelPosition": {
1973
+ "type": "int32",
1974
+ "id": 4,
1378
1975
  "options": {
1379
- "(google.api.field_behavior)": "REQUIRED"
1976
+ "proto3_optional": true
1977
+ }
1978
+ },
1979
+ "totalPanels": {
1980
+ "type": "int32",
1981
+ "id": 5,
1982
+ "options": {
1983
+ "proto3_optional": true
1380
1984
  }
1381
1985
  }
1382
1986
  }
1383
1987
  },
1384
- "UpdateSchemaRequest": {
1988
+ "MediaInfo": {
1989
+ "oneofs": {
1990
+ "_mediaProgressPercentage": {
1991
+ "oneof": [
1992
+ "mediaProgressPercentage"
1993
+ ]
1994
+ }
1995
+ },
1385
1996
  "fields": {
1386
- "schema": {
1387
- "type": "Schema",
1388
- "id": 1,
1997
+ "mediaProgressDuration": {
1998
+ "type": "google.protobuf.Duration",
1999
+ "id": 1
2000
+ },
2001
+ "mediaProgressPercentage": {
2002
+ "type": "float",
2003
+ "id": 2,
1389
2004
  "options": {
1390
- "(google.api.field_behavior)": "REQUIRED"
2005
+ "proto3_optional": true
1391
2006
  }
1392
- },
1393
- "allowMissing": {
1394
- "type": "bool",
1395
- "id": 3
1396
2007
  }
1397
2008
  }
1398
2009
  },
1399
- "DeleteSchemaRequest": {
2010
+ "PurgeDocumentsRequest": {
1400
2011
  "fields": {
1401
- "name": {
2012
+ "parent": {
1402
2013
  "type": "string",
1403
2014
  "id": 1,
1404
2015
  "options": {
1405
2016
  "(google.api.field_behavior)": "REQUIRED",
1406
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
2017
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
2018
+ }
2019
+ },
2020
+ "filter": {
2021
+ "type": "string",
2022
+ "id": 2,
2023
+ "options": {
2024
+ "(google.api.field_behavior)": "REQUIRED"
1407
2025
  }
2026
+ },
2027
+ "force": {
2028
+ "type": "bool",
2029
+ "id": 3
1408
2030
  }
1409
2031
  }
1410
2032
  },
1411
- "CreateSchemaMetadata": {
2033
+ "PurgeDocumentsResponse": {
1412
2034
  "fields": {
1413
- "createTime": {
1414
- "type": "google.protobuf.Timestamp",
2035
+ "purgeCount": {
2036
+ "type": "int64",
1415
2037
  "id": 1
1416
2038
  },
1417
- "updateTime": {
1418
- "type": "google.protobuf.Timestamp",
1419
- "id": 2
2039
+ "purgeSample": {
2040
+ "rule": "repeated",
2041
+ "type": "string",
2042
+ "id": 2,
2043
+ "options": {
2044
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
2045
+ }
1420
2046
  }
1421
2047
  }
1422
2048
  },
1423
- "UpdateSchemaMetadata": {
2049
+ "PurgeDocumentsMetadata": {
1424
2050
  "fields": {
1425
2051
  "createTime": {
1426
2052
  "type": "google.protobuf.Timestamp",
@@ -1429,217 +2055,328 @@
1429
2055
  "updateTime": {
1430
2056
  "type": "google.protobuf.Timestamp",
1431
2057
  "id": 2
2058
+ },
2059
+ "successCount": {
2060
+ "type": "int64",
2061
+ "id": 3
2062
+ },
2063
+ "failureCount": {
2064
+ "type": "int64",
2065
+ "id": 4
1432
2066
  }
1433
2067
  }
1434
2068
  },
1435
- "DeleteSchemaMetadata": {
2069
+ "Schema": {
2070
+ "options": {
2071
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Schema",
2072
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}"
2073
+ },
2074
+ "oneofs": {
2075
+ "schema": {
2076
+ "oneof": [
2077
+ "structSchema",
2078
+ "jsonSchema"
2079
+ ]
2080
+ }
2081
+ },
1436
2082
  "fields": {
1437
- "createTime": {
1438
- "type": "google.protobuf.Timestamp",
1439
- "id": 1
1440
- },
1441
- "updateTime": {
1442
- "type": "google.protobuf.Timestamp",
2083
+ "structSchema": {
2084
+ "type": "google.protobuf.Struct",
1443
2085
  "id": 2
2086
+ },
2087
+ "jsonSchema": {
2088
+ "type": "string",
2089
+ "id": 3
2090
+ },
2091
+ "name": {
2092
+ "type": "string",
2093
+ "id": 1,
2094
+ "options": {
2095
+ "(google.api.field_behavior)": "IMMUTABLE"
2096
+ }
1444
2097
  }
1445
2098
  }
1446
2099
  },
1447
- "SearchService": {
2100
+ "SchemaService": {
1448
2101
  "options": {
1449
2102
  "(google.api.default_host)": "discoveryengine.googleapis.com",
1450
2103
  "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
1451
2104
  },
1452
- "methods": {
1453
- "Search": {
1454
- "requestType": "SearchRequest",
1455
- "responseType": "SearchResponse",
2105
+ "methods": {
2106
+ "GetSchema": {
2107
+ "requestType": "GetSchemaRequest",
2108
+ "responseType": "Schema",
1456
2109
  "options": {
1457
- "(google.api.http).post": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
1458
- "(google.api.http).body": "*",
1459
- "(google.api.http).additional_bindings.post": "/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
1460
- "(google.api.http).additional_bindings.body": "*"
2110
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
2111
+ "(google.api.http).additional_bindings.get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
2112
+ "(google.api.method_signature)": "name"
1461
2113
  },
1462
2114
  "parsedOptions": [
1463
2115
  {
1464
2116
  "(google.api.http)": {
1465
- "post": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
1466
- "body": "*",
2117
+ "get": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1467
2118
  "additional_bindings": {
1468
- "post": "/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
1469
- "body": "*"
2119
+ "get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
1470
2120
  }
1471
2121
  }
2122
+ },
2123
+ {
2124
+ "(google.api.method_signature)": "name"
1472
2125
  }
1473
2126
  ]
1474
- }
1475
- }
1476
- },
1477
- "SearchRequest": {
1478
- "fields": {
1479
- "servingConfig": {
1480
- "type": "string",
1481
- "id": 1,
1482
- "options": {
1483
- "(google.api.field_behavior)": "REQUIRED",
1484
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
1485
- }
1486
2127
  },
1487
- "branch": {
1488
- "type": "string",
1489
- "id": 2,
2128
+ "ListSchemas": {
2129
+ "requestType": "ListSchemasRequest",
2130
+ "responseType": "ListSchemasResponse",
1490
2131
  "options": {
1491
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
1492
- }
1493
- },
1494
- "query": {
1495
- "type": "string",
1496
- "id": 3
1497
- },
1498
- "pageSize": {
1499
- "type": "int32",
1500
- "id": 4
1501
- },
1502
- "pageToken": {
1503
- "type": "string",
1504
- "id": 5
1505
- },
1506
- "offset": {
1507
- "type": "int32",
1508
- "id": 6
1509
- },
1510
- "userInfo": {
1511
- "type": "UserInfo",
1512
- "id": 21
1513
- },
1514
- "params": {
1515
- "keyType": "string",
1516
- "type": "google.protobuf.Value",
1517
- "id": 11
1518
- },
1519
- "queryExpansionSpec": {
1520
- "type": "QueryExpansionSpec",
1521
- "id": 13
1522
- },
1523
- "spellCorrectionSpec": {
1524
- "type": "SpellCorrectionSpec",
1525
- "id": 14
1526
- },
1527
- "userPseudoId": {
1528
- "type": "string",
1529
- "id": 15
1530
- },
1531
- "contentSearchSpec": {
1532
- "type": "ContentSearchSpec",
1533
- "id": 24
1534
- },
1535
- "safeSearch": {
1536
- "type": "bool",
1537
- "id": 20
1538
- },
1539
- "userLabels": {
1540
- "keyType": "string",
1541
- "type": "string",
1542
- "id": 22
1543
- }
1544
- },
1545
- "nested": {
1546
- "QueryExpansionSpec": {
1547
- "fields": {
1548
- "condition": {
1549
- "type": "Condition",
1550
- "id": 1
1551
- }
2132
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
2133
+ "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
2134
+ "(google.api.method_signature)": "parent"
1552
2135
  },
1553
- "nested": {
1554
- "Condition": {
1555
- "values": {
1556
- "CONDITION_UNSPECIFIED": 0,
1557
- "DISABLED": 1,
1558
- "AUTO": 2
2136
+ "parsedOptions": [
2137
+ {
2138
+ "(google.api.http)": {
2139
+ "get": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
2140
+ "additional_bindings": {
2141
+ "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas"
2142
+ }
1559
2143
  }
2144
+ },
2145
+ {
2146
+ "(google.api.method_signature)": "parent"
1560
2147
  }
1561
- }
2148
+ ]
1562
2149
  },
1563
- "SpellCorrectionSpec": {
1564
- "fields": {
1565
- "mode": {
1566
- "type": "Mode",
1567
- "id": 1
1568
- }
2150
+ "CreateSchema": {
2151
+ "requestType": "CreateSchemaRequest",
2152
+ "responseType": "google.longrunning.Operation",
2153
+ "options": {
2154
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
2155
+ "(google.api.http).body": "schema",
2156
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
2157
+ "(google.api.http).additional_bindings.body": "schema",
2158
+ "(google.api.method_signature)": "parent,schema,schema_id",
2159
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.Schema",
2160
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.CreateSchemaMetadata"
1569
2161
  },
1570
- "nested": {
1571
- "Mode": {
1572
- "values": {
1573
- "MODE_UNSPECIFIED": 0,
1574
- "SUGGESTION_ONLY": 1,
1575
- "AUTO": 2
2162
+ "parsedOptions": [
2163
+ {
2164
+ "(google.api.http)": {
2165
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
2166
+ "body": "schema",
2167
+ "additional_bindings": {
2168
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
2169
+ "body": "schema"
2170
+ }
2171
+ }
2172
+ },
2173
+ {
2174
+ "(google.api.method_signature)": "parent,schema,schema_id"
2175
+ },
2176
+ {
2177
+ "(google.longrunning.operation_info)": {
2178
+ "response_type": "google.cloud.discoveryengine.v1.Schema",
2179
+ "metadata_type": "google.cloud.discoveryengine.v1.CreateSchemaMetadata"
1576
2180
  }
1577
2181
  }
1578
- }
2182
+ ]
1579
2183
  },
1580
- "ContentSearchSpec": {
1581
- "fields": {
1582
- "snippetSpec": {
1583
- "type": "SnippetSpec",
1584
- "id": 1
2184
+ "UpdateSchema": {
2185
+ "requestType": "UpdateSchemaRequest",
2186
+ "responseType": "google.longrunning.Operation",
2187
+ "options": {
2188
+ "(google.api.http).patch": "/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
2189
+ "(google.api.http).body": "schema",
2190
+ "(google.api.http).additional_bindings.patch": "/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
2191
+ "(google.api.http).additional_bindings.body": "schema",
2192
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.Schema",
2193
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.UpdateSchemaMetadata"
2194
+ },
2195
+ "parsedOptions": [
2196
+ {
2197
+ "(google.api.http)": {
2198
+ "patch": "/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
2199
+ "body": "schema",
2200
+ "additional_bindings": {
2201
+ "patch": "/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
2202
+ "body": "schema"
2203
+ }
2204
+ }
2205
+ },
2206
+ {
2207
+ "(google.longrunning.operation_info)": {
2208
+ "response_type": "google.cloud.discoveryengine.v1.Schema",
2209
+ "metadata_type": "google.cloud.discoveryengine.v1.UpdateSchemaMetadata"
2210
+ }
1585
2211
  }
2212
+ ]
2213
+ },
2214
+ "DeleteSchema": {
2215
+ "requestType": "DeleteSchemaRequest",
2216
+ "responseType": "google.longrunning.Operation",
2217
+ "options": {
2218
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
2219
+ "(google.api.http).additional_bindings.delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
2220
+ "(google.api.method_signature)": "name",
2221
+ "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
2222
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.DeleteSchemaMetadata"
1586
2223
  },
1587
- "nested": {
1588
- "SnippetSpec": {
1589
- "fields": {
1590
- "maxSnippetCount": {
1591
- "type": "int32",
1592
- "id": 1
1593
- },
1594
- "referenceOnly": {
1595
- "type": "bool",
1596
- "id": 2
2224
+ "parsedOptions": [
2225
+ {
2226
+ "(google.api.http)": {
2227
+ "delete": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
2228
+ "additional_bindings": {
2229
+ "delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
1597
2230
  }
1598
2231
  }
2232
+ },
2233
+ {
2234
+ "(google.api.method_signature)": "name"
2235
+ },
2236
+ {
2237
+ "(google.longrunning.operation_info)": {
2238
+ "response_type": "google.protobuf.Empty",
2239
+ "metadata_type": "google.cloud.discoveryengine.v1.DeleteSchemaMetadata"
2240
+ }
1599
2241
  }
2242
+ ]
2243
+ }
2244
+ }
2245
+ },
2246
+ "GetSchemaRequest": {
2247
+ "fields": {
2248
+ "name": {
2249
+ "type": "string",
2250
+ "id": 1,
2251
+ "options": {
2252
+ "(google.api.field_behavior)": "REQUIRED",
2253
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
2254
+ }
2255
+ }
2256
+ }
2257
+ },
2258
+ "ListSchemasRequest": {
2259
+ "fields": {
2260
+ "parent": {
2261
+ "type": "string",
2262
+ "id": 1,
2263
+ "options": {
2264
+ "(google.api.field_behavior)": "REQUIRED",
2265
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1600
2266
  }
2267
+ },
2268
+ "pageSize": {
2269
+ "type": "int32",
2270
+ "id": 2
2271
+ },
2272
+ "pageToken": {
2273
+ "type": "string",
2274
+ "id": 3
1601
2275
  }
1602
2276
  }
1603
2277
  },
1604
- "SearchResponse": {
2278
+ "ListSchemasResponse": {
1605
2279
  "fields": {
1606
- "results": {
2280
+ "schemas": {
1607
2281
  "rule": "repeated",
1608
- "type": "SearchResult",
2282
+ "type": "Schema",
1609
2283
  "id": 1
1610
2284
  },
1611
- "totalSize": {
1612
- "type": "int32",
1613
- "id": 3
1614
- },
1615
- "attributionToken": {
1616
- "type": "string",
1617
- "id": 4
1618
- },
1619
2285
  "nextPageToken": {
1620
2286
  "type": "string",
1621
- "id": 5
2287
+ "id": 2
2288
+ }
2289
+ }
2290
+ },
2291
+ "CreateSchemaRequest": {
2292
+ "fields": {
2293
+ "parent": {
2294
+ "type": "string",
2295
+ "id": 1,
2296
+ "options": {
2297
+ "(google.api.field_behavior)": "REQUIRED",
2298
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2299
+ }
1622
2300
  },
1623
- "correctedQuery": {
2301
+ "schema": {
2302
+ "type": "Schema",
2303
+ "id": 2,
2304
+ "options": {
2305
+ "(google.api.field_behavior)": "REQUIRED"
2306
+ }
2307
+ },
2308
+ "schemaId": {
1624
2309
  "type": "string",
1625
- "id": 7
2310
+ "id": 3,
2311
+ "options": {
2312
+ "(google.api.field_behavior)": "REQUIRED"
2313
+ }
1626
2314
  }
1627
- },
1628
- "nested": {
1629
- "SearchResult": {
1630
- "fields": {
1631
- "id": {
1632
- "type": "string",
1633
- "id": 1
1634
- },
1635
- "document": {
1636
- "type": "Document",
1637
- "id": 2
1638
- }
2315
+ }
2316
+ },
2317
+ "UpdateSchemaRequest": {
2318
+ "fields": {
2319
+ "schema": {
2320
+ "type": "Schema",
2321
+ "id": 1,
2322
+ "options": {
2323
+ "(google.api.field_behavior)": "REQUIRED"
2324
+ }
2325
+ },
2326
+ "allowMissing": {
2327
+ "type": "bool",
2328
+ "id": 3
2329
+ }
2330
+ }
2331
+ },
2332
+ "DeleteSchemaRequest": {
2333
+ "fields": {
2334
+ "name": {
2335
+ "type": "string",
2336
+ "id": 1,
2337
+ "options": {
2338
+ "(google.api.field_behavior)": "REQUIRED",
2339
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
1639
2340
  }
1640
2341
  }
1641
2342
  }
1642
2343
  },
2344
+ "CreateSchemaMetadata": {
2345
+ "fields": {
2346
+ "createTime": {
2347
+ "type": "google.protobuf.Timestamp",
2348
+ "id": 1
2349
+ },
2350
+ "updateTime": {
2351
+ "type": "google.protobuf.Timestamp",
2352
+ "id": 2
2353
+ }
2354
+ }
2355
+ },
2356
+ "UpdateSchemaMetadata": {
2357
+ "fields": {
2358
+ "createTime": {
2359
+ "type": "google.protobuf.Timestamp",
2360
+ "id": 1
2361
+ },
2362
+ "updateTime": {
2363
+ "type": "google.protobuf.Timestamp",
2364
+ "id": 2
2365
+ }
2366
+ }
2367
+ },
2368
+ "DeleteSchemaMetadata": {
2369
+ "fields": {
2370
+ "createTime": {
2371
+ "type": "google.protobuf.Timestamp",
2372
+ "id": 1
2373
+ },
2374
+ "updateTime": {
2375
+ "type": "google.protobuf.Timestamp",
2376
+ "id": 2
2377
+ }
2378
+ }
2379
+ },
1643
2380
  "UserEventService": {
1644
2381
  "options": {
1645
2382
  "(google.api.default_host)": "discoveryengine.googleapis.com",
@@ -1816,573 +2553,293 @@
1816
2553
  },
1817
2554
  "max": {
1818
2555
  "oneof": [
1819
- "maximum",
1820
- "exclusiveMaximum"
1821
- ]
1822
- }
1823
- },
1824
- "fields": {
1825
- "minimum": {
1826
- "type": "double",
1827
- "id": 1
1828
- },
1829
- "exclusiveMinimum": {
1830
- "type": "double",
1831
- "id": 2
1832
- },
1833
- "maximum": {
1834
- "type": "double",
1835
- "id": 3
1836
- },
1837
- "exclusiveMaximum": {
1838
- "type": "double",
1839
- "id": 4
1840
- }
1841
- }
1842
- },
1843
- "CustomAttribute": {
1844
- "fields": {
1845
- "text": {
1846
- "rule": "repeated",
1847
- "type": "string",
1848
- "id": 1
1849
- },
1850
- "numbers": {
1851
- "rule": "repeated",
1852
- "type": "double",
1853
- "id": 2
1854
- }
1855
- }
1856
- },
1857
- "UserInfo": {
1858
- "fields": {
1859
- "userId": {
1860
- "type": "string",
1861
- "id": 1
1862
- },
1863
- "userAgent": {
1864
- "type": "string",
1865
- "id": 2
1866
- }
1867
- }
1868
- },
1869
- "CompletionService": {
1870
- "options": {
1871
- "(google.api.default_host)": "discoveryengine.googleapis.com",
1872
- "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
1873
- },
1874
- "methods": {
1875
- "CompleteQuery": {
1876
- "requestType": "CompleteQueryRequest",
1877
- "responseType": "CompleteQueryResponse",
1878
- "options": {
1879
- "(google.api.http).get": "/v1beta/{data_store=projects/*/locations/*/dataStores/*}:completeQuery",
1880
- "(google.api.http).additional_bindings.get": "/v1beta/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery"
1881
- },
1882
- "parsedOptions": [
1883
- {
1884
- "(google.api.http)": {
1885
- "get": "/v1beta/{data_store=projects/*/locations/*/dataStores/*}:completeQuery",
1886
- "additional_bindings": {
1887
- "get": "/v1beta/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery"
1888
- }
1889
- }
1890
- }
1891
- ]
1892
- }
1893
- }
1894
- },
1895
- "CompleteQueryRequest": {
1896
- "fields": {
1897
- "dataStore": {
1898
- "type": "string",
1899
- "id": 1,
1900
- "options": {
1901
- "(google.api.field_behavior)": "REQUIRED",
1902
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1903
- }
1904
- },
1905
- "query": {
1906
- "type": "string",
1907
- "id": 2,
1908
- "options": {
1909
- "(google.api.field_behavior)": "REQUIRED"
1910
- }
1911
- },
1912
- "queryModel": {
1913
- "type": "string",
1914
- "id": 3
1915
- },
1916
- "userPseudoId": {
1917
- "type": "string",
1918
- "id": 4
1919
- },
1920
- "includeTailSuggestions": {
1921
- "type": "bool",
1922
- "id": 5
1923
- }
1924
- }
1925
- },
1926
- "CompleteQueryResponse": {
1927
- "fields": {
1928
- "querySuggestions": {
1929
- "rule": "repeated",
1930
- "type": "QuerySuggestion",
1931
- "id": 1
1932
- },
1933
- "tailMatchTriggered": {
1934
- "type": "bool",
1935
- "id": 2
1936
- }
1937
- },
1938
- "nested": {
1939
- "QuerySuggestion": {
1940
- "fields": {
1941
- "suggestion": {
1942
- "type": "string",
1943
- "id": 1
1944
- }
1945
- }
1946
- }
1947
- }
1948
- },
1949
- "Conversation": {
1950
- "options": {
1951
- "(google.api.resource).type": "discoveryengine.googleapis.com/Conversation",
1952
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}"
2556
+ "maximum",
2557
+ "exclusiveMaximum"
2558
+ ]
2559
+ }
1953
2560
  },
1954
2561
  "fields": {
1955
- "name": {
1956
- "type": "string",
1957
- "id": 1,
1958
- "options": {
1959
- "(google.api.field_behavior)": "IMMUTABLE"
1960
- }
2562
+ "minimum": {
2563
+ "type": "double",
2564
+ "id": 1
1961
2565
  },
1962
- "state": {
1963
- "type": "State",
2566
+ "exclusiveMinimum": {
2567
+ "type": "double",
1964
2568
  "id": 2
1965
2569
  },
1966
- "userPseudoId": {
1967
- "type": "string",
2570
+ "maximum": {
2571
+ "type": "double",
1968
2572
  "id": 3
1969
2573
  },
1970
- "messages": {
1971
- "rule": "repeated",
1972
- "type": "ConversationMessage",
2574
+ "exclusiveMaximum": {
2575
+ "type": "double",
1973
2576
  "id": 4
1974
- },
1975
- "startTime": {
1976
- "type": "google.protobuf.Timestamp",
1977
- "id": 5,
1978
- "options": {
1979
- "(google.api.field_behavior)": "OUTPUT_ONLY"
1980
- }
1981
- },
1982
- "endTime": {
1983
- "type": "google.protobuf.Timestamp",
1984
- "id": 6,
1985
- "options": {
1986
- "(google.api.field_behavior)": "OUTPUT_ONLY"
1987
- }
1988
- }
1989
- },
1990
- "nested": {
1991
- "State": {
1992
- "values": {
1993
- "STATE_UNSPECIFIED": 0,
1994
- "IN_PROGRESS": 1,
1995
- "COMPLETED": 2
1996
- }
1997
2577
  }
1998
2578
  }
1999
2579
  },
2000
- "Reply": {
2580
+ "CustomAttribute": {
2001
2581
  "fields": {
2002
- "reply": {
2582
+ "text": {
2583
+ "rule": "repeated",
2003
2584
  "type": "string",
2004
2585
  "id": 1
2005
2586
  },
2006
- "references": {
2587
+ "numbers": {
2007
2588
  "rule": "repeated",
2008
- "type": "Reference",
2589
+ "type": "double",
2009
2590
  "id": 2
2010
2591
  }
2011
- },
2012
- "nested": {
2013
- "Reference": {
2014
- "fields": {
2015
- "uri": {
2016
- "type": "string",
2017
- "id": 1
2018
- },
2019
- "anchorText": {
2020
- "type": "string",
2021
- "id": 2
2022
- },
2023
- "start": {
2024
- "type": "int32",
2025
- "id": 3
2026
- },
2027
- "end": {
2028
- "type": "int32",
2029
- "id": 4
2030
- }
2031
- }
2032
- }
2033
2592
  }
2034
2593
  },
2035
- "ConversationContext": {
2594
+ "UserInfo": {
2036
2595
  "fields": {
2037
- "contextDocuments": {
2038
- "rule": "repeated",
2596
+ "userId": {
2039
2597
  "type": "string",
2040
2598
  "id": 1
2041
2599
  },
2042
- "activeDocument": {
2043
- "type": "string",
2044
- "id": 2
2045
- }
2046
- }
2047
- },
2048
- "TextInput": {
2049
- "fields": {
2050
- "input": {
2600
+ "userAgent": {
2051
2601
  "type": "string",
2052
- "id": 1
2053
- },
2054
- "context": {
2055
- "type": "ConversationContext",
2056
2602
  "id": 2
2057
2603
  }
2058
2604
  }
2059
2605
  },
2060
- "ConversationMessage": {
2061
- "oneofs": {
2062
- "message": {
2063
- "oneof": [
2064
- "userInput",
2065
- "reply"
2066
- ]
2067
- }
2068
- },
2606
+ "DoubleList": {
2069
2607
  "fields": {
2070
- "userInput": {
2071
- "type": "TextInput",
2608
+ "values": {
2609
+ "rule": "repeated",
2610
+ "type": "double",
2072
2611
  "id": 1
2073
- },
2074
- "reply": {
2075
- "type": "Reply",
2076
- "id": 2
2077
- },
2078
- "createTime": {
2079
- "type": "google.protobuf.Timestamp",
2080
- "id": 3,
2081
- "options": {
2082
- "(google.api.field_behavior)": "OUTPUT_ONLY"
2083
- }
2084
2612
  }
2085
2613
  }
2086
2614
  },
2087
- "ConversationalSearchService": {
2615
+ "CompletionService": {
2088
2616
  "options": {
2089
2617
  "(google.api.default_host)": "discoveryengine.googleapis.com",
2090
2618
  "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
2091
2619
  },
2092
2620
  "methods": {
2093
- "ConverseConversation": {
2094
- "requestType": "ConverseConversationRequest",
2095
- "responseType": "ConverseConversationResponse",
2096
- "options": {
2097
- "(google.api.http).post": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse",
2098
- "(google.api.http).body": "*",
2099
- "(google.api.http).additional_bindings.post": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse",
2100
- "(google.api.http).additional_bindings.body": "*",
2101
- "(google.api.method_signature)": "name,query"
2102
- },
2103
- "parsedOptions": [
2104
- {
2105
- "(google.api.http)": {
2106
- "post": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse",
2107
- "body": "*",
2108
- "additional_bindings": {
2109
- "post": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse",
2110
- "body": "*"
2111
- }
2112
- }
2113
- },
2114
- {
2115
- "(google.api.method_signature)": "name,query"
2116
- }
2117
- ]
2118
- },
2119
- "CreateConversation": {
2120
- "requestType": "CreateConversationRequest",
2121
- "responseType": "Conversation",
2122
- "options": {
2123
- "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
2124
- "(google.api.http).body": "conversation",
2125
- "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
2126
- "(google.api.http).additional_bindings.body": "conversation",
2127
- "(google.api.method_signature)": "parent,conversation"
2128
- },
2129
- "parsedOptions": [
2130
- {
2131
- "(google.api.http)": {
2132
- "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
2133
- "body": "conversation",
2134
- "additional_bindings": {
2135
- "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
2136
- "body": "conversation"
2137
- }
2138
- }
2139
- },
2140
- {
2141
- "(google.api.method_signature)": "parent,conversation"
2142
- }
2143
- ]
2144
- },
2145
- "DeleteConversation": {
2146
- "requestType": "DeleteConversationRequest",
2147
- "responseType": "google.protobuf.Empty",
2148
- "options": {
2149
- "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
2150
- "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
2151
- "(google.api.method_signature)": "name"
2152
- },
2153
- "parsedOptions": [
2154
- {
2155
- "(google.api.http)": {
2156
- "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
2157
- "additional_bindings": {
2158
- "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
2159
- }
2160
- }
2161
- },
2162
- {
2163
- "(google.api.method_signature)": "name"
2164
- }
2165
- ]
2166
- },
2167
- "UpdateConversation": {
2168
- "requestType": "UpdateConversationRequest",
2169
- "responseType": "Conversation",
2170
- "options": {
2171
- "(google.api.http).patch": "/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}",
2172
- "(google.api.http).body": "conversation",
2173
- "(google.api.http).additional_bindings.patch": "/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
2174
- "(google.api.http).additional_bindings.body": "conversation",
2175
- "(google.api.method_signature)": "conversation,update_mask"
2176
- },
2177
- "parsedOptions": [
2178
- {
2179
- "(google.api.http)": {
2180
- "patch": "/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}",
2181
- "body": "conversation",
2182
- "additional_bindings": {
2183
- "patch": "/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
2184
- "body": "conversation"
2185
- }
2186
- }
2187
- },
2188
- {
2189
- "(google.api.method_signature)": "conversation,update_mask"
2190
- }
2191
- ]
2192
- },
2193
- "GetConversation": {
2194
- "requestType": "GetConversationRequest",
2195
- "responseType": "Conversation",
2196
- "options": {
2197
- "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
2198
- "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
2199
- "(google.api.method_signature)": "name"
2200
- },
2201
- "parsedOptions": [
2202
- {
2203
- "(google.api.http)": {
2204
- "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
2205
- "additional_bindings": {
2206
- "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
2207
- }
2208
- }
2209
- },
2210
- {
2211
- "(google.api.method_signature)": "name"
2212
- }
2213
- ]
2214
- },
2215
- "ListConversations": {
2216
- "requestType": "ListConversationsRequest",
2217
- "responseType": "ListConversationsResponse",
2621
+ "CompleteQuery": {
2622
+ "requestType": "CompleteQueryRequest",
2623
+ "responseType": "CompleteQueryResponse",
2218
2624
  "options": {
2219
- "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
2220
- "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
2221
- "(google.api.method_signature)": "parent"
2625
+ "(google.api.http).get": "/v1beta/{data_store=projects/*/locations/*/dataStores/*}:completeQuery",
2626
+ "(google.api.http).additional_bindings.get": "/v1beta/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery"
2222
2627
  },
2223
2628
  "parsedOptions": [
2224
2629
  {
2225
2630
  "(google.api.http)": {
2226
- "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
2631
+ "get": "/v1beta/{data_store=projects/*/locations/*/dataStores/*}:completeQuery",
2227
2632
  "additional_bindings": {
2228
- "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations"
2633
+ "get": "/v1beta/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery"
2229
2634
  }
2230
2635
  }
2231
- },
2232
- {
2233
- "(google.api.method_signature)": "parent"
2234
2636
  }
2235
2637
  ]
2236
2638
  }
2237
2639
  }
2238
2640
  },
2239
- "ConverseConversationRequest": {
2641
+ "CompleteQueryRequest": {
2240
2642
  "fields": {
2241
- "name": {
2643
+ "dataStore": {
2242
2644
  "type": "string",
2243
2645
  "id": 1,
2244
2646
  "options": {
2245
2647
  "(google.api.field_behavior)": "REQUIRED",
2246
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
2648
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2247
2649
  }
2248
2650
  },
2249
2651
  "query": {
2250
- "type": "TextInput",
2652
+ "type": "string",
2251
2653
  "id": 2,
2252
2654
  "options": {
2253
2655
  "(google.api.field_behavior)": "REQUIRED"
2254
2656
  }
2255
2657
  },
2256
- "servingConfig": {
2658
+ "queryModel": {
2257
2659
  "type": "string",
2258
- "id": 3,
2259
- "options": {
2260
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
2261
- }
2660
+ "id": 3
2262
2661
  },
2263
- "conversation": {
2264
- "type": "Conversation",
2265
- "id": 5
2662
+ "userPseudoId": {
2663
+ "type": "string",
2664
+ "id": 4
2266
2665
  },
2267
- "safeSearch": {
2666
+ "includeTailSuggestions": {
2268
2667
  "type": "bool",
2269
- "id": 6
2668
+ "id": 5
2270
2669
  }
2271
2670
  }
2272
2671
  },
2273
- "ConverseConversationResponse": {
2672
+ "CompleteQueryResponse": {
2274
2673
  "fields": {
2275
- "reply": {
2276
- "type": "Reply",
2674
+ "querySuggestions": {
2675
+ "rule": "repeated",
2676
+ "type": "QuerySuggestion",
2277
2677
  "id": 1
2278
2678
  },
2279
- "conversation": {
2280
- "type": "Conversation",
2679
+ "tailMatchTriggered": {
2680
+ "type": "bool",
2281
2681
  "id": 2
2282
- },
2283
- "searchResults": {
2284
- "rule": "repeated",
2285
- "type": "SearchResponse.SearchResult",
2286
- "id": 3
2682
+ }
2683
+ },
2684
+ "nested": {
2685
+ "QuerySuggestion": {
2686
+ "fields": {
2687
+ "suggestion": {
2688
+ "type": "string",
2689
+ "id": 1
2690
+ }
2691
+ }
2287
2692
  }
2288
2693
  }
2289
2694
  },
2290
- "CreateConversationRequest": {
2695
+ "Conversation": {
2696
+ "options": {
2697
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Conversation",
2698
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}"
2699
+ },
2291
2700
  "fields": {
2292
- "parent": {
2701
+ "name": {
2293
2702
  "type": "string",
2294
2703
  "id": 1,
2295
2704
  "options": {
2296
- "(google.api.field_behavior)": "REQUIRED",
2297
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2705
+ "(google.api.field_behavior)": "IMMUTABLE"
2298
2706
  }
2299
2707
  },
2300
- "conversation": {
2301
- "type": "Conversation",
2302
- "id": 2,
2708
+ "state": {
2709
+ "type": "State",
2710
+ "id": 2
2711
+ },
2712
+ "userPseudoId": {
2713
+ "type": "string",
2714
+ "id": 3
2715
+ },
2716
+ "messages": {
2717
+ "rule": "repeated",
2718
+ "type": "ConversationMessage",
2719
+ "id": 4
2720
+ },
2721
+ "startTime": {
2722
+ "type": "google.protobuf.Timestamp",
2723
+ "id": 5,
2303
2724
  "options": {
2304
- "(google.api.field_behavior)": "REQUIRED"
2725
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2726
+ }
2727
+ },
2728
+ "endTime": {
2729
+ "type": "google.protobuf.Timestamp",
2730
+ "id": 6,
2731
+ "options": {
2732
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2733
+ }
2734
+ }
2735
+ },
2736
+ "nested": {
2737
+ "State": {
2738
+ "values": {
2739
+ "STATE_UNSPECIFIED": 0,
2740
+ "IN_PROGRESS": 1,
2741
+ "COMPLETED": 2
2305
2742
  }
2306
2743
  }
2307
2744
  }
2308
2745
  },
2309
- "UpdateConversationRequest": {
2746
+ "Reply": {
2310
2747
  "fields": {
2311
- "conversation": {
2312
- "type": "Conversation",
2748
+ "reply": {
2749
+ "type": "string",
2313
2750
  "id": 1,
2314
2751
  "options": {
2315
- "(google.api.field_behavior)": "REQUIRED"
2752
+ "deprecated": true
2316
2753
  }
2317
2754
  },
2318
- "updateMask": {
2319
- "type": "google.protobuf.FieldMask",
2320
- "id": 2
2755
+ "references": {
2756
+ "rule": "repeated",
2757
+ "type": "Reference",
2758
+ "id": 2,
2759
+ "options": {
2760
+ "deprecated": true
2761
+ }
2762
+ },
2763
+ "summary": {
2764
+ "type": "SearchResponse.Summary",
2765
+ "id": 3
2321
2766
  }
2322
- }
2323
- },
2324
- "DeleteConversationRequest": {
2325
- "fields": {
2326
- "name": {
2327
- "type": "string",
2328
- "id": 1,
2767
+ },
2768
+ "nested": {
2769
+ "Reference": {
2329
2770
  "options": {
2330
- "(google.api.field_behavior)": "REQUIRED",
2331
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
2771
+ "deprecated": true
2772
+ },
2773
+ "fields": {
2774
+ "uri": {
2775
+ "type": "string",
2776
+ "id": 1
2777
+ },
2778
+ "anchorText": {
2779
+ "type": "string",
2780
+ "id": 2
2781
+ },
2782
+ "start": {
2783
+ "type": "int32",
2784
+ "id": 3
2785
+ },
2786
+ "end": {
2787
+ "type": "int32",
2788
+ "id": 4
2789
+ }
2332
2790
  }
2333
2791
  }
2334
2792
  }
2335
2793
  },
2336
- "GetConversationRequest": {
2794
+ "ConversationContext": {
2337
2795
  "fields": {
2338
- "name": {
2796
+ "contextDocuments": {
2797
+ "rule": "repeated",
2339
2798
  "type": "string",
2340
- "id": 1,
2341
- "options": {
2342
- "(google.api.field_behavior)": "REQUIRED",
2343
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
2344
- }
2799
+ "id": 1
2800
+ },
2801
+ "activeDocument": {
2802
+ "type": "string",
2803
+ "id": 2
2345
2804
  }
2346
2805
  }
2347
2806
  },
2348
- "ListConversationsRequest": {
2807
+ "TextInput": {
2349
2808
  "fields": {
2350
- "parent": {
2809
+ "input": {
2351
2810
  "type": "string",
2352
- "id": 1,
2353
- "options": {
2354
- "(google.api.field_behavior)": "REQUIRED",
2355
- "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2356
- }
2811
+ "id": 1
2357
2812
  },
2358
- "pageSize": {
2359
- "type": "int32",
2813
+ "context": {
2814
+ "type": "ConversationContext",
2360
2815
  "id": 2
2361
- },
2362
- "pageToken": {
2363
- "type": "string",
2364
- "id": 3
2365
- },
2366
- "filter": {
2367
- "type": "string",
2368
- "id": 4
2369
- },
2370
- "orderBy": {
2371
- "type": "string",
2372
- "id": 5
2373
2816
  }
2374
2817
  }
2375
2818
  },
2376
- "ListConversationsResponse": {
2819
+ "ConversationMessage": {
2820
+ "oneofs": {
2821
+ "message": {
2822
+ "oneof": [
2823
+ "userInput",
2824
+ "reply"
2825
+ ]
2826
+ }
2827
+ },
2377
2828
  "fields": {
2378
- "conversations": {
2379
- "rule": "repeated",
2380
- "type": "Conversation",
2829
+ "userInput": {
2830
+ "type": "TextInput",
2381
2831
  "id": 1
2382
2832
  },
2383
- "nextPageToken": {
2384
- "type": "string",
2833
+ "reply": {
2834
+ "type": "Reply",
2385
2835
  "id": 2
2836
+ },
2837
+ "createTime": {
2838
+ "type": "google.protobuf.Timestamp",
2839
+ "id": 3,
2840
+ "options": {
2841
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2842
+ }
2386
2843
  }
2387
2844
  }
2388
2845
  },
@@ -2495,6 +2952,14 @@
2495
2952
  "type": "ContentSearchSpec",
2496
2953
  "id": 24
2497
2954
  },
2955
+ "embeddingSpec": {
2956
+ "type": "EmbeddingSpec",
2957
+ "id": 23
2958
+ },
2959
+ "rankingExpression": {
2960
+ "type": "string",
2961
+ "id": 26
2962
+ },
2498
2963
  "safeSearch": {
2499
2964
  "type": "bool",
2500
2965
  "id": 20
@@ -2614,6 +3079,10 @@
2614
3079
  "condition": {
2615
3080
  "type": "Condition",
2616
3081
  "id": 1
3082
+ },
3083
+ "pinUnexpandedResults": {
3084
+ "type": "bool",
3085
+ "id": 2
2617
3086
  }
2618
3087
  },
2619
3088
  "nested": {
@@ -2698,17 +3167,57 @@
2698
3167
  "ignoreNonSummarySeekingQuery": {
2699
3168
  "type": "bool",
2700
3169
  "id": 4
3170
+ },
3171
+ "languageCode": {
3172
+ "type": "string",
3173
+ "id": 6
2701
3174
  }
2702
3175
  }
2703
3176
  },
2704
3177
  "ExtractiveContentSpec": {
2705
3178
  "fields": {
2706
- "maxExtractiveAnswerCount": {
2707
- "type": "int32",
3179
+ "maxExtractiveAnswerCount": {
3180
+ "type": "int32",
3181
+ "id": 1
3182
+ },
3183
+ "maxExtractiveSegmentCount": {
3184
+ "type": "int32",
3185
+ "id": 2
3186
+ },
3187
+ "returnExtractiveSegmentScore": {
3188
+ "type": "bool",
3189
+ "id": 3
3190
+ },
3191
+ "numPreviousSegments": {
3192
+ "type": "int32",
3193
+ "id": 4
3194
+ },
3195
+ "numNextSegments": {
3196
+ "type": "int32",
3197
+ "id": 5
3198
+ }
3199
+ }
3200
+ }
3201
+ }
3202
+ },
3203
+ "EmbeddingSpec": {
3204
+ "fields": {
3205
+ "embeddingVectors": {
3206
+ "rule": "repeated",
3207
+ "type": "EmbeddingVector",
3208
+ "id": 1
3209
+ }
3210
+ },
3211
+ "nested": {
3212
+ "EmbeddingVector": {
3213
+ "fields": {
3214
+ "fieldPath": {
3215
+ "type": "string",
2708
3216
  "id": 1
2709
3217
  },
2710
- "maxExtractiveSegmentCount": {
2711
- "type": "int32",
3218
+ "vector": {
3219
+ "rule": "repeated",
3220
+ "type": "float",
2712
3221
  "id": 2
2713
3222
  }
2714
3223
  }
@@ -2761,6 +3270,10 @@
2761
3270
  "rule": "repeated",
2762
3271
  "type": "string",
2763
3272
  "id": 10
3273
+ },
3274
+ "queryExpansionInfo": {
3275
+ "type": "QueryExpansionInfo",
3276
+ "id": 14
2764
3277
  }
2765
3278
  },
2766
3279
  "nested": {
@@ -2773,6 +3286,11 @@
2773
3286
  "document": {
2774
3287
  "type": "Document",
2775
3288
  "id": 2
3289
+ },
3290
+ "modelScores": {
3291
+ "keyType": "string",
3292
+ "type": "DoubleList",
3293
+ "id": 4
2776
3294
  }
2777
3295
  }
2778
3296
  },
@@ -2857,101 +3375,449 @@
2857
3375
  "rule": "repeated",
2858
3376
  "type": "SummarySkippedReason",
2859
3377
  "id": 2
3378
+ },
3379
+ "safetyAttributes": {
3380
+ "type": "SafetyAttributes",
3381
+ "id": 3
3382
+ }
3383
+ },
3384
+ "nested": {
3385
+ "SafetyAttributes": {
3386
+ "fields": {
3387
+ "categories": {
3388
+ "rule": "repeated",
3389
+ "type": "string",
3390
+ "id": 1
3391
+ },
3392
+ "scores": {
3393
+ "rule": "repeated",
3394
+ "type": "float",
3395
+ "id": 2
3396
+ }
3397
+ }
3398
+ },
3399
+ "SummarySkippedReason": {
3400
+ "values": {
3401
+ "SUMMARY_SKIPPED_REASON_UNSPECIFIED": 0,
3402
+ "ADVERSARIAL_QUERY_IGNORED": 1,
3403
+ "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
3404
+ "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
3405
+ "POTENTIAL_POLICY_VIOLATION": 4,
3406
+ "LLM_ADDON_NOT_ENABLED": 5
3407
+ }
3408
+ }
3409
+ }
3410
+ },
3411
+ "QueryExpansionInfo": {
3412
+ "fields": {
3413
+ "expandedQuery": {
3414
+ "type": "bool",
3415
+ "id": 1
3416
+ },
3417
+ "pinnedResultCount": {
3418
+ "type": "int64",
3419
+ "id": 2
3420
+ }
3421
+ }
3422
+ }
3423
+ }
3424
+ },
3425
+ "Document": {
3426
+ "options": {
3427
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
3428
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
3429
+ },
3430
+ "oneofs": {
3431
+ "data": {
3432
+ "oneof": [
3433
+ "structData",
3434
+ "jsonData"
3435
+ ]
3436
+ }
3437
+ },
3438
+ "fields": {
3439
+ "structData": {
3440
+ "type": "google.protobuf.Struct",
3441
+ "id": 4
3442
+ },
3443
+ "jsonData": {
3444
+ "type": "string",
3445
+ "id": 5
3446
+ },
3447
+ "name": {
3448
+ "type": "string",
3449
+ "id": 1,
3450
+ "options": {
3451
+ "(google.api.field_behavior)": "IMMUTABLE"
3452
+ }
3453
+ },
3454
+ "id": {
3455
+ "type": "string",
3456
+ "id": 2,
3457
+ "options": {
3458
+ "(google.api.field_behavior)": "IMMUTABLE"
3459
+ }
3460
+ },
3461
+ "schemaId": {
3462
+ "type": "string",
3463
+ "id": 3
3464
+ },
3465
+ "content": {
3466
+ "type": "Content",
3467
+ "id": 10
3468
+ },
3469
+ "parentDocumentId": {
3470
+ "type": "string",
3471
+ "id": 7
3472
+ },
3473
+ "derivedStructData": {
3474
+ "type": "google.protobuf.Struct",
3475
+ "id": 6,
3476
+ "options": {
3477
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3478
+ }
3479
+ }
3480
+ },
3481
+ "nested": {
3482
+ "Content": {
3483
+ "oneofs": {
3484
+ "content": {
3485
+ "oneof": [
3486
+ "rawBytes",
3487
+ "uri"
3488
+ ]
3489
+ }
3490
+ },
3491
+ "fields": {
3492
+ "rawBytes": {
3493
+ "type": "bytes",
3494
+ "id": 2
3495
+ },
3496
+ "uri": {
3497
+ "type": "string",
3498
+ "id": 3
3499
+ },
3500
+ "mimeType": {
3501
+ "type": "string",
3502
+ "id": 1
3503
+ }
3504
+ }
3505
+ }
3506
+ }
3507
+ },
3508
+ "ConversationalSearchService": {
3509
+ "options": {
3510
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
3511
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
3512
+ },
3513
+ "methods": {
3514
+ "ConverseConversation": {
3515
+ "requestType": "ConverseConversationRequest",
3516
+ "responseType": "ConverseConversationResponse",
3517
+ "options": {
3518
+ "(google.api.http).post": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse",
3519
+ "(google.api.http).body": "*",
3520
+ "(google.api.http).additional_bindings.post": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse",
3521
+ "(google.api.http).additional_bindings.body": "*",
3522
+ "(google.api.method_signature)": "name,query"
3523
+ },
3524
+ "parsedOptions": [
3525
+ {
3526
+ "(google.api.http)": {
3527
+ "post": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse",
3528
+ "body": "*",
3529
+ "additional_bindings": {
3530
+ "post": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse",
3531
+ "body": "*"
3532
+ }
3533
+ }
3534
+ },
3535
+ {
3536
+ "(google.api.method_signature)": "name,query"
3537
+ }
3538
+ ]
3539
+ },
3540
+ "CreateConversation": {
3541
+ "requestType": "CreateConversationRequest",
3542
+ "responseType": "Conversation",
3543
+ "options": {
3544
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
3545
+ "(google.api.http).body": "conversation",
3546
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
3547
+ "(google.api.http).additional_bindings.body": "conversation",
3548
+ "(google.api.method_signature)": "parent,conversation"
3549
+ },
3550
+ "parsedOptions": [
3551
+ {
3552
+ "(google.api.http)": {
3553
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
3554
+ "body": "conversation",
3555
+ "additional_bindings": {
3556
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
3557
+ "body": "conversation"
3558
+ }
3559
+ }
3560
+ },
3561
+ {
3562
+ "(google.api.method_signature)": "parent,conversation"
3563
+ }
3564
+ ]
3565
+ },
3566
+ "DeleteConversation": {
3567
+ "requestType": "DeleteConversationRequest",
3568
+ "responseType": "google.protobuf.Empty",
3569
+ "options": {
3570
+ "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
3571
+ "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
3572
+ "(google.api.method_signature)": "name"
3573
+ },
3574
+ "parsedOptions": [
3575
+ {
3576
+ "(google.api.http)": {
3577
+ "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
3578
+ "additional_bindings": {
3579
+ "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
3580
+ }
3581
+ }
3582
+ },
3583
+ {
3584
+ "(google.api.method_signature)": "name"
3585
+ }
3586
+ ]
3587
+ },
3588
+ "UpdateConversation": {
3589
+ "requestType": "UpdateConversationRequest",
3590
+ "responseType": "Conversation",
3591
+ "options": {
3592
+ "(google.api.http).patch": "/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}",
3593
+ "(google.api.http).body": "conversation",
3594
+ "(google.api.http).additional_bindings.patch": "/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
3595
+ "(google.api.http).additional_bindings.body": "conversation",
3596
+ "(google.api.method_signature)": "conversation,update_mask"
3597
+ },
3598
+ "parsedOptions": [
3599
+ {
3600
+ "(google.api.http)": {
3601
+ "patch": "/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}",
3602
+ "body": "conversation",
3603
+ "additional_bindings": {
3604
+ "patch": "/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
3605
+ "body": "conversation"
3606
+ }
3607
+ }
3608
+ },
3609
+ {
3610
+ "(google.api.method_signature)": "conversation,update_mask"
3611
+ }
3612
+ ]
3613
+ },
3614
+ "GetConversation": {
3615
+ "requestType": "GetConversationRequest",
3616
+ "responseType": "Conversation",
3617
+ "options": {
3618
+ "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
3619
+ "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}",
3620
+ "(google.api.method_signature)": "name"
3621
+ },
3622
+ "parsedOptions": [
3623
+ {
3624
+ "(google.api.http)": {
3625
+ "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}",
3626
+ "additional_bindings": {
3627
+ "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
3628
+ }
3629
+ }
3630
+ },
3631
+ {
3632
+ "(google.api.method_signature)": "name"
2860
3633
  }
3634
+ ]
3635
+ },
3636
+ "ListConversations": {
3637
+ "requestType": "ListConversationsRequest",
3638
+ "responseType": "ListConversationsResponse",
3639
+ "options": {
3640
+ "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
3641
+ "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations",
3642
+ "(google.api.method_signature)": "parent"
2861
3643
  },
2862
- "nested": {
2863
- "SummarySkippedReason": {
2864
- "values": {
2865
- "SUMMARY_SKIPPED_REASON_UNSPECIFIED": 0,
2866
- "ADVERSARIAL_QUERY_IGNORED": 1,
2867
- "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
2868
- "OUT_OF_DOMAIN_QUERY_IGNORED": 3
3644
+ "parsedOptions": [
3645
+ {
3646
+ "(google.api.http)": {
3647
+ "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations",
3648
+ "additional_bindings": {
3649
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations"
3650
+ }
2869
3651
  }
3652
+ },
3653
+ {
3654
+ "(google.api.method_signature)": "parent"
2870
3655
  }
2871
- }
3656
+ ]
2872
3657
  }
2873
3658
  }
2874
3659
  },
2875
- "Document": {
2876
- "options": {
2877
- "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
2878
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
2879
- },
2880
- "oneofs": {
2881
- "data": {
2882
- "oneof": [
2883
- "structData",
2884
- "jsonData"
2885
- ]
2886
- }
2887
- },
3660
+ "ConverseConversationRequest": {
2888
3661
  "fields": {
2889
- "structData": {
2890
- "type": "google.protobuf.Struct",
2891
- "id": 4
2892
- },
2893
- "jsonData": {
2894
- "type": "string",
2895
- "id": 5
2896
- },
2897
3662
  "name": {
2898
3663
  "type": "string",
2899
3664
  "id": 1,
2900
3665
  "options": {
2901
- "(google.api.field_behavior)": "IMMUTABLE"
3666
+ "(google.api.field_behavior)": "REQUIRED",
3667
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
2902
3668
  }
2903
3669
  },
2904
- "id": {
2905
- "type": "string",
3670
+ "query": {
3671
+ "type": "TextInput",
2906
3672
  "id": 2,
2907
3673
  "options": {
2908
- "(google.api.field_behavior)": "IMMUTABLE"
3674
+ "(google.api.field_behavior)": "REQUIRED"
2909
3675
  }
2910
3676
  },
2911
- "schemaId": {
3677
+ "servingConfig": {
2912
3678
  "type": "string",
2913
- "id": 3
3679
+ "id": 3,
3680
+ "options": {
3681
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
3682
+ }
2914
3683
  },
2915
- "content": {
2916
- "type": "Content",
2917
- "id": 10
3684
+ "conversation": {
3685
+ "type": "Conversation",
3686
+ "id": 5
2918
3687
  },
2919
- "parentDocumentId": {
3688
+ "safeSearch": {
3689
+ "type": "bool",
3690
+ "id": 6
3691
+ },
3692
+ "userLabels": {
3693
+ "keyType": "string",
2920
3694
  "type": "string",
2921
3695
  "id": 7
2922
3696
  },
2923
- "derivedStructData": {
2924
- "type": "google.protobuf.Struct",
2925
- "id": 6,
3697
+ "summarySpec": {
3698
+ "type": "SearchRequest.ContentSearchSpec.SummarySpec",
3699
+ "id": 8
3700
+ }
3701
+ }
3702
+ },
3703
+ "ConverseConversationResponse": {
3704
+ "fields": {
3705
+ "reply": {
3706
+ "type": "Reply",
3707
+ "id": 1
3708
+ },
3709
+ "conversation": {
3710
+ "type": "Conversation",
3711
+ "id": 2
3712
+ },
3713
+ "relatedQuestions": {
3714
+ "rule": "repeated",
3715
+ "type": "string",
3716
+ "id": 6
3717
+ },
3718
+ "searchResults": {
3719
+ "rule": "repeated",
3720
+ "type": "SearchResponse.SearchResult",
3721
+ "id": 3
3722
+ }
3723
+ }
3724
+ },
3725
+ "CreateConversationRequest": {
3726
+ "fields": {
3727
+ "parent": {
3728
+ "type": "string",
3729
+ "id": 1,
2926
3730
  "options": {
2927
- "(google.api.field_behavior)": "OUTPUT_ONLY"
3731
+ "(google.api.field_behavior)": "REQUIRED",
3732
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
3733
+ }
3734
+ },
3735
+ "conversation": {
3736
+ "type": "Conversation",
3737
+ "id": 2,
3738
+ "options": {
3739
+ "(google.api.field_behavior)": "REQUIRED"
2928
3740
  }
2929
3741
  }
2930
- },
2931
- "nested": {
2932
- "Content": {
2933
- "oneofs": {
2934
- "content": {
2935
- "oneof": [
2936
- "rawBytes",
2937
- "uri"
2938
- ]
2939
- }
2940
- },
2941
- "fields": {
2942
- "rawBytes": {
2943
- "type": "bytes",
2944
- "id": 2
2945
- },
2946
- "uri": {
2947
- "type": "string",
2948
- "id": 3
2949
- },
2950
- "mimeType": {
2951
- "type": "string",
2952
- "id": 1
2953
- }
3742
+ }
3743
+ },
3744
+ "UpdateConversationRequest": {
3745
+ "fields": {
3746
+ "conversation": {
3747
+ "type": "Conversation",
3748
+ "id": 1,
3749
+ "options": {
3750
+ "(google.api.field_behavior)": "REQUIRED"
3751
+ }
3752
+ },
3753
+ "updateMask": {
3754
+ "type": "google.protobuf.FieldMask",
3755
+ "id": 2
3756
+ }
3757
+ }
3758
+ },
3759
+ "DeleteConversationRequest": {
3760
+ "fields": {
3761
+ "name": {
3762
+ "type": "string",
3763
+ "id": 1,
3764
+ "options": {
3765
+ "(google.api.field_behavior)": "REQUIRED",
3766
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
3767
+ }
3768
+ }
3769
+ }
3770
+ },
3771
+ "GetConversationRequest": {
3772
+ "fields": {
3773
+ "name": {
3774
+ "type": "string",
3775
+ "id": 1,
3776
+ "options": {
3777
+ "(google.api.field_behavior)": "REQUIRED",
3778
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Conversation"
3779
+ }
3780
+ }
3781
+ }
3782
+ },
3783
+ "ListConversationsRequest": {
3784
+ "fields": {
3785
+ "parent": {
3786
+ "type": "string",
3787
+ "id": 1,
3788
+ "options": {
3789
+ "(google.api.field_behavior)": "REQUIRED",
3790
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2954
3791
  }
3792
+ },
3793
+ "pageSize": {
3794
+ "type": "int32",
3795
+ "id": 2
3796
+ },
3797
+ "pageToken": {
3798
+ "type": "string",
3799
+ "id": 3
3800
+ },
3801
+ "filter": {
3802
+ "type": "string",
3803
+ "id": 4
3804
+ },
3805
+ "orderBy": {
3806
+ "type": "string",
3807
+ "id": 5
3808
+ }
3809
+ }
3810
+ },
3811
+ "ListConversationsResponse": {
3812
+ "fields": {
3813
+ "conversations": {
3814
+ "rule": "repeated",
3815
+ "type": "Conversation",
3816
+ "id": 1
3817
+ },
3818
+ "nextPageToken": {
3819
+ "type": "string",
3820
+ "id": 2
2955
3821
  }
2956
3822
  }
2957
3823
  },
@@ -3717,7 +4583,8 @@
3717
4583
  "documentDescriptor": {
3718
4584
  "oneof": [
3719
4585
  "id",
3720
- "name"
4586
+ "name",
4587
+ "uri"
3721
4588
  ]
3722
4589
  },
3723
4590
  "_quantity": {
@@ -3738,6 +4605,10 @@
3738
4605
  "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
3739
4606
  }
3740
4607
  },
4608
+ "uri": {
4609
+ "type": "string",
4610
+ "id": 6
4611
+ },
3741
4612
  "quantity": {
3742
4613
  "type": "int32",
3743
4614
  "id": 3,
@@ -5990,18 +6861,6 @@
5990
6861
  }
5991
6862
  }
5992
6863
  },
5993
- "Any": {
5994
- "fields": {
5995
- "type_url": {
5996
- "type": "string",
5997
- "id": 1
5998
- },
5999
- "value": {
6000
- "type": "bytes",
6001
- "id": 2
6002
- }
6003
- }
6004
- },
6005
6864
  "Empty": {
6006
6865
  "fields": {}
6007
6866
  },
@@ -6013,6 +6872,18 @@
6013
6872
  "id": 1
6014
6873
  }
6015
6874
  }
6875
+ },
6876
+ "Any": {
6877
+ "fields": {
6878
+ "type_url": {
6879
+ "type": "string",
6880
+ "id": 1
6881
+ },
6882
+ "value": {
6883
+ "type": "bytes",
6884
+ "id": 2
6885
+ }
6886
+ }
6016
6887
  }
6017
6888
  }
6018
6889
  },