@google-cloud/discoveryengine 1.9.0 → 1.10.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.
- package/CHANGELOG.md +7 -0
- package/README.md +2 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +13 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +119 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +31 -0
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +35 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +108 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +200 -4
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +3 -0
- package/build/protos/protos.d.ts +3851 -1527
- package/build/protos/protos.js +14056 -8213
- package/build/protos/protos.json +548 -8
- package/build/src/v1/completion_service_client.d.ts +220 -0
- package/build/src/v1/completion_service_client.js +260 -0
- package/build/src/v1/completion_service_client_config.json +10 -0
- package/build/src/v1/control_service_client.d.ts +129 -1
- package/build/src/v1/control_service_client.js +176 -0
- package/build/src/v1/conversational_search_service_client.d.ts +147 -1
- package/build/src/v1/conversational_search_service_client.js +176 -0
- package/build/src/v1/data_store_service_client.d.ts +129 -1
- package/build/src/v1/data_store_service_client.js +176 -0
- package/build/src/v1/document_service_client.d.ts +131 -1
- package/build/src/v1/document_service_client.js +176 -0
- package/build/src/v1/engine_service_client.d.ts +129 -1
- package/build/src/v1/engine_service_client.js +176 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +129 -0
- package/build/src/v1/grounded_generation_service_client.js +176 -0
- package/build/src/v1/project_service_client.d.ts +129 -0
- package/build/src/v1/project_service_client.js +176 -0
- package/build/src/v1/rank_service_client.d.ts +129 -0
- package/build/src/v1/rank_service_client.js +176 -0
- package/build/src/v1/recommendation_service_client.d.ts +129 -0
- package/build/src/v1/recommendation_service_client.js +176 -0
- package/build/src/v1/schema_service_client.d.ts +129 -1
- package/build/src/v1/schema_service_client.js +176 -0
- package/build/src/v1/search_service_client.d.ts +252 -1
- package/build/src/v1/search_service_client.js +258 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +129 -1
- package/build/src/v1/site_search_engine_service_client.js +176 -0
- package/build/src/v1/user_event_service_client.d.ts +129 -0
- package/build/src/v1/user_event_service_client.js +176 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +0 -1
- package/build/src/v1alpha/control_service_client.d.ts +0 -1
- package/build/src/v1alpha/conversational_search_service_client.d.ts +0 -1
- package/build/src/v1alpha/data_store_service_client.d.ts +0 -1
- package/build/src/v1alpha/document_service_client.d.ts +0 -1
- package/build/src/v1alpha/engine_service_client.d.ts +0 -1
- package/build/src/v1alpha/schema_service_client.d.ts +0 -1
- package/build/src/v1alpha/search_service_client.d.ts +0 -1
- package/build/src/v1alpha/serving_config_service_client.d.ts +0 -1
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +0 -1
- package/build/src/v1beta/control_service_client.d.ts +0 -1
- package/build/src/v1beta/conversational_search_service_client.d.ts +0 -1
- package/build/src/v1beta/data_store_service_client.d.ts +0 -1
- package/build/src/v1beta/document_service_client.d.ts +0 -1
- package/build/src/v1beta/engine_service_client.d.ts +0 -1
- package/build/src/v1beta/schema_service_client.d.ts +0 -1
- package/build/src/v1beta/search_service_client.d.ts +0 -1
- package/build/src/v1beta/serving_config_service_client.d.ts +0 -1
- package/build/src/v1beta/site_search_engine_service_client.d.ts +0 -1
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
@@ -16,8 +16,8 @@
|
|
16
16
|
"objc_class_prefix": "DISCOVERYENGINE",
|
17
17
|
"php_namespace": "Google\\Cloud\\DiscoveryEngine\\V1",
|
18
18
|
"ruby_package": "Google::Cloud::DiscoveryEngine::V1",
|
19
|
-
"(google.api.resource_definition).type": "
|
20
|
-
"(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/
|
19
|
+
"(google.api.resource_definition).type": "healthcare.googleapis.com/FhirStore",
|
20
|
+
"(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}"
|
21
21
|
},
|
22
22
|
"nested": {
|
23
23
|
"Answer": {
|
@@ -317,6 +317,10 @@
|
|
317
317
|
"rule": "repeated",
|
318
318
|
"type": "ChunkInfo",
|
319
319
|
"id": 5
|
320
|
+
},
|
321
|
+
"structData": {
|
322
|
+
"type": "google.protobuf.Struct",
|
323
|
+
"id": 6
|
320
324
|
}
|
321
325
|
},
|
322
326
|
"nested": {
|
@@ -420,7 +424,109 @@
|
|
420
424
|
"ADVERSARIAL_QUERY_IGNORED": 1,
|
421
425
|
"NON_ANSWER_SEEKING_QUERY_IGNORED": 2,
|
422
426
|
"OUT_OF_DOMAIN_QUERY_IGNORED": 3,
|
423
|
-
"POTENTIAL_POLICY_VIOLATION": 4
|
427
|
+
"POTENTIAL_POLICY_VIOLATION": 4,
|
428
|
+
"NO_RELEVANT_CONTENT": 5
|
429
|
+
}
|
430
|
+
}
|
431
|
+
}
|
432
|
+
},
|
433
|
+
"Chunk": {
|
434
|
+
"options": {
|
435
|
+
"(google.api.resource).type": "discoveryengine.googleapis.com/Chunk",
|
436
|
+
"(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}"
|
437
|
+
},
|
438
|
+
"oneofs": {
|
439
|
+
"_relevanceScore": {
|
440
|
+
"oneof": [
|
441
|
+
"relevanceScore"
|
442
|
+
]
|
443
|
+
}
|
444
|
+
},
|
445
|
+
"fields": {
|
446
|
+
"name": {
|
447
|
+
"type": "string",
|
448
|
+
"id": 1
|
449
|
+
},
|
450
|
+
"id": {
|
451
|
+
"type": "string",
|
452
|
+
"id": 2
|
453
|
+
},
|
454
|
+
"content": {
|
455
|
+
"type": "string",
|
456
|
+
"id": 3
|
457
|
+
},
|
458
|
+
"relevanceScore": {
|
459
|
+
"type": "double",
|
460
|
+
"id": 8,
|
461
|
+
"options": {
|
462
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
463
|
+
"proto3_optional": true
|
464
|
+
}
|
465
|
+
},
|
466
|
+
"documentMetadata": {
|
467
|
+
"type": "DocumentMetadata",
|
468
|
+
"id": 5
|
469
|
+
},
|
470
|
+
"derivedStructData": {
|
471
|
+
"type": "google.protobuf.Struct",
|
472
|
+
"id": 4,
|
473
|
+
"options": {
|
474
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
475
|
+
}
|
476
|
+
},
|
477
|
+
"pageSpan": {
|
478
|
+
"type": "PageSpan",
|
479
|
+
"id": 6
|
480
|
+
},
|
481
|
+
"chunkMetadata": {
|
482
|
+
"type": "ChunkMetadata",
|
483
|
+
"id": 7,
|
484
|
+
"options": {
|
485
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
486
|
+
}
|
487
|
+
}
|
488
|
+
},
|
489
|
+
"nested": {
|
490
|
+
"DocumentMetadata": {
|
491
|
+
"fields": {
|
492
|
+
"uri": {
|
493
|
+
"type": "string",
|
494
|
+
"id": 1
|
495
|
+
},
|
496
|
+
"title": {
|
497
|
+
"type": "string",
|
498
|
+
"id": 2
|
499
|
+
},
|
500
|
+
"structData": {
|
501
|
+
"type": "google.protobuf.Struct",
|
502
|
+
"id": 3
|
503
|
+
}
|
504
|
+
}
|
505
|
+
},
|
506
|
+
"PageSpan": {
|
507
|
+
"fields": {
|
508
|
+
"pageStart": {
|
509
|
+
"type": "int32",
|
510
|
+
"id": 1
|
511
|
+
},
|
512
|
+
"pageEnd": {
|
513
|
+
"type": "int32",
|
514
|
+
"id": 2
|
515
|
+
}
|
516
|
+
}
|
517
|
+
},
|
518
|
+
"ChunkMetadata": {
|
519
|
+
"fields": {
|
520
|
+
"previousChunks": {
|
521
|
+
"rule": "repeated",
|
522
|
+
"type": "Chunk",
|
523
|
+
"id": 1
|
524
|
+
},
|
525
|
+
"nextChunks": {
|
526
|
+
"rule": "repeated",
|
527
|
+
"type": "Chunk",
|
528
|
+
"id": 2
|
529
|
+
}
|
424
530
|
}
|
425
531
|
}
|
426
532
|
}
|
@@ -549,6 +655,50 @@
|
|
549
655
|
}
|
550
656
|
}
|
551
657
|
},
|
658
|
+
"CompletionSuggestion": {
|
659
|
+
"oneofs": {
|
660
|
+
"rankingInfo": {
|
661
|
+
"oneof": [
|
662
|
+
"globalScore",
|
663
|
+
"frequency"
|
664
|
+
]
|
665
|
+
}
|
666
|
+
},
|
667
|
+
"fields": {
|
668
|
+
"globalScore": {
|
669
|
+
"type": "double",
|
670
|
+
"id": 2
|
671
|
+
},
|
672
|
+
"frequency": {
|
673
|
+
"type": "int64",
|
674
|
+
"id": 3
|
675
|
+
},
|
676
|
+
"suggestion": {
|
677
|
+
"type": "string",
|
678
|
+
"id": 1,
|
679
|
+
"options": {
|
680
|
+
"(google.api.field_behavior)": "REQUIRED"
|
681
|
+
}
|
682
|
+
},
|
683
|
+
"languageCode": {
|
684
|
+
"type": "string",
|
685
|
+
"id": 4
|
686
|
+
},
|
687
|
+
"groupId": {
|
688
|
+
"type": "string",
|
689
|
+
"id": 5
|
690
|
+
},
|
691
|
+
"groupScore": {
|
692
|
+
"type": "double",
|
693
|
+
"id": 6
|
694
|
+
},
|
695
|
+
"alternativePhrases": {
|
696
|
+
"rule": "repeated",
|
697
|
+
"type": "string",
|
698
|
+
"id": 7
|
699
|
+
}
|
700
|
+
}
|
701
|
+
},
|
552
702
|
"CompletionService": {
|
553
703
|
"options": {
|
554
704
|
"(google.api.default_host)": "discoveryengine.googleapis.com",
|
@@ -632,6 +782,66 @@
|
|
632
782
|
}
|
633
783
|
}
|
634
784
|
]
|
785
|
+
},
|
786
|
+
"ImportCompletionSuggestions": {
|
787
|
+
"requestType": "ImportCompletionSuggestionsRequest",
|
788
|
+
"responseType": "google.longrunning.Operation",
|
789
|
+
"options": {
|
790
|
+
"(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import",
|
791
|
+
"(google.api.http).body": "*",
|
792
|
+
"(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import",
|
793
|
+
"(google.api.http).additional_bindings.body": "*",
|
794
|
+
"(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.ImportCompletionSuggestionsResponse",
|
795
|
+
"(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.ImportCompletionSuggestionsMetadata"
|
796
|
+
},
|
797
|
+
"parsedOptions": [
|
798
|
+
{
|
799
|
+
"(google.api.http)": {
|
800
|
+
"post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import",
|
801
|
+
"body": "*",
|
802
|
+
"additional_bindings": {
|
803
|
+
"post": "/v1/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import",
|
804
|
+
"body": "*"
|
805
|
+
}
|
806
|
+
}
|
807
|
+
},
|
808
|
+
{
|
809
|
+
"(google.longrunning.operation_info)": {
|
810
|
+
"response_type": "google.cloud.discoveryengine.v1.ImportCompletionSuggestionsResponse",
|
811
|
+
"metadata_type": "google.cloud.discoveryengine.v1.ImportCompletionSuggestionsMetadata"
|
812
|
+
}
|
813
|
+
}
|
814
|
+
]
|
815
|
+
},
|
816
|
+
"PurgeCompletionSuggestions": {
|
817
|
+
"requestType": "PurgeCompletionSuggestionsRequest",
|
818
|
+
"responseType": "google.longrunning.Operation",
|
819
|
+
"options": {
|
820
|
+
"(google.api.http).post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge",
|
821
|
+
"(google.api.http).body": "*",
|
822
|
+
"(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge",
|
823
|
+
"(google.api.http).additional_bindings.body": "*",
|
824
|
+
"(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponse",
|
825
|
+
"(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsMetadata"
|
826
|
+
},
|
827
|
+
"parsedOptions": [
|
828
|
+
{
|
829
|
+
"(google.api.http)": {
|
830
|
+
"post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge",
|
831
|
+
"body": "*",
|
832
|
+
"additional_bindings": {
|
833
|
+
"post": "/v1/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge",
|
834
|
+
"body": "*"
|
835
|
+
}
|
836
|
+
}
|
837
|
+
},
|
838
|
+
{
|
839
|
+
"(google.longrunning.operation_info)": {
|
840
|
+
"response_type": "google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponse",
|
841
|
+
"metadata_type": "google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsMetadata"
|
842
|
+
}
|
843
|
+
}
|
844
|
+
]
|
635
845
|
}
|
636
846
|
}
|
637
847
|
},
|
@@ -944,6 +1154,46 @@
|
|
944
1154
|
}
|
945
1155
|
}
|
946
1156
|
},
|
1157
|
+
"AlloyDbSource": {
|
1158
|
+
"fields": {
|
1159
|
+
"projectId": {
|
1160
|
+
"type": "string",
|
1161
|
+
"id": 1
|
1162
|
+
},
|
1163
|
+
"locationId": {
|
1164
|
+
"type": "string",
|
1165
|
+
"id": 2,
|
1166
|
+
"options": {
|
1167
|
+
"(google.api.field_behavior)": "REQUIRED"
|
1168
|
+
}
|
1169
|
+
},
|
1170
|
+
"clusterId": {
|
1171
|
+
"type": "string",
|
1172
|
+
"id": 3,
|
1173
|
+
"options": {
|
1174
|
+
"(google.api.field_behavior)": "REQUIRED"
|
1175
|
+
}
|
1176
|
+
},
|
1177
|
+
"databaseId": {
|
1178
|
+
"type": "string",
|
1179
|
+
"id": 4,
|
1180
|
+
"options": {
|
1181
|
+
"(google.api.field_behavior)": "REQUIRED"
|
1182
|
+
}
|
1183
|
+
},
|
1184
|
+
"tableId": {
|
1185
|
+
"type": "string",
|
1186
|
+
"id": 5,
|
1187
|
+
"options": {
|
1188
|
+
"(google.api.field_behavior)": "REQUIRED"
|
1189
|
+
}
|
1190
|
+
},
|
1191
|
+
"gcsStagingDir": {
|
1192
|
+
"type": "string",
|
1193
|
+
"id": 6
|
1194
|
+
}
|
1195
|
+
}
|
1196
|
+
},
|
947
1197
|
"FirestoreSource": {
|
948
1198
|
"fields": {
|
949
1199
|
"projectId": {
|
@@ -1112,6 +1362,7 @@
|
|
1112
1362
|
"spannerSource",
|
1113
1363
|
"cloudSqlSource",
|
1114
1364
|
"firestoreSource",
|
1365
|
+
"alloyDbSource",
|
1115
1366
|
"bigtableSource"
|
1116
1367
|
]
|
1117
1368
|
}
|
@@ -1145,6 +1396,10 @@
|
|
1145
1396
|
"type": "FirestoreSource",
|
1146
1397
|
"id": 13
|
1147
1398
|
},
|
1399
|
+
"alloyDbSource": {
|
1400
|
+
"type": "AlloyDbSource",
|
1401
|
+
"id": 14
|
1402
|
+
},
|
1148
1403
|
"bigtableSource": {
|
1149
1404
|
"type": "BigtableSource",
|
1150
1405
|
"id": 15
|
@@ -1284,6 +1539,90 @@
|
|
1284
1539
|
}
|
1285
1540
|
}
|
1286
1541
|
},
|
1542
|
+
"ImportCompletionSuggestionsRequest": {
|
1543
|
+
"oneofs": {
|
1544
|
+
"source": {
|
1545
|
+
"oneof": [
|
1546
|
+
"inlineSource",
|
1547
|
+
"gcsSource",
|
1548
|
+
"bigquerySource"
|
1549
|
+
]
|
1550
|
+
}
|
1551
|
+
},
|
1552
|
+
"fields": {
|
1553
|
+
"inlineSource": {
|
1554
|
+
"type": "InlineSource",
|
1555
|
+
"id": 2
|
1556
|
+
},
|
1557
|
+
"gcsSource": {
|
1558
|
+
"type": "GcsSource",
|
1559
|
+
"id": 3
|
1560
|
+
},
|
1561
|
+
"bigquerySource": {
|
1562
|
+
"type": "BigQuerySource",
|
1563
|
+
"id": 4
|
1564
|
+
},
|
1565
|
+
"parent": {
|
1566
|
+
"type": "string",
|
1567
|
+
"id": 1,
|
1568
|
+
"options": {
|
1569
|
+
"(google.api.field_behavior)": "REQUIRED",
|
1570
|
+
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
|
1571
|
+
}
|
1572
|
+
},
|
1573
|
+
"errorConfig": {
|
1574
|
+
"type": "ImportErrorConfig",
|
1575
|
+
"id": 5
|
1576
|
+
}
|
1577
|
+
},
|
1578
|
+
"nested": {
|
1579
|
+
"InlineSource": {
|
1580
|
+
"fields": {
|
1581
|
+
"suggestions": {
|
1582
|
+
"rule": "repeated",
|
1583
|
+
"type": "CompletionSuggestion",
|
1584
|
+
"id": 1,
|
1585
|
+
"options": {
|
1586
|
+
"(google.api.field_behavior)": "REQUIRED"
|
1587
|
+
}
|
1588
|
+
}
|
1589
|
+
}
|
1590
|
+
}
|
1591
|
+
}
|
1592
|
+
},
|
1593
|
+
"ImportCompletionSuggestionsResponse": {
|
1594
|
+
"fields": {
|
1595
|
+
"errorSamples": {
|
1596
|
+
"rule": "repeated",
|
1597
|
+
"type": "google.rpc.Status",
|
1598
|
+
"id": 1
|
1599
|
+
},
|
1600
|
+
"errorConfig": {
|
1601
|
+
"type": "ImportErrorConfig",
|
1602
|
+
"id": 2
|
1603
|
+
}
|
1604
|
+
}
|
1605
|
+
},
|
1606
|
+
"ImportCompletionSuggestionsMetadata": {
|
1607
|
+
"fields": {
|
1608
|
+
"createTime": {
|
1609
|
+
"type": "google.protobuf.Timestamp",
|
1610
|
+
"id": 1
|
1611
|
+
},
|
1612
|
+
"updateTime": {
|
1613
|
+
"type": "google.protobuf.Timestamp",
|
1614
|
+
"id": 2
|
1615
|
+
},
|
1616
|
+
"successCount": {
|
1617
|
+
"type": "int64",
|
1618
|
+
"id": 3
|
1619
|
+
},
|
1620
|
+
"failureCount": {
|
1621
|
+
"type": "int64",
|
1622
|
+
"id": 4
|
1623
|
+
}
|
1624
|
+
}
|
1625
|
+
},
|
1287
1626
|
"Document": {
|
1288
1627
|
"options": {
|
1289
1628
|
"(google.api.resource).type": "discoveryengine.googleapis.com/Document",
|
@@ -1806,6 +2145,43 @@
|
|
1806
2145
|
}
|
1807
2146
|
}
|
1808
2147
|
},
|
2148
|
+
"PurgeCompletionSuggestionsRequest": {
|
2149
|
+
"fields": {
|
2150
|
+
"parent": {
|
2151
|
+
"type": "string",
|
2152
|
+
"id": 1,
|
2153
|
+
"options": {
|
2154
|
+
"(google.api.field_behavior)": "REQUIRED",
|
2155
|
+
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
|
2156
|
+
}
|
2157
|
+
}
|
2158
|
+
}
|
2159
|
+
},
|
2160
|
+
"PurgeCompletionSuggestionsResponse": {
|
2161
|
+
"fields": {
|
2162
|
+
"purgeSucceeded": {
|
2163
|
+
"type": "bool",
|
2164
|
+
"id": 1
|
2165
|
+
},
|
2166
|
+
"errorSamples": {
|
2167
|
+
"rule": "repeated",
|
2168
|
+
"type": "google.rpc.Status",
|
2169
|
+
"id": 2
|
2170
|
+
}
|
2171
|
+
}
|
2172
|
+
},
|
2173
|
+
"PurgeCompletionSuggestionsMetadata": {
|
2174
|
+
"fields": {
|
2175
|
+
"createTime": {
|
2176
|
+
"type": "google.protobuf.Timestamp",
|
2177
|
+
"id": 1
|
2178
|
+
},
|
2179
|
+
"updateTime": {
|
2180
|
+
"type": "google.protobuf.Timestamp",
|
2181
|
+
"id": 2
|
2182
|
+
}
|
2183
|
+
}
|
2184
|
+
},
|
1809
2185
|
"Condition": {
|
1810
2186
|
"fields": {
|
1811
2187
|
"queryTerms": {
|
@@ -2458,6 +2834,10 @@
|
|
2458
2834
|
"type": "UserInfo",
|
2459
2835
|
"id": 21
|
2460
2836
|
},
|
2837
|
+
"languageCode": {
|
2838
|
+
"type": "string",
|
2839
|
+
"id": 35
|
2840
|
+
},
|
2461
2841
|
"facetSpecs": {
|
2462
2842
|
"rule": "repeated",
|
2463
2843
|
"type": "FacetSpec",
|
@@ -2496,6 +2876,21 @@
|
|
2496
2876
|
"keyType": "string",
|
2497
2877
|
"type": "string",
|
2498
2878
|
"id": 22
|
2879
|
+
},
|
2880
|
+
"searchAsYouTypeSpec": {
|
2881
|
+
"type": "SearchAsYouTypeSpec",
|
2882
|
+
"id": 31
|
2883
|
+
},
|
2884
|
+
"session": {
|
2885
|
+
"type": "string",
|
2886
|
+
"id": 41,
|
2887
|
+
"options": {
|
2888
|
+
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/Session"
|
2889
|
+
}
|
2890
|
+
},
|
2891
|
+
"sessionSpec": {
|
2892
|
+
"type": "SessionSpec",
|
2893
|
+
"id": 42
|
2499
2894
|
}
|
2500
2895
|
},
|
2501
2896
|
"nested": {
|
@@ -2665,6 +3060,14 @@
|
|
2665
3060
|
"extractiveContentSpec": {
|
2666
3061
|
"type": "ExtractiveContentSpec",
|
2667
3062
|
"id": 3
|
3063
|
+
},
|
3064
|
+
"searchResultMode": {
|
3065
|
+
"type": "SearchResultMode",
|
3066
|
+
"id": 4
|
3067
|
+
},
|
3068
|
+
"chunkSpec": {
|
3069
|
+
"type": "ChunkSpec",
|
3070
|
+
"id": 5
|
2668
3071
|
}
|
2669
3072
|
},
|
2670
3073
|
"nested": {
|
@@ -2767,6 +3170,64 @@
|
|
2767
3170
|
"id": 5
|
2768
3171
|
}
|
2769
3172
|
}
|
3173
|
+
},
|
3174
|
+
"ChunkSpec": {
|
3175
|
+
"fields": {
|
3176
|
+
"numPreviousChunks": {
|
3177
|
+
"type": "int32",
|
3178
|
+
"id": 1
|
3179
|
+
},
|
3180
|
+
"numNextChunks": {
|
3181
|
+
"type": "int32",
|
3182
|
+
"id": 2
|
3183
|
+
}
|
3184
|
+
}
|
3185
|
+
},
|
3186
|
+
"SearchResultMode": {
|
3187
|
+
"values": {
|
3188
|
+
"SEARCH_RESULT_MODE_UNSPECIFIED": 0,
|
3189
|
+
"DOCUMENTS": 1,
|
3190
|
+
"CHUNKS": 2
|
3191
|
+
}
|
3192
|
+
}
|
3193
|
+
}
|
3194
|
+
},
|
3195
|
+
"SearchAsYouTypeSpec": {
|
3196
|
+
"fields": {
|
3197
|
+
"condition": {
|
3198
|
+
"type": "Condition",
|
3199
|
+
"id": 1
|
3200
|
+
}
|
3201
|
+
},
|
3202
|
+
"nested": {
|
3203
|
+
"Condition": {
|
3204
|
+
"values": {
|
3205
|
+
"CONDITION_UNSPECIFIED": 0,
|
3206
|
+
"DISABLED": 1,
|
3207
|
+
"ENABLED": 2
|
3208
|
+
}
|
3209
|
+
}
|
3210
|
+
}
|
3211
|
+
},
|
3212
|
+
"SessionSpec": {
|
3213
|
+
"oneofs": {
|
3214
|
+
"_searchResultPersistenceCount": {
|
3215
|
+
"oneof": [
|
3216
|
+
"searchResultPersistenceCount"
|
3217
|
+
]
|
3218
|
+
}
|
3219
|
+
},
|
3220
|
+
"fields": {
|
3221
|
+
"queryId": {
|
3222
|
+
"type": "string",
|
3223
|
+
"id": 1
|
3224
|
+
},
|
3225
|
+
"searchResultPersistenceCount": {
|
3226
|
+
"type": "int32",
|
3227
|
+
"id": 2,
|
3228
|
+
"options": {
|
3229
|
+
"proto3_optional": true
|
3230
|
+
}
|
2770
3231
|
}
|
2771
3232
|
}
|
2772
3233
|
}
|
@@ -2811,6 +3272,10 @@
|
|
2811
3272
|
"queryExpansionInfo": {
|
2812
3273
|
"type": "QueryExpansionInfo",
|
2813
3274
|
"id": 14
|
3275
|
+
},
|
3276
|
+
"sessionInfo": {
|
3277
|
+
"type": "SessionInfo",
|
3278
|
+
"id": 19
|
2814
3279
|
}
|
2815
3280
|
},
|
2816
3281
|
"nested": {
|
@@ -2823,6 +3288,10 @@
|
|
2823
3288
|
"document": {
|
2824
3289
|
"type": "Document",
|
2825
3290
|
"id": 2
|
3291
|
+
},
|
3292
|
+
"chunk": {
|
3293
|
+
"type": "Chunk",
|
3294
|
+
"id": 18
|
2826
3295
|
}
|
2827
3296
|
}
|
2828
3297
|
},
|
@@ -3017,6 +3486,18 @@
|
|
3017
3486
|
"id": 2
|
3018
3487
|
}
|
3019
3488
|
}
|
3489
|
+
},
|
3490
|
+
"SessionInfo": {
|
3491
|
+
"fields": {
|
3492
|
+
"name": {
|
3493
|
+
"type": "string",
|
3494
|
+
"id": 1
|
3495
|
+
},
|
3496
|
+
"queryId": {
|
3497
|
+
"type": "string",
|
3498
|
+
"id": 2
|
3499
|
+
}
|
3500
|
+
}
|
3020
3501
|
}
|
3021
3502
|
}
|
3022
3503
|
},
|
@@ -3623,6 +4104,11 @@
|
|
3623
4104
|
"userPseudoId": {
|
3624
4105
|
"type": "string",
|
3625
4106
|
"id": 12
|
4107
|
+
},
|
4108
|
+
"userLabels": {
|
4109
|
+
"keyType": "string",
|
4110
|
+
"type": "string",
|
4111
|
+
"id": 13
|
3626
4112
|
}
|
3627
4113
|
},
|
3628
4114
|
"nested": {
|
@@ -3740,6 +4226,10 @@
|
|
3740
4226
|
"type": "string",
|
3741
4227
|
"id": 4
|
3742
4228
|
},
|
4229
|
+
"searchResultMode": {
|
4230
|
+
"type": "SearchRequest.ContentSearchSpec.SearchResultMode",
|
4231
|
+
"id": 5
|
4232
|
+
},
|
3743
4233
|
"dataStoreSpecs": {
|
3744
4234
|
"rule": "repeated",
|
3745
4235
|
"type": "SearchRequest.DataStoreSpec",
|
@@ -3904,6 +4394,10 @@
|
|
3904
4394
|
"disable": {
|
3905
4395
|
"type": "bool",
|
3906
4396
|
"id": 1
|
4397
|
+
},
|
4398
|
+
"maxRephraseSteps": {
|
4399
|
+
"type": "int32",
|
4400
|
+
"id": 2
|
3907
4401
|
}
|
3908
4402
|
}
|
3909
4403
|
}
|
@@ -4205,6 +4699,10 @@
|
|
4205
4699
|
"type": "string",
|
4206
4700
|
"id": 1
|
4207
4701
|
},
|
4702
|
+
"chunkingConfig": {
|
4703
|
+
"type": "ChunkingConfig",
|
4704
|
+
"id": 3
|
4705
|
+
},
|
4208
4706
|
"defaultParsingConfig": {
|
4209
4707
|
"type": "ParsingConfig",
|
4210
4708
|
"id": 4
|
@@ -4216,12 +4714,42 @@
|
|
4216
4714
|
}
|
4217
4715
|
},
|
4218
4716
|
"nested": {
|
4717
|
+
"ChunkingConfig": {
|
4718
|
+
"oneofs": {
|
4719
|
+
"chunkMode": {
|
4720
|
+
"oneof": [
|
4721
|
+
"layoutBasedChunkingConfig"
|
4722
|
+
]
|
4723
|
+
}
|
4724
|
+
},
|
4725
|
+
"fields": {
|
4726
|
+
"layoutBasedChunkingConfig": {
|
4727
|
+
"type": "LayoutBasedChunkingConfig",
|
4728
|
+
"id": 1
|
4729
|
+
}
|
4730
|
+
},
|
4731
|
+
"nested": {
|
4732
|
+
"LayoutBasedChunkingConfig": {
|
4733
|
+
"fields": {
|
4734
|
+
"chunkSize": {
|
4735
|
+
"type": "int32",
|
4736
|
+
"id": 1
|
4737
|
+
},
|
4738
|
+
"includeAncestorHeadings": {
|
4739
|
+
"type": "bool",
|
4740
|
+
"id": 2
|
4741
|
+
}
|
4742
|
+
}
|
4743
|
+
}
|
4744
|
+
}
|
4745
|
+
},
|
4219
4746
|
"ParsingConfig": {
|
4220
4747
|
"oneofs": {
|
4221
4748
|
"typeDedicatedConfig": {
|
4222
4749
|
"oneof": [
|
4223
4750
|
"digitalParsingConfig",
|
4224
|
-
"ocrParsingConfig"
|
4751
|
+
"ocrParsingConfig",
|
4752
|
+
"layoutParsingConfig"
|
4225
4753
|
]
|
4226
4754
|
}
|
4227
4755
|
},
|
@@ -4233,6 +4761,10 @@
|
|
4233
4761
|
"ocrParsingConfig": {
|
4234
4762
|
"type": "OcrParsingConfig",
|
4235
4763
|
"id": 2
|
4764
|
+
},
|
4765
|
+
"layoutParsingConfig": {
|
4766
|
+
"type": "LayoutParsingConfig",
|
4767
|
+
"id": 3
|
4236
4768
|
}
|
4237
4769
|
},
|
4238
4770
|
"nested": {
|
@@ -4254,6 +4786,9 @@
|
|
4254
4786
|
"id": 2
|
4255
4787
|
}
|
4256
4788
|
}
|
4789
|
+
},
|
4790
|
+
"LayoutParsingConfig": {
|
4791
|
+
"fields": {}
|
4257
4792
|
}
|
4258
4793
|
}
|
4259
4794
|
}
|
@@ -6996,15 +7531,20 @@
|
|
6996
7531
|
"responseType": "google.api.HttpBody",
|
6997
7532
|
"options": {
|
6998
7533
|
"(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
|
6999
|
-
"(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations
|
7534
|
+
"(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*}/userEvents:collect"
|
7000
7535
|
},
|
7001
7536
|
"parsedOptions": [
|
7002
7537
|
{
|
7003
7538
|
"(google.api.http)": {
|
7004
7539
|
"get": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
|
7005
|
-
"additional_bindings":
|
7006
|
-
|
7007
|
-
|
7540
|
+
"additional_bindings": [
|
7541
|
+
{
|
7542
|
+
"get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
|
7543
|
+
},
|
7544
|
+
{
|
7545
|
+
"get": "/v1/{parent=projects/*/locations/*}/userEvents:collect"
|
7546
|
+
}
|
7547
|
+
]
|
7008
7548
|
}
|
7009
7549
|
}
|
7010
7550
|
]
|