@google-cloud/discoveryengine 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +1 -35
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +0 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +0 -19
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +0 -64
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +21 -312
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +23 -153
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +2 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +1 -2
- package/build/protos/protos.d.ts +4806 -6944
- package/build/protos/protos.js +30876 -36494
- package/build/protos/protos.json +103 -604
- package/build/src/v1alpha/completion_service_client.js +0 -3
- package/build/src/v1alpha/data_store_service_client.js +0 -3
- package/build/src/v1alpha/document_service_client.d.ts +21 -80
- package/build/src/v1alpha/document_service_client.js +0 -25
- package/build/src/v1alpha/document_service_client_config.json +0 -5
- package/build/src/v1alpha/engine_service_client.js +0 -3
- package/build/src/v1alpha/estimate_billing_service_client.js +0 -3
- package/build/src/v1alpha/index.d.ts +1 -1
- package/build/src/v1alpha/index.js +3 -3
- package/build/src/v1alpha/schema_service_client.js +0 -3
- package/build/src/v1alpha/search_service_client.d.ts +15 -30
- package/build/src/v1alpha/search_service_client.js +10 -20
- package/build/src/v1alpha/search_tuning_service_client.js +0 -3
- package/build/src/v1alpha/serving_config_service_client.d.ts +1 -2
- package/build/src/v1alpha/serving_config_service_client.js +1 -2
- package/build/src/v1alpha/site_search_engine_service_client.js +0 -3
- package/build/src/v1alpha/user_event_service_client.js +0 -3
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
@@ -4533,13 +4533,13 @@
|
|
4533
4533
|
"csharp_namespace": "Google.Cloud.DiscoveryEngine.V1Alpha",
|
4534
4534
|
"go_package": "cloud.google.com/go/discoveryengine/apiv1alpha/discoveryenginepb;discoveryenginepb",
|
4535
4535
|
"java_multiple_files": true,
|
4536
|
-
"java_outer_classname": "
|
4536
|
+
"java_outer_classname": "RankServiceProto",
|
4537
4537
|
"java_package": "com.google.cloud.discoveryengine.v1alpha",
|
4538
4538
|
"objc_class_prefix": "DISCOVERYENGINE",
|
4539
4539
|
"php_namespace": "Google\\Cloud\\DiscoveryEngine\\V1alpha",
|
4540
4540
|
"ruby_package": "Google::Cloud::DiscoveryEngine::V1alpha",
|
4541
|
-
"(google.api.resource_definition).type": "
|
4542
|
-
"(google.api.resource_definition).pattern": "projects/{project}/locations/{location}
|
4541
|
+
"(google.api.resource_definition).type": "discoveryengine.googleapis.com/Location",
|
4542
|
+
"(google.api.resource_definition).pattern": "projects/{project}/locations/{location}"
|
4543
4543
|
},
|
4544
4544
|
"nested": {
|
4545
4545
|
"AclConfig": {
|
@@ -4565,8 +4565,7 @@
|
|
4565
4565
|
"values": {
|
4566
4566
|
"INDUSTRY_VERTICAL_UNSPECIFIED": 0,
|
4567
4567
|
"GENERIC": 1,
|
4568
|
-
"MEDIA": 2
|
4569
|
-
"HEALTHCARE_FHIR": 7
|
4568
|
+
"MEDIA": 2
|
4570
4569
|
}
|
4571
4570
|
},
|
4572
4571
|
"SolutionType": {
|
@@ -4574,8 +4573,7 @@
|
|
4574
4573
|
"SOLUTION_TYPE_UNSPECIFIED": 0,
|
4575
4574
|
"SOLUTION_TYPE_RECOMMENDATION": 1,
|
4576
4575
|
"SOLUTION_TYPE_SEARCH": 2,
|
4577
|
-
"SOLUTION_TYPE_CHAT": 3
|
4578
|
-
"SOLUTION_TYPE_GENERATIVE_CHAT": 4
|
4576
|
+
"SOLUTION_TYPE_CHAT": 3
|
4579
4577
|
}
|
4580
4578
|
},
|
4581
4579
|
"SearchTier": {
|
@@ -4834,17 +4832,6 @@
|
|
4834
4832
|
"options": {
|
4835
4833
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
4836
4834
|
}
|
4837
|
-
},
|
4838
|
-
"pageSpan": {
|
4839
|
-
"type": "PageSpan",
|
4840
|
-
"id": 6
|
4841
|
-
},
|
4842
|
-
"chunkMetadata": {
|
4843
|
-
"type": "ChunkMetadata",
|
4844
|
-
"id": 7,
|
4845
|
-
"options": {
|
4846
|
-
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
4847
|
-
}
|
4848
4835
|
}
|
4849
4836
|
},
|
4850
4837
|
"nested": {
|
@@ -4859,32 +4846,6 @@
|
|
4859
4846
|
"id": 2
|
4860
4847
|
}
|
4861
4848
|
}
|
4862
|
-
},
|
4863
|
-
"PageSpan": {
|
4864
|
-
"fields": {
|
4865
|
-
"pageStart": {
|
4866
|
-
"type": "int32",
|
4867
|
-
"id": 1
|
4868
|
-
},
|
4869
|
-
"pageEnd": {
|
4870
|
-
"type": "int32",
|
4871
|
-
"id": 2
|
4872
|
-
}
|
4873
|
-
}
|
4874
|
-
},
|
4875
|
-
"ChunkMetadata": {
|
4876
|
-
"fields": {
|
4877
|
-
"previousChunks": {
|
4878
|
-
"rule": "repeated",
|
4879
|
-
"type": "Chunk",
|
4880
|
-
"id": 1
|
4881
|
-
},
|
4882
|
-
"nextChunks": {
|
4883
|
-
"rule": "repeated",
|
4884
|
-
"type": "Chunk",
|
4885
|
-
"id": 2
|
4886
|
-
}
|
4887
|
-
}
|
4888
4849
|
}
|
4889
4850
|
}
|
4890
4851
|
},
|
@@ -5214,225 +5175,6 @@
|
|
5214
5175
|
}
|
5215
5176
|
}
|
5216
5177
|
},
|
5217
|
-
"SpannerSource": {
|
5218
|
-
"fields": {
|
5219
|
-
"projectId": {
|
5220
|
-
"type": "string",
|
5221
|
-
"id": 1
|
5222
|
-
},
|
5223
|
-
"instanceId": {
|
5224
|
-
"type": "string",
|
5225
|
-
"id": 2,
|
5226
|
-
"options": {
|
5227
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5228
|
-
}
|
5229
|
-
},
|
5230
|
-
"databaseId": {
|
5231
|
-
"type": "string",
|
5232
|
-
"id": 3,
|
5233
|
-
"options": {
|
5234
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5235
|
-
}
|
5236
|
-
},
|
5237
|
-
"tableId": {
|
5238
|
-
"type": "string",
|
5239
|
-
"id": 4,
|
5240
|
-
"options": {
|
5241
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5242
|
-
}
|
5243
|
-
},
|
5244
|
-
"enableDataBoost": {
|
5245
|
-
"type": "bool",
|
5246
|
-
"id": 5
|
5247
|
-
}
|
5248
|
-
}
|
5249
|
-
},
|
5250
|
-
"BigtableOptions": {
|
5251
|
-
"fields": {
|
5252
|
-
"keyFieldName": {
|
5253
|
-
"type": "string",
|
5254
|
-
"id": 1
|
5255
|
-
},
|
5256
|
-
"families": {
|
5257
|
-
"keyType": "string",
|
5258
|
-
"type": "BigtableColumnFamily",
|
5259
|
-
"id": 2
|
5260
|
-
}
|
5261
|
-
},
|
5262
|
-
"nested": {
|
5263
|
-
"BigtableColumnFamily": {
|
5264
|
-
"fields": {
|
5265
|
-
"fieldName": {
|
5266
|
-
"type": "string",
|
5267
|
-
"id": 1
|
5268
|
-
},
|
5269
|
-
"encoding": {
|
5270
|
-
"type": "Encoding",
|
5271
|
-
"id": 2
|
5272
|
-
},
|
5273
|
-
"type": {
|
5274
|
-
"type": "Type",
|
5275
|
-
"id": 3
|
5276
|
-
},
|
5277
|
-
"columns": {
|
5278
|
-
"rule": "repeated",
|
5279
|
-
"type": "BigtableColumn",
|
5280
|
-
"id": 4
|
5281
|
-
}
|
5282
|
-
}
|
5283
|
-
},
|
5284
|
-
"BigtableColumn": {
|
5285
|
-
"fields": {
|
5286
|
-
"qualifier": {
|
5287
|
-
"type": "bytes",
|
5288
|
-
"id": 1,
|
5289
|
-
"options": {
|
5290
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5291
|
-
}
|
5292
|
-
},
|
5293
|
-
"fieldName": {
|
5294
|
-
"type": "string",
|
5295
|
-
"id": 2
|
5296
|
-
},
|
5297
|
-
"encoding": {
|
5298
|
-
"type": "Encoding",
|
5299
|
-
"id": 3
|
5300
|
-
},
|
5301
|
-
"type": {
|
5302
|
-
"type": "Type",
|
5303
|
-
"id": 4
|
5304
|
-
}
|
5305
|
-
}
|
5306
|
-
},
|
5307
|
-
"Type": {
|
5308
|
-
"values": {
|
5309
|
-
"TYPE_UNSPECIFIED": 0,
|
5310
|
-
"STRING": 1,
|
5311
|
-
"NUMBER": 2,
|
5312
|
-
"INTEGER": 3,
|
5313
|
-
"VAR_INTEGER": 4,
|
5314
|
-
"BIG_NUMERIC": 5,
|
5315
|
-
"BOOLEAN": 6,
|
5316
|
-
"JSON": 7
|
5317
|
-
}
|
5318
|
-
},
|
5319
|
-
"Encoding": {
|
5320
|
-
"values": {
|
5321
|
-
"ENCODING_UNSPECIFIED": 0,
|
5322
|
-
"TEXT": 1,
|
5323
|
-
"BINARY": 2
|
5324
|
-
}
|
5325
|
-
}
|
5326
|
-
}
|
5327
|
-
},
|
5328
|
-
"BigtableSource": {
|
5329
|
-
"fields": {
|
5330
|
-
"projectId": {
|
5331
|
-
"type": "string",
|
5332
|
-
"id": 1
|
5333
|
-
},
|
5334
|
-
"instanceId": {
|
5335
|
-
"type": "string",
|
5336
|
-
"id": 2,
|
5337
|
-
"options": {
|
5338
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5339
|
-
}
|
5340
|
-
},
|
5341
|
-
"tableId": {
|
5342
|
-
"type": "string",
|
5343
|
-
"id": 3,
|
5344
|
-
"options": {
|
5345
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5346
|
-
}
|
5347
|
-
},
|
5348
|
-
"bigtableOptions": {
|
5349
|
-
"type": "BigtableOptions",
|
5350
|
-
"id": 4,
|
5351
|
-
"options": {
|
5352
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5353
|
-
}
|
5354
|
-
}
|
5355
|
-
}
|
5356
|
-
},
|
5357
|
-
"FhirStoreSource": {
|
5358
|
-
"fields": {
|
5359
|
-
"fhirStore": {
|
5360
|
-
"type": "string",
|
5361
|
-
"id": 1,
|
5362
|
-
"options": {
|
5363
|
-
"(google.api.field_behavior)": "REQUIRED",
|
5364
|
-
"(google.api.resource_reference).type": "healthcare.googleapis.com/FhirStore"
|
5365
|
-
}
|
5366
|
-
},
|
5367
|
-
"gcsStagingDir": {
|
5368
|
-
"type": "string",
|
5369
|
-
"id": 2
|
5370
|
-
}
|
5371
|
-
}
|
5372
|
-
},
|
5373
|
-
"CloudSqlSource": {
|
5374
|
-
"fields": {
|
5375
|
-
"projectId": {
|
5376
|
-
"type": "string",
|
5377
|
-
"id": 1
|
5378
|
-
},
|
5379
|
-
"instanceId": {
|
5380
|
-
"type": "string",
|
5381
|
-
"id": 2,
|
5382
|
-
"options": {
|
5383
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5384
|
-
}
|
5385
|
-
},
|
5386
|
-
"databaseId": {
|
5387
|
-
"type": "string",
|
5388
|
-
"id": 3,
|
5389
|
-
"options": {
|
5390
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5391
|
-
}
|
5392
|
-
},
|
5393
|
-
"tableId": {
|
5394
|
-
"type": "string",
|
5395
|
-
"id": 4,
|
5396
|
-
"options": {
|
5397
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5398
|
-
}
|
5399
|
-
},
|
5400
|
-
"gcsStagingDir": {
|
5401
|
-
"type": "string",
|
5402
|
-
"id": 5
|
5403
|
-
},
|
5404
|
-
"offload": {
|
5405
|
-
"type": "bool",
|
5406
|
-
"id": 6
|
5407
|
-
}
|
5408
|
-
}
|
5409
|
-
},
|
5410
|
-
"FirestoreSource": {
|
5411
|
-
"fields": {
|
5412
|
-
"projectId": {
|
5413
|
-
"type": "string",
|
5414
|
-
"id": 1
|
5415
|
-
},
|
5416
|
-
"databaseId": {
|
5417
|
-
"type": "string",
|
5418
|
-
"id": 2,
|
5419
|
-
"options": {
|
5420
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5421
|
-
}
|
5422
|
-
},
|
5423
|
-
"collectionId": {
|
5424
|
-
"type": "string",
|
5425
|
-
"id": 3,
|
5426
|
-
"options": {
|
5427
|
-
"(google.api.field_behavior)": "REQUIRED"
|
5428
|
-
}
|
5429
|
-
},
|
5430
|
-
"gcsStagingDir": {
|
5431
|
-
"type": "string",
|
5432
|
-
"id": 4
|
5433
|
-
}
|
5434
|
-
}
|
5435
|
-
},
|
5436
5178
|
"ImportErrorConfig": {
|
5437
5179
|
"oneofs": {
|
5438
5180
|
"destination": {
|
@@ -5557,10 +5299,6 @@
|
|
5557
5299
|
"failureCount": {
|
5558
5300
|
"type": "int64",
|
5559
5301
|
"id": 4
|
5560
|
-
},
|
5561
|
-
"totalCount": {
|
5562
|
-
"type": "int64",
|
5563
|
-
"id": 5
|
5564
5302
|
}
|
5565
5303
|
}
|
5566
5304
|
},
|
@@ -5570,12 +5308,7 @@
|
|
5570
5308
|
"oneof": [
|
5571
5309
|
"inlineSource",
|
5572
5310
|
"gcsSource",
|
5573
|
-
"bigquerySource"
|
5574
|
-
"fhirStoreSource",
|
5575
|
-
"spannerSource",
|
5576
|
-
"cloudSqlSource",
|
5577
|
-
"firestoreSource",
|
5578
|
-
"bigtableSource"
|
5311
|
+
"bigquerySource"
|
5579
5312
|
]
|
5580
5313
|
}
|
5581
5314
|
},
|
@@ -5592,26 +5325,6 @@
|
|
5592
5325
|
"type": "BigQuerySource",
|
5593
5326
|
"id": 4
|
5594
5327
|
},
|
5595
|
-
"fhirStoreSource": {
|
5596
|
-
"type": "FhirStoreSource",
|
5597
|
-
"id": 10
|
5598
|
-
},
|
5599
|
-
"spannerSource": {
|
5600
|
-
"type": "SpannerSource",
|
5601
|
-
"id": 11
|
5602
|
-
},
|
5603
|
-
"cloudSqlSource": {
|
5604
|
-
"type": "CloudSqlSource",
|
5605
|
-
"id": 12
|
5606
|
-
},
|
5607
|
-
"firestoreSource": {
|
5608
|
-
"type": "FirestoreSource",
|
5609
|
-
"id": 13
|
5610
|
-
},
|
5611
|
-
"bigtableSource": {
|
5612
|
-
"type": "BigtableSource",
|
5613
|
-
"id": 15
|
5614
|
-
},
|
5615
5328
|
"parent": {
|
5616
5329
|
"type": "string",
|
5617
5330
|
"id": 1,
|
@@ -5628,10 +5341,6 @@
|
|
5628
5341
|
"type": "ReconciliationMode",
|
5629
5342
|
"id": 6
|
5630
5343
|
},
|
5631
|
-
"updateMask": {
|
5632
|
-
"type": "google.protobuf.FieldMask",
|
5633
|
-
"id": 7
|
5634
|
-
},
|
5635
5344
|
"autoGenerateIds": {
|
5636
5345
|
"type": "bool",
|
5637
5346
|
"id": 8
|
@@ -5747,35 +5456,6 @@
|
|
5747
5456
|
}
|
5748
5457
|
}
|
5749
5458
|
},
|
5750
|
-
"ImportCompletionSuggestionsResponse": {
|
5751
|
-
"fields": {
|
5752
|
-
"errorSamples": {
|
5753
|
-
"rule": "repeated",
|
5754
|
-
"type": "google.rpc.Status",
|
5755
|
-
"id": 1
|
5756
|
-
},
|
5757
|
-
"successCount": {
|
5758
|
-
"type": "int64",
|
5759
|
-
"id": 2
|
5760
|
-
},
|
5761
|
-
"failureCount": {
|
5762
|
-
"type": "int64",
|
5763
|
-
"id": 3
|
5764
|
-
}
|
5765
|
-
}
|
5766
|
-
},
|
5767
|
-
"ImportCompletionSuggestionsMetadata": {
|
5768
|
-
"fields": {
|
5769
|
-
"createTime": {
|
5770
|
-
"type": "google.protobuf.Timestamp",
|
5771
|
-
"id": 1
|
5772
|
-
},
|
5773
|
-
"updateTime": {
|
5774
|
-
"type": "google.protobuf.Timestamp",
|
5775
|
-
"id": 2
|
5776
|
-
}
|
5777
|
-
}
|
5778
|
-
},
|
5779
5459
|
"Document": {
|
5780
5460
|
"options": {
|
5781
5461
|
"(google.api.resource).type": "discoveryengine.googleapis.com/Document",
|
@@ -5890,29 +5570,6 @@
|
|
5890
5570
|
}
|
5891
5571
|
}
|
5892
5572
|
},
|
5893
|
-
"ProcessedDocument": {
|
5894
|
-
"oneofs": {
|
5895
|
-
"processedDataFormat": {
|
5896
|
-
"oneof": [
|
5897
|
-
"jsonData"
|
5898
|
-
]
|
5899
|
-
}
|
5900
|
-
},
|
5901
|
-
"fields": {
|
5902
|
-
"jsonData": {
|
5903
|
-
"type": "string",
|
5904
|
-
"id": 2
|
5905
|
-
},
|
5906
|
-
"document": {
|
5907
|
-
"type": "string",
|
5908
|
-
"id": 1,
|
5909
|
-
"options": {
|
5910
|
-
"(google.api.field_behavior)": "REQUIRED",
|
5911
|
-
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
|
5912
|
-
}
|
5913
|
-
}
|
5914
|
-
}
|
5915
|
-
},
|
5916
5573
|
"UserEvent": {
|
5917
5574
|
"fields": {
|
5918
5575
|
"eventType": {
|
@@ -6812,68 +6469,14 @@
|
|
6812
6469
|
},
|
6813
6470
|
"nested": {
|
6814
6471
|
"ConditionBoostSpec": {
|
6815
|
-
"fields": {
|
6816
|
-
"condition": {
|
6817
|
-
"type": "string",
|
6818
|
-
"id": 1
|
6819
|
-
},
|
6820
|
-
"boost": {
|
6821
|
-
"type": "float",
|
6822
|
-
"id": 2
|
6823
|
-
},
|
6824
|
-
"boostControlSpec": {
|
6825
|
-
"type": "BoostControlSpec",
|
6826
|
-
"id": 3
|
6827
|
-
}
|
6828
|
-
},
|
6829
|
-
"nested": {
|
6830
|
-
"BoostControlSpec": {
|
6831
|
-
"fields": {
|
6832
|
-
"fieldName": {
|
6833
|
-
"type": "string",
|
6834
|
-
"id": 1
|
6835
|
-
},
|
6836
|
-
"attributeType": {
|
6837
|
-
"type": "AttributeType",
|
6838
|
-
"id": 2
|
6839
|
-
},
|
6840
|
-
"interpolationType": {
|
6841
|
-
"type": "InterpolationType",
|
6842
|
-
"id": 3
|
6843
|
-
},
|
6844
|
-
"controlPoints": {
|
6845
|
-
"rule": "repeated",
|
6846
|
-
"type": "ControlPoint",
|
6847
|
-
"id": 4
|
6848
|
-
}
|
6849
|
-
},
|
6850
|
-
"nested": {
|
6851
|
-
"ControlPoint": {
|
6852
|
-
"fields": {
|
6853
|
-
"attributeValue": {
|
6854
|
-
"type": "string",
|
6855
|
-
"id": 1
|
6856
|
-
},
|
6857
|
-
"boostAmount": {
|
6858
|
-
"type": "float",
|
6859
|
-
"id": 2
|
6860
|
-
}
|
6861
|
-
}
|
6862
|
-
},
|
6863
|
-
"AttributeType": {
|
6864
|
-
"values": {
|
6865
|
-
"ATTRIBUTE_TYPE_UNSPECIFIED": 0,
|
6866
|
-
"NUMERICAL": 1,
|
6867
|
-
"FRESHNESS": 2
|
6868
|
-
}
|
6869
|
-
},
|
6870
|
-
"InterpolationType": {
|
6871
|
-
"values": {
|
6872
|
-
"INTERPOLATION_TYPE_UNSPECIFIED": 0,
|
6873
|
-
"LINEAR": 1
|
6874
|
-
}
|
6875
|
-
}
|
6876
|
-
}
|
6472
|
+
"fields": {
|
6473
|
+
"condition": {
|
6474
|
+
"type": "string",
|
6475
|
+
"id": 1
|
6476
|
+
},
|
6477
|
+
"boost": {
|
6478
|
+
"type": "float",
|
6479
|
+
"id": 2
|
6877
6480
|
}
|
6878
6481
|
}
|
6879
6482
|
}
|
@@ -6934,10 +6537,6 @@
|
|
6934
6537
|
"searchResultMode": {
|
6935
6538
|
"type": "SearchResultMode",
|
6936
6539
|
"id": 4
|
6937
|
-
},
|
6938
|
-
"chunkSpec": {
|
6939
|
-
"type": "ChunkSpec",
|
6940
|
-
"id": 5
|
6941
6540
|
}
|
6942
6541
|
},
|
6943
6542
|
"nested": {
|
@@ -6992,10 +6591,6 @@
|
|
6992
6591
|
"modelSpec": {
|
6993
6592
|
"type": "ModelSpec",
|
6994
6593
|
"id": 7
|
6995
|
-
},
|
6996
|
-
"useSemanticChunks": {
|
6997
|
-
"type": "bool",
|
6998
|
-
"id": 8
|
6999
6594
|
}
|
7000
6595
|
},
|
7001
6596
|
"nested": {
|
@@ -7041,18 +6636,6 @@
|
|
7041
6636
|
}
|
7042
6637
|
}
|
7043
6638
|
},
|
7044
|
-
"ChunkSpec": {
|
7045
|
-
"fields": {
|
7046
|
-
"numPreviousChunks": {
|
7047
|
-
"type": "int32",
|
7048
|
-
"id": 1
|
7049
|
-
},
|
7050
|
-
"numNextChunks": {
|
7051
|
-
"type": "int32",
|
7052
|
-
"id": 2
|
7053
|
-
}
|
7054
|
-
}
|
7055
|
-
},
|
7056
6639
|
"SearchResultMode": {
|
7057
6640
|
"values": {
|
7058
6641
|
"SEARCH_RESULT_MODE_UNSPECIFIED": 0,
|
@@ -7322,25 +6905,6 @@
|
|
7322
6905
|
"uri": {
|
7323
6906
|
"type": "string",
|
7324
6907
|
"id": 3
|
7325
|
-
},
|
7326
|
-
"chunkContents": {
|
7327
|
-
"rule": "repeated",
|
7328
|
-
"type": "ChunkContent",
|
7329
|
-
"id": 4
|
7330
|
-
}
|
7331
|
-
},
|
7332
|
-
"nested": {
|
7333
|
-
"ChunkContent": {
|
7334
|
-
"fields": {
|
7335
|
-
"content": {
|
7336
|
-
"type": "string",
|
7337
|
-
"id": 1
|
7338
|
-
},
|
7339
|
-
"pageIdentifier": {
|
7340
|
-
"type": "string",
|
7341
|
-
"id": 2
|
7342
|
-
}
|
7343
|
-
}
|
7344
6908
|
}
|
7345
6909
|
}
|
7346
6910
|
},
|
@@ -8619,28 +8183,6 @@
|
|
8619
8183
|
}
|
8620
8184
|
}
|
8621
8185
|
]
|
8622
|
-
},
|
8623
|
-
"GetProcessedDocument": {
|
8624
|
-
"requestType": "GetProcessedDocumentRequest",
|
8625
|
-
"responseType": "ProcessedDocument",
|
8626
|
-
"options": {
|
8627
|
-
"(google.api.http).get": "/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}:getProcessedDocument",
|
8628
|
-
"(google.api.http).additional_bindings.get": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}:getProcessedDocument",
|
8629
|
-
"(google.api.method_signature)": "name"
|
8630
|
-
},
|
8631
|
-
"parsedOptions": [
|
8632
|
-
{
|
8633
|
-
"(google.api.http)": {
|
8634
|
-
"get": "/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}:getProcessedDocument",
|
8635
|
-
"additional_bindings": {
|
8636
|
-
"get": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}:getProcessedDocument"
|
8637
|
-
}
|
8638
|
-
}
|
8639
|
-
},
|
8640
|
-
{
|
8641
|
-
"(google.api.method_signature)": "name"
|
8642
|
-
}
|
8643
|
-
]
|
8644
8186
|
}
|
8645
8187
|
}
|
8646
8188
|
},
|
@@ -8746,44 +8288,6 @@
|
|
8746
8288
|
}
|
8747
8289
|
}
|
8748
8290
|
},
|
8749
|
-
"GetProcessedDocumentRequest": {
|
8750
|
-
"fields": {
|
8751
|
-
"name": {
|
8752
|
-
"type": "string",
|
8753
|
-
"id": 1,
|
8754
|
-
"options": {
|
8755
|
-
"(google.api.field_behavior)": "REQUIRED",
|
8756
|
-
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
|
8757
|
-
}
|
8758
|
-
},
|
8759
|
-
"processedDocumentType": {
|
8760
|
-
"type": "ProcessedDocumentType",
|
8761
|
-
"id": 2,
|
8762
|
-
"options": {
|
8763
|
-
"(google.api.field_behavior)": "REQUIRED"
|
8764
|
-
}
|
8765
|
-
},
|
8766
|
-
"processedDocumentFormat": {
|
8767
|
-
"type": "ProcessedDocumentFormat",
|
8768
|
-
"id": 3
|
8769
|
-
}
|
8770
|
-
},
|
8771
|
-
"nested": {
|
8772
|
-
"ProcessedDocumentType": {
|
8773
|
-
"values": {
|
8774
|
-
"PROCESSED_DOCUMENT_TYPE_UNSPECIFIED": 0,
|
8775
|
-
"PARSED_DOCUMENT": 1,
|
8776
|
-
"CHUNKED_DOCUMENT": 2
|
8777
|
-
}
|
8778
|
-
},
|
8779
|
-
"ProcessedDocumentFormat": {
|
8780
|
-
"values": {
|
8781
|
-
"PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED": 0,
|
8782
|
-
"JSON": 1
|
8783
|
-
}
|
8784
|
-
}
|
8785
|
-
}
|
8786
|
-
},
|
8787
8291
|
"Engine": {
|
8788
8292
|
"options": {
|
8789
8293
|
"(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
|
@@ -9563,95 +9067,6 @@
|
|
9563
9067
|
}
|
9564
9068
|
}
|
9565
9069
|
},
|
9566
|
-
"RankService": {
|
9567
|
-
"options": {
|
9568
|
-
"(google.api.default_host)": "discoveryengine.googleapis.com",
|
9569
|
-
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
|
9570
|
-
},
|
9571
|
-
"methods": {
|
9572
|
-
"Rank": {
|
9573
|
-
"requestType": "RankRequest",
|
9574
|
-
"responseType": "RankResponse",
|
9575
|
-
"options": {
|
9576
|
-
"(google.api.http).post": "/v1alpha/{ranking_config=projects/*/locations/*/rankingConfigs/*}:rank",
|
9577
|
-
"(google.api.http).body": "*"
|
9578
|
-
},
|
9579
|
-
"parsedOptions": [
|
9580
|
-
{
|
9581
|
-
"(google.api.http)": {
|
9582
|
-
"post": "/v1alpha/{ranking_config=projects/*/locations/*/rankingConfigs/*}:rank",
|
9583
|
-
"body": "*"
|
9584
|
-
}
|
9585
|
-
}
|
9586
|
-
]
|
9587
|
-
}
|
9588
|
-
}
|
9589
|
-
},
|
9590
|
-
"RankingRecord": {
|
9591
|
-
"fields": {
|
9592
|
-
"id": {
|
9593
|
-
"type": "string",
|
9594
|
-
"id": 1
|
9595
|
-
},
|
9596
|
-
"title": {
|
9597
|
-
"type": "string",
|
9598
|
-
"id": 2
|
9599
|
-
},
|
9600
|
-
"content": {
|
9601
|
-
"type": "string",
|
9602
|
-
"id": 3
|
9603
|
-
},
|
9604
|
-
"score": {
|
9605
|
-
"type": "float",
|
9606
|
-
"id": 4
|
9607
|
-
}
|
9608
|
-
}
|
9609
|
-
},
|
9610
|
-
"RankRequest": {
|
9611
|
-
"fields": {
|
9612
|
-
"rankingConfig": {
|
9613
|
-
"type": "string",
|
9614
|
-
"id": 1,
|
9615
|
-
"options": {
|
9616
|
-
"(google.api.field_behavior)": "REQUIRED",
|
9617
|
-
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/RankingConfig"
|
9618
|
-
}
|
9619
|
-
},
|
9620
|
-
"model": {
|
9621
|
-
"type": "string",
|
9622
|
-
"id": 2
|
9623
|
-
},
|
9624
|
-
"topN": {
|
9625
|
-
"type": "int32",
|
9626
|
-
"id": 3
|
9627
|
-
},
|
9628
|
-
"query": {
|
9629
|
-
"type": "string",
|
9630
|
-
"id": 4
|
9631
|
-
},
|
9632
|
-
"records": {
|
9633
|
-
"rule": "repeated",
|
9634
|
-
"type": "RankingRecord",
|
9635
|
-
"id": 5,
|
9636
|
-
"options": {
|
9637
|
-
"(google.api.field_behavior)": "REQUIRED"
|
9638
|
-
}
|
9639
|
-
},
|
9640
|
-
"ignoreRecordDetailsInResponse": {
|
9641
|
-
"type": "bool",
|
9642
|
-
"id": 6
|
9643
|
-
}
|
9644
|
-
}
|
9645
|
-
},
|
9646
|
-
"RankResponse": {
|
9647
|
-
"fields": {
|
9648
|
-
"records": {
|
9649
|
-
"rule": "repeated",
|
9650
|
-
"type": "RankingRecord",
|
9651
|
-
"id": 5
|
9652
|
-
}
|
9653
|
-
}
|
9654
|
-
},
|
9655
9070
|
"RecommendationService": {
|
9656
9071
|
"options": {
|
9657
9072
|
"(google.api.default_host)": "discoveryengine.googleapis.com",
|
@@ -10149,11 +9564,6 @@
|
|
10149
9564
|
"modelStatus": {
|
10150
9565
|
"type": "string",
|
10151
9566
|
"id": 3
|
10152
|
-
},
|
10153
|
-
"metrics": {
|
10154
|
-
"keyType": "string",
|
10155
|
-
"type": "double",
|
10156
|
-
"id": 4
|
10157
9567
|
}
|
10158
9568
|
}
|
10159
9569
|
},
|
@@ -11547,6 +10957,95 @@
|
|
11547
10957
|
}
|
11548
10958
|
}
|
11549
10959
|
}
|
10960
|
+
},
|
10961
|
+
"RankService": {
|
10962
|
+
"options": {
|
10963
|
+
"(google.api.default_host)": "discoveryengine.googleapis.com",
|
10964
|
+
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
|
10965
|
+
},
|
10966
|
+
"methods": {
|
10967
|
+
"Rank": {
|
10968
|
+
"requestType": "RankRequest",
|
10969
|
+
"responseType": "RankResponse",
|
10970
|
+
"options": {
|
10971
|
+
"(google.api.http).post": "/v1alpha/{ranking_config=projects/*/locations/*/rankingConfigs/*}:rank",
|
10972
|
+
"(google.api.http).body": "*"
|
10973
|
+
},
|
10974
|
+
"parsedOptions": [
|
10975
|
+
{
|
10976
|
+
"(google.api.http)": {
|
10977
|
+
"post": "/v1alpha/{ranking_config=projects/*/locations/*/rankingConfigs/*}:rank",
|
10978
|
+
"body": "*"
|
10979
|
+
}
|
10980
|
+
}
|
10981
|
+
]
|
10982
|
+
}
|
10983
|
+
}
|
10984
|
+
},
|
10985
|
+
"RankingRecord": {
|
10986
|
+
"fields": {
|
10987
|
+
"id": {
|
10988
|
+
"type": "string",
|
10989
|
+
"id": 1
|
10990
|
+
},
|
10991
|
+
"title": {
|
10992
|
+
"type": "string",
|
10993
|
+
"id": 2
|
10994
|
+
},
|
10995
|
+
"content": {
|
10996
|
+
"type": "string",
|
10997
|
+
"id": 3
|
10998
|
+
},
|
10999
|
+
"score": {
|
11000
|
+
"type": "float",
|
11001
|
+
"id": 4
|
11002
|
+
}
|
11003
|
+
}
|
11004
|
+
},
|
11005
|
+
"RankRequest": {
|
11006
|
+
"fields": {
|
11007
|
+
"rankingConfig": {
|
11008
|
+
"type": "string",
|
11009
|
+
"id": 1,
|
11010
|
+
"options": {
|
11011
|
+
"(google.api.field_behavior)": "REQUIRED",
|
11012
|
+
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/RankingConfig"
|
11013
|
+
}
|
11014
|
+
},
|
11015
|
+
"model": {
|
11016
|
+
"type": "string",
|
11017
|
+
"id": 2
|
11018
|
+
},
|
11019
|
+
"topN": {
|
11020
|
+
"type": "int32",
|
11021
|
+
"id": 3
|
11022
|
+
},
|
11023
|
+
"query": {
|
11024
|
+
"type": "string",
|
11025
|
+
"id": 4
|
11026
|
+
},
|
11027
|
+
"records": {
|
11028
|
+
"rule": "repeated",
|
11029
|
+
"type": "RankingRecord",
|
11030
|
+
"id": 5,
|
11031
|
+
"options": {
|
11032
|
+
"(google.api.field_behavior)": "REQUIRED"
|
11033
|
+
}
|
11034
|
+
},
|
11035
|
+
"ignoreRecordDetailsInResponse": {
|
11036
|
+
"type": "bool",
|
11037
|
+
"id": 6
|
11038
|
+
}
|
11039
|
+
}
|
11040
|
+
},
|
11041
|
+
"RankResponse": {
|
11042
|
+
"fields": {
|
11043
|
+
"records": {
|
11044
|
+
"rule": "repeated",
|
11045
|
+
"type": "RankingRecord",
|
11046
|
+
"id": 5
|
11047
|
+
}
|
11048
|
+
}
|
11550
11049
|
}
|
11551
11050
|
}
|
11552
11051
|
},
|