@google-cloud/discoveryengine 1.12.0 → 1.13.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 (45) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +4 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +55 -2
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +1 -1
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +31 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +38 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +28 -9
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +7 -1
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +23 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +11 -1
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +4 -1
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +6 -2
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +1 -1
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +114 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +57 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +5 -0
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +407 -11
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +14 -5
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +126 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +3 -0
  21. package/build/protos/protos.d.ts +3703 -219
  22. package/build/protos/protos.js +35486 -26672
  23. package/build/protos/protos.json +844 -46
  24. package/build/src/v1alpha/completion_service_client.d.ts +91 -0
  25. package/build/src/v1alpha/completion_service_client.js +90 -0
  26. package/build/src/v1alpha/completion_service_client_config.json +10 -0
  27. package/build/src/v1alpha/conversational_search_service_client.d.ts +18 -0
  28. package/build/src/v1alpha/data_store_service_client.d.ts +12 -3
  29. package/build/src/v1alpha/data_store_service_client.js +8 -2
  30. package/build/src/v1alpha/document_service_client.d.ts +4 -0
  31. package/build/src/v1alpha/document_service_client.js +6 -0
  32. package/build/src/v1alpha/engine_service_client.js +6 -0
  33. package/build/src/v1alpha/estimate_billing_service_client.js +6 -0
  34. package/build/src/v1alpha/evaluation_service_client.js +6 -0
  35. package/build/src/v1alpha/project_service_client.js +6 -0
  36. package/build/src/v1alpha/sample_query_service_client.js +6 -0
  37. package/build/src/v1alpha/schema_service_client.js +6 -0
  38. package/build/src/v1alpha/search_service_client.d.ts +219 -21
  39. package/build/src/v1alpha/search_service_client.js +146 -14
  40. package/build/src/v1alpha/search_tuning_service_client.js +6 -0
  41. package/build/src/v1alpha/site_search_engine_service_client.d.ts +101 -0
  42. package/build/src/v1alpha/site_search_engine_service_client.js +70 -0
  43. package/build/src/v1alpha/site_search_engine_service_client_config.json +8 -0
  44. package/build/src/v1alpha/user_event_service_client.js +6 -0
  45. package/package.json +2 -2
@@ -8040,7 +8040,8 @@
8040
8040
  "content": {
8041
8041
  "oneof": [
8042
8042
  "unstructuredDocumentInfo",
8043
- "chunkInfo"
8043
+ "chunkInfo",
8044
+ "structuredDocumentInfo"
8044
8045
  ]
8045
8046
  }
8046
8047
  },
@@ -8052,6 +8053,10 @@
8052
8053
  "chunkInfo": {
8053
8054
  "type": "ChunkInfo",
8054
8055
  "id": 2
8056
+ },
8057
+ "structuredDocumentInfo": {
8058
+ "type": "StructuredDocumentInfo",
8059
+ "id": 3
8055
8060
  }
8056
8061
  },
8057
8062
  "nested": {
@@ -8084,6 +8089,13 @@
8084
8089
  },
8085
8090
  "nested": {
8086
8091
  "ChunkContent": {
8092
+ "oneofs": {
8093
+ "_relevanceScore": {
8094
+ "oneof": [
8095
+ "relevanceScore"
8096
+ ]
8097
+ }
8098
+ },
8087
8099
  "fields": {
8088
8100
  "content": {
8089
8101
  "type": "string",
@@ -8092,6 +8104,13 @@
8092
8104
  "pageIdentifier": {
8093
8105
  "type": "string",
8094
8106
  "id": 2
8107
+ },
8108
+ "relevanceScore": {
8109
+ "type": "float",
8110
+ "id": 3,
8111
+ "options": {
8112
+ "proto3_optional": true
8113
+ }
8095
8114
  }
8096
8115
  }
8097
8116
  }
@@ -8158,6 +8177,21 @@
8158
8177
  }
8159
8178
  }
8160
8179
  }
8180
+ },
8181
+ "StructuredDocumentInfo": {
8182
+ "fields": {
8183
+ "document": {
8184
+ "type": "string",
8185
+ "id": 1,
8186
+ "options": {
8187
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
8188
+ }
8189
+ },
8190
+ "structData": {
8191
+ "type": "google.protobuf.Struct",
8192
+ "id": 2
8193
+ }
8194
+ }
8161
8195
  }
8162
8196
  }
8163
8197
  },
@@ -8241,6 +8275,10 @@
8241
8275
  "rule": "repeated",
8242
8276
  "type": "ChunkInfo",
8243
8277
  "id": 5
8278
+ },
8279
+ "structData": {
8280
+ "type": "google.protobuf.Struct",
8281
+ "id": 6
8244
8282
  }
8245
8283
  },
8246
8284
  "nested": {
@@ -8323,7 +8361,8 @@
8323
8361
  "values": {
8324
8362
  "TYPE_UNSPECIFIED": 0,
8325
8363
  "ADVERSARIAL_QUERY": 1,
8326
- "NON_ANSWER_SEEKING_QUERY": 2
8364
+ "NON_ANSWER_SEEKING_QUERY": 2,
8365
+ "JAIL_BREAKING_QUERY": 3
8327
8366
  }
8328
8367
  }
8329
8368
  }
@@ -8344,7 +8383,9 @@
8344
8383
  "ADVERSARIAL_QUERY_IGNORED": 1,
8345
8384
  "NON_ANSWER_SEEKING_QUERY_IGNORED": 2,
8346
8385
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
8347
- "POTENTIAL_POLICY_VIOLATION": 4
8386
+ "POTENTIAL_POLICY_VIOLATION": 4,
8387
+ "NO_RELEVANT_CONTENT": 5,
8388
+ "JAIL_BREAKING_QUERY_IGNORED": 6
8348
8389
  }
8349
8390
  }
8350
8391
  }
@@ -8574,6 +8615,50 @@
8574
8615
  }
8575
8616
  }
8576
8617
  },
8618
+ "CompletionSuggestion": {
8619
+ "oneofs": {
8620
+ "rankingInfo": {
8621
+ "oneof": [
8622
+ "globalScore",
8623
+ "frequency"
8624
+ ]
8625
+ }
8626
+ },
8627
+ "fields": {
8628
+ "globalScore": {
8629
+ "type": "double",
8630
+ "id": 2
8631
+ },
8632
+ "frequency": {
8633
+ "type": "int64",
8634
+ "id": 3
8635
+ },
8636
+ "suggestion": {
8637
+ "type": "string",
8638
+ "id": 1,
8639
+ "options": {
8640
+ "(google.api.field_behavior)": "REQUIRED"
8641
+ }
8642
+ },
8643
+ "languageCode": {
8644
+ "type": "string",
8645
+ "id": 4
8646
+ },
8647
+ "groupId": {
8648
+ "type": "string",
8649
+ "id": 5
8650
+ },
8651
+ "groupScore": {
8652
+ "type": "double",
8653
+ "id": 6
8654
+ },
8655
+ "alternativePhrases": {
8656
+ "rule": "repeated",
8657
+ "type": "string",
8658
+ "id": 7
8659
+ }
8660
+ }
8661
+ },
8577
8662
  "CompletionService": {
8578
8663
  "options": {
8579
8664
  "(google.api.default_host)": "discoveryengine.googleapis.com",
@@ -8657,6 +8742,66 @@
8657
8742
  }
8658
8743
  }
8659
8744
  ]
8745
+ },
8746
+ "ImportCompletionSuggestions": {
8747
+ "requestType": "ImportCompletionSuggestionsRequest",
8748
+ "responseType": "google.longrunning.Operation",
8749
+ "options": {
8750
+ "(google.api.http).post": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import",
8751
+ "(google.api.http).body": "*",
8752
+ "(google.api.http).additional_bindings.post": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import",
8753
+ "(google.api.http).additional_bindings.body": "*",
8754
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse",
8755
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata"
8756
+ },
8757
+ "parsedOptions": [
8758
+ {
8759
+ "(google.api.http)": {
8760
+ "post": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import",
8761
+ "body": "*",
8762
+ "additional_bindings": {
8763
+ "post": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import",
8764
+ "body": "*"
8765
+ }
8766
+ }
8767
+ },
8768
+ {
8769
+ "(google.longrunning.operation_info)": {
8770
+ "response_type": "google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsResponse",
8771
+ "metadata_type": "google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsMetadata"
8772
+ }
8773
+ }
8774
+ ]
8775
+ },
8776
+ "PurgeCompletionSuggestions": {
8777
+ "requestType": "PurgeCompletionSuggestionsRequest",
8778
+ "responseType": "google.longrunning.Operation",
8779
+ "options": {
8780
+ "(google.api.http).post": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge",
8781
+ "(google.api.http).body": "*",
8782
+ "(google.api.http).additional_bindings.post": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge",
8783
+ "(google.api.http).additional_bindings.body": "*",
8784
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse",
8785
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata"
8786
+ },
8787
+ "parsedOptions": [
8788
+ {
8789
+ "(google.api.http)": {
8790
+ "post": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge",
8791
+ "body": "*",
8792
+ "additional_bindings": {
8793
+ "post": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge",
8794
+ "body": "*"
8795
+ }
8796
+ }
8797
+ },
8798
+ {
8799
+ "(google.longrunning.operation_info)": {
8800
+ "response_type": "google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsResponse",
8801
+ "metadata_type": "google.cloud.discoveryengine.v1alpha.PurgeCompletionSuggestionsMetadata"
8802
+ }
8803
+ }
8804
+ ]
8660
8805
  }
8661
8806
  }
8662
8807
  },
@@ -8929,6 +9074,11 @@
8929
9074
  "gcsStagingDir": {
8930
9075
  "type": "string",
8931
9076
  "id": 2
9077
+ },
9078
+ "resourceTypes": {
9079
+ "rule": "repeated",
9080
+ "type": "string",
9081
+ "id": 3
8932
9082
  }
8933
9083
  }
8934
9084
  },
@@ -8969,6 +9119,46 @@
8969
9119
  }
8970
9120
  }
8971
9121
  },
9122
+ "AlloyDbSource": {
9123
+ "fields": {
9124
+ "projectId": {
9125
+ "type": "string",
9126
+ "id": 1
9127
+ },
9128
+ "locationId": {
9129
+ "type": "string",
9130
+ "id": 2,
9131
+ "options": {
9132
+ "(google.api.field_behavior)": "REQUIRED"
9133
+ }
9134
+ },
9135
+ "clusterId": {
9136
+ "type": "string",
9137
+ "id": 3,
9138
+ "options": {
9139
+ "(google.api.field_behavior)": "REQUIRED"
9140
+ }
9141
+ },
9142
+ "databaseId": {
9143
+ "type": "string",
9144
+ "id": 4,
9145
+ "options": {
9146
+ "(google.api.field_behavior)": "REQUIRED"
9147
+ }
9148
+ },
9149
+ "tableId": {
9150
+ "type": "string",
9151
+ "id": 5,
9152
+ "options": {
9153
+ "(google.api.field_behavior)": "REQUIRED"
9154
+ }
9155
+ },
9156
+ "gcsStagingDir": {
9157
+ "type": "string",
9158
+ "id": 6
9159
+ }
9160
+ }
9161
+ },
8972
9162
  "FirestoreSource": {
8973
9163
  "fields": {
8974
9164
  "projectId": {
@@ -9137,6 +9327,7 @@
9137
9327
  "spannerSource",
9138
9328
  "cloudSqlSource",
9139
9329
  "firestoreSource",
9330
+ "alloyDbSource",
9140
9331
  "bigtableSource"
9141
9332
  ]
9142
9333
  }
@@ -9170,6 +9361,10 @@
9170
9361
  "type": "FirestoreSource",
9171
9362
  "id": 13
9172
9363
  },
9364
+ "alloyDbSource": {
9365
+ "type": "AlloyDbSource",
9366
+ "id": 14
9367
+ },
9173
9368
  "bigtableSource": {
9174
9369
  "type": "BigtableSource",
9175
9370
  "id": 15
@@ -9309,6 +9504,90 @@
9309
9504
  }
9310
9505
  }
9311
9506
  },
9507
+ "ImportCompletionSuggestionsRequest": {
9508
+ "oneofs": {
9509
+ "source": {
9510
+ "oneof": [
9511
+ "inlineSource",
9512
+ "gcsSource",
9513
+ "bigquerySource"
9514
+ ]
9515
+ }
9516
+ },
9517
+ "fields": {
9518
+ "inlineSource": {
9519
+ "type": "InlineSource",
9520
+ "id": 2
9521
+ },
9522
+ "gcsSource": {
9523
+ "type": "GcsSource",
9524
+ "id": 3
9525
+ },
9526
+ "bigquerySource": {
9527
+ "type": "BigQuerySource",
9528
+ "id": 4
9529
+ },
9530
+ "parent": {
9531
+ "type": "string",
9532
+ "id": 1,
9533
+ "options": {
9534
+ "(google.api.field_behavior)": "REQUIRED",
9535
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
9536
+ }
9537
+ },
9538
+ "errorConfig": {
9539
+ "type": "ImportErrorConfig",
9540
+ "id": 5
9541
+ }
9542
+ },
9543
+ "nested": {
9544
+ "InlineSource": {
9545
+ "fields": {
9546
+ "suggestions": {
9547
+ "rule": "repeated",
9548
+ "type": "CompletionSuggestion",
9549
+ "id": 1,
9550
+ "options": {
9551
+ "(google.api.field_behavior)": "REQUIRED"
9552
+ }
9553
+ }
9554
+ }
9555
+ }
9556
+ }
9557
+ },
9558
+ "ImportCompletionSuggestionsResponse": {
9559
+ "fields": {
9560
+ "errorSamples": {
9561
+ "rule": "repeated",
9562
+ "type": "google.rpc.Status",
9563
+ "id": 1
9564
+ },
9565
+ "errorConfig": {
9566
+ "type": "ImportErrorConfig",
9567
+ "id": 2
9568
+ }
9569
+ }
9570
+ },
9571
+ "ImportCompletionSuggestionsMetadata": {
9572
+ "fields": {
9573
+ "createTime": {
9574
+ "type": "google.protobuf.Timestamp",
9575
+ "id": 1
9576
+ },
9577
+ "updateTime": {
9578
+ "type": "google.protobuf.Timestamp",
9579
+ "id": 2
9580
+ },
9581
+ "successCount": {
9582
+ "type": "int64",
9583
+ "id": 3
9584
+ },
9585
+ "failureCount": {
9586
+ "type": "int64",
9587
+ "id": 4
9588
+ }
9589
+ }
9590
+ },
9312
9591
  "ImportSampleQueriesRequest": {
9313
9592
  "oneofs": {
9314
9593
  "source": {
@@ -9504,6 +9783,10 @@
9504
9783
  "rule": "repeated",
9505
9784
  "type": "Principal",
9506
9785
  "id": 1
9786
+ },
9787
+ "idpWide": {
9788
+ "type": "bool",
9789
+ "id": 2
9507
9790
  }
9508
9791
  }
9509
9792
  }
@@ -10016,7 +10299,8 @@
10016
10299
  "oneofs": {
10017
10300
  "source": {
10018
10301
  "oneof": [
10019
- "gcsSource"
10302
+ "gcsSource",
10303
+ "inlineSource"
10020
10304
  ]
10021
10305
  }
10022
10306
  },
@@ -10025,6 +10309,10 @@
10025
10309
  "type": "GcsSource",
10026
10310
  "id": 5
10027
10311
  },
10312
+ "inlineSource": {
10313
+ "type": "InlineSource",
10314
+ "id": 6
10315
+ },
10028
10316
  "parent": {
10029
10317
  "type": "string",
10030
10318
  "id": 1,
@@ -10048,6 +10336,21 @@
10048
10336
  "type": "bool",
10049
10337
  "id": 3
10050
10338
  }
10339
+ },
10340
+ "nested": {
10341
+ "InlineSource": {
10342
+ "fields": {
10343
+ "documents": {
10344
+ "rule": "repeated",
10345
+ "type": "string",
10346
+ "id": 1,
10347
+ "options": {
10348
+ "(google.api.field_behavior)": "REQUIRED",
10349
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
10350
+ }
10351
+ }
10352
+ }
10353
+ }
10051
10354
  }
10052
10355
  },
10053
10356
  "PurgeDocumentsResponse": {
@@ -10127,6 +10430,43 @@
10127
10430
  }
10128
10431
  }
10129
10432
  },
10433
+ "PurgeCompletionSuggestionsRequest": {
10434
+ "fields": {
10435
+ "parent": {
10436
+ "type": "string",
10437
+ "id": 1,
10438
+ "options": {
10439
+ "(google.api.field_behavior)": "REQUIRED",
10440
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
10441
+ }
10442
+ }
10443
+ }
10444
+ },
10445
+ "PurgeCompletionSuggestionsResponse": {
10446
+ "fields": {
10447
+ "purgeSucceeded": {
10448
+ "type": "bool",
10449
+ "id": 1
10450
+ },
10451
+ "errorSamples": {
10452
+ "rule": "repeated",
10453
+ "type": "google.rpc.Status",
10454
+ "id": 2
10455
+ }
10456
+ }
10457
+ },
10458
+ "PurgeCompletionSuggestionsMetadata": {
10459
+ "fields": {
10460
+ "createTime": {
10461
+ "type": "google.protobuf.Timestamp",
10462
+ "id": 1
10463
+ },
10464
+ "updateTime": {
10465
+ "type": "google.protobuf.Timestamp",
10466
+ "id": 2
10467
+ }
10468
+ }
10469
+ },
10130
10470
  "Condition": {
10131
10471
  "fields": {
10132
10472
  "queryTerms": {
@@ -10819,6 +11159,14 @@
10819
11159
  "type": "UserInfo",
10820
11160
  "id": 21
10821
11161
  },
11162
+ "languageCode": {
11163
+ "type": "string",
11164
+ "id": 35
11165
+ },
11166
+ "regionCode": {
11167
+ "type": "string",
11168
+ "id": 36
11169
+ },
10822
11170
  "facetSpecs": {
10823
11171
  "rule": "repeated",
10824
11172
  "type": "FacetSpec",
@@ -10866,9 +11214,32 @@
10866
11214
  "type": "string",
10867
11215
  "id": 22
10868
11216
  },
11217
+ "naturalLanguageQueryUnderstandingSpec": {
11218
+ "type": "NaturalLanguageQueryUnderstandingSpec",
11219
+ "id": 28
11220
+ },
11221
+ "searchAsYouTypeSpec": {
11222
+ "type": "SearchAsYouTypeSpec",
11223
+ "id": 31
11224
+ },
10869
11225
  "customFineTuningSpec": {
10870
11226
  "type": "CustomFineTuningSpec",
10871
11227
  "id": 34
11228
+ },
11229
+ "session": {
11230
+ "type": "string",
11231
+ "id": 41,
11232
+ "options": {
11233
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Session"
11234
+ }
11235
+ },
11236
+ "sessionSpec": {
11237
+ "type": "SessionSpec",
11238
+ "id": 42
11239
+ },
11240
+ "relevanceThreshold": {
11241
+ "type": "RelevanceThreshold",
11242
+ "id": 44
10872
11243
  }
10873
11244
  },
10874
11245
  "nested": {
@@ -11143,6 +11514,10 @@
11143
11514
  "type": "bool",
11144
11515
  "id": 4
11145
11516
  },
11517
+ "ignoreLowRelevantContent": {
11518
+ "type": "bool",
11519
+ "id": 9
11520
+ },
11146
11521
  "modelPromptSpec": {
11147
11522
  "type": "ModelPromptSpec",
11148
11523
  "id": 5
@@ -11247,6 +11622,76 @@
11247
11622
  }
11248
11623
  }
11249
11624
  }
11625
+ },
11626
+ "NaturalLanguageQueryUnderstandingSpec": {
11627
+ "fields": {
11628
+ "filterExtractionCondition": {
11629
+ "type": "FilterExtractionCondition",
11630
+ "id": 1
11631
+ },
11632
+ "geoSearchQueryDetectionFieldNames": {
11633
+ "rule": "repeated",
11634
+ "type": "string",
11635
+ "id": 2
11636
+ }
11637
+ },
11638
+ "nested": {
11639
+ "FilterExtractionCondition": {
11640
+ "values": {
11641
+ "CONDITION_UNSPECIFIED": 0,
11642
+ "DISABLED": 1,
11643
+ "ENABLED": 2
11644
+ }
11645
+ }
11646
+ }
11647
+ },
11648
+ "SearchAsYouTypeSpec": {
11649
+ "fields": {
11650
+ "condition": {
11651
+ "type": "Condition",
11652
+ "id": 1
11653
+ }
11654
+ },
11655
+ "nested": {
11656
+ "Condition": {
11657
+ "values": {
11658
+ "CONDITION_UNSPECIFIED": 0,
11659
+ "DISABLED": 1,
11660
+ "ENABLED": 2
11661
+ }
11662
+ }
11663
+ }
11664
+ },
11665
+ "SessionSpec": {
11666
+ "oneofs": {
11667
+ "_searchResultPersistenceCount": {
11668
+ "oneof": [
11669
+ "searchResultPersistenceCount"
11670
+ ]
11671
+ }
11672
+ },
11673
+ "fields": {
11674
+ "queryId": {
11675
+ "type": "string",
11676
+ "id": 1
11677
+ },
11678
+ "searchResultPersistenceCount": {
11679
+ "type": "int32",
11680
+ "id": 2,
11681
+ "options": {
11682
+ "proto3_optional": true
11683
+ }
11684
+ }
11685
+ }
11686
+ },
11687
+ "RelevanceThreshold": {
11688
+ "values": {
11689
+ "RELEVANCE_THRESHOLD_UNSPECIFIED": 0,
11690
+ "LOWEST": 1,
11691
+ "LOW": 2,
11692
+ "MEDIUM": 3,
11693
+ "HIGH": 4
11694
+ }
11250
11695
  }
11251
11696
  }
11252
11697
  },
@@ -11303,6 +11748,19 @@
11303
11748
  "queryExpansionInfo": {
11304
11749
  "type": "QueryExpansionInfo",
11305
11750
  "id": 14
11751
+ },
11752
+ "naturalLanguageQueryUnderstandingInfo": {
11753
+ "type": "NaturalLanguageQueryUnderstandingInfo",
11754
+ "id": 15
11755
+ },
11756
+ "sessionInfo": {
11757
+ "type": "SessionInfo",
11758
+ "id": 19
11759
+ },
11760
+ "oneBoxResults": {
11761
+ "rule": "repeated",
11762
+ "type": "OneBoxResult",
11763
+ "id": 20
11306
11764
  }
11307
11765
  },
11308
11766
  "nested": {
@@ -11494,69 +11952,252 @@
11494
11952
  "nested": {
11495
11953
  "ChunkContent": {
11496
11954
  "fields": {
11497
- "content": {
11955
+ "content": {
11956
+ "type": "string",
11957
+ "id": 1
11958
+ },
11959
+ "pageIdentifier": {
11960
+ "type": "string",
11961
+ "id": 2
11962
+ }
11963
+ }
11964
+ }
11965
+ }
11966
+ },
11967
+ "SummaryWithMetadata": {
11968
+ "fields": {
11969
+ "summary": {
11970
+ "type": "string",
11971
+ "id": 1
11972
+ },
11973
+ "citationMetadata": {
11974
+ "type": "CitationMetadata",
11975
+ "id": 2
11976
+ },
11977
+ "references": {
11978
+ "rule": "repeated",
11979
+ "type": "Reference",
11980
+ "id": 3
11981
+ }
11982
+ }
11983
+ },
11984
+ "SummarySkippedReason": {
11985
+ "values": {
11986
+ "SUMMARY_SKIPPED_REASON_UNSPECIFIED": 0,
11987
+ "ADVERSARIAL_QUERY_IGNORED": 1,
11988
+ "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
11989
+ "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
11990
+ "POTENTIAL_POLICY_VIOLATION": 4,
11991
+ "LLM_ADDON_NOT_ENABLED": 5,
11992
+ "NO_RELEVANT_CONTENT": 6,
11993
+ "JAIL_BREAKING_QUERY_IGNORED": 7
11994
+ }
11995
+ }
11996
+ }
11997
+ },
11998
+ "GeoSearchDebugInfo": {
11999
+ "fields": {
12000
+ "originalAddressQuery": {
12001
+ "type": "string",
12002
+ "id": 1
12003
+ },
12004
+ "errorMessage": {
12005
+ "type": "string",
12006
+ "id": 2
12007
+ }
12008
+ }
12009
+ },
12010
+ "QueryExpansionInfo": {
12011
+ "fields": {
12012
+ "expandedQuery": {
12013
+ "type": "bool",
12014
+ "id": 1
12015
+ },
12016
+ "pinnedResultCount": {
12017
+ "type": "int64",
12018
+ "id": 2
12019
+ }
12020
+ }
12021
+ },
12022
+ "NaturalLanguageQueryUnderstandingInfo": {
12023
+ "fields": {
12024
+ "extractedFilters": {
12025
+ "type": "string",
12026
+ "id": 1
12027
+ },
12028
+ "rewrittenQuery": {
12029
+ "type": "string",
12030
+ "id": 2
12031
+ },
12032
+ "structuredExtractedFilter": {
12033
+ "type": "StructuredExtractedFilter",
12034
+ "id": 3
12035
+ }
12036
+ },
12037
+ "nested": {
12038
+ "StructuredExtractedFilter": {
12039
+ "fields": {
12040
+ "expression": {
12041
+ "type": "Expression",
12042
+ "id": 1
12043
+ }
12044
+ },
12045
+ "nested": {
12046
+ "StringConstraint": {
12047
+ "fields": {
12048
+ "fieldName": {
12049
+ "type": "string",
12050
+ "id": 1
12051
+ },
12052
+ "values": {
12053
+ "rule": "repeated",
12054
+ "type": "string",
12055
+ "id": 2
12056
+ }
12057
+ }
12058
+ },
12059
+ "NumberConstraint": {
12060
+ "fields": {
12061
+ "fieldName": {
12062
+ "type": "string",
12063
+ "id": 1
12064
+ },
12065
+ "comparison": {
12066
+ "type": "Comparison",
12067
+ "id": 2
12068
+ },
12069
+ "value": {
12070
+ "type": "double",
12071
+ "id": 3
12072
+ }
12073
+ },
12074
+ "nested": {
12075
+ "Comparison": {
12076
+ "values": {
12077
+ "COMPARISON_UNSPECIFIED": 0,
12078
+ "EQUALS": 1,
12079
+ "LESS_THAN_EQUALS": 2,
12080
+ "LESS_THAN": 3,
12081
+ "GREATER_THAN_EQUALS": 4,
12082
+ "GREATER_THAN": 5
12083
+ }
12084
+ }
12085
+ }
12086
+ },
12087
+ "GeolocationConstraint": {
12088
+ "fields": {
12089
+ "fieldName": {
11498
12090
  "type": "string",
11499
12091
  "id": 1
11500
12092
  },
11501
- "pageIdentifier": {
12093
+ "address": {
11502
12094
  "type": "string",
11503
12095
  "id": 2
12096
+ },
12097
+ "latitude": {
12098
+ "type": "double",
12099
+ "id": 4
12100
+ },
12101
+ "longitude": {
12102
+ "type": "double",
12103
+ "id": 5
12104
+ },
12105
+ "radiusInMeters": {
12106
+ "type": "float",
12107
+ "id": 3
11504
12108
  }
11505
12109
  }
11506
- }
11507
- }
11508
- },
11509
- "SummaryWithMetadata": {
11510
- "fields": {
11511
- "summary": {
11512
- "type": "string",
11513
- "id": 1
11514
12110
  },
11515
- "citationMetadata": {
11516
- "type": "CitationMetadata",
11517
- "id": 2
12111
+ "AndExpression": {
12112
+ "fields": {
12113
+ "expressions": {
12114
+ "rule": "repeated",
12115
+ "type": "Expression",
12116
+ "id": 1
12117
+ }
12118
+ }
11518
12119
  },
11519
- "references": {
11520
- "rule": "repeated",
11521
- "type": "Reference",
11522
- "id": 3
12120
+ "OrExpression": {
12121
+ "fields": {
12122
+ "expressions": {
12123
+ "rule": "repeated",
12124
+ "type": "Expression",
12125
+ "id": 1
12126
+ }
12127
+ }
12128
+ },
12129
+ "Expression": {
12130
+ "oneofs": {
12131
+ "expr": {
12132
+ "oneof": [
12133
+ "stringConstraint",
12134
+ "numberConstraint",
12135
+ "geolocationConstraint",
12136
+ "andExpr",
12137
+ "orExpr"
12138
+ ]
12139
+ }
12140
+ },
12141
+ "fields": {
12142
+ "stringConstraint": {
12143
+ "type": "StringConstraint",
12144
+ "id": 1
12145
+ },
12146
+ "numberConstraint": {
12147
+ "type": "NumberConstraint",
12148
+ "id": 2
12149
+ },
12150
+ "geolocationConstraint": {
12151
+ "type": "GeolocationConstraint",
12152
+ "id": 3
12153
+ },
12154
+ "andExpr": {
12155
+ "type": "AndExpression",
12156
+ "id": 4
12157
+ },
12158
+ "orExpr": {
12159
+ "type": "OrExpression",
12160
+ "id": 5
12161
+ }
12162
+ }
11523
12163
  }
11524
12164
  }
11525
- },
11526
- "SummarySkippedReason": {
11527
- "values": {
11528
- "SUMMARY_SKIPPED_REASON_UNSPECIFIED": 0,
11529
- "ADVERSARIAL_QUERY_IGNORED": 1,
11530
- "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
11531
- "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
11532
- "POTENTIAL_POLICY_VIOLATION": 4,
11533
- "LLM_ADDON_NOT_ENABLED": 5
11534
- }
11535
12165
  }
11536
12166
  }
11537
12167
  },
11538
- "GeoSearchDebugInfo": {
12168
+ "SessionInfo": {
11539
12169
  "fields": {
11540
- "originalAddressQuery": {
12170
+ "name": {
11541
12171
  "type": "string",
11542
12172
  "id": 1
11543
12173
  },
11544
- "errorMessage": {
12174
+ "queryId": {
11545
12175
  "type": "string",
11546
12176
  "id": 2
11547
12177
  }
11548
12178
  }
11549
12179
  },
11550
- "QueryExpansionInfo": {
12180
+ "OneBoxResult": {
11551
12181
  "fields": {
11552
- "expandedQuery": {
11553
- "type": "bool",
12182
+ "oneBoxType": {
12183
+ "type": "OneBoxType",
11554
12184
  "id": 1
11555
12185
  },
11556
- "pinnedResultCount": {
11557
- "type": "int64",
12186
+ "searchResults": {
12187
+ "rule": "repeated",
12188
+ "type": "SearchResult",
11558
12189
  "id": 2
11559
12190
  }
12191
+ },
12192
+ "nested": {
12193
+ "OneBoxType": {
12194
+ "values": {
12195
+ "ONE_BOX_TYPE_UNSPECIFIED": 0,
12196
+ "PEOPLE": 1,
12197
+ "ORGANIZATION": 2,
12198
+ "SLACK": 3
12199
+ }
12200
+ }
11560
12201
  }
11561
12202
  }
11562
12203
  }
@@ -12169,6 +12810,11 @@
12169
12810
  "userPseudoId": {
12170
12811
  "type": "string",
12171
12812
  "id": 12
12813
+ },
12814
+ "userLabels": {
12815
+ "keyType": "string",
12816
+ "type": "string",
12817
+ "id": 13
12172
12818
  }
12173
12819
  },
12174
12820
  "nested": {
@@ -12448,7 +13094,8 @@
12448
13094
  "values": {
12449
13095
  "TYPE_UNSPECIFIED": 0,
12450
13096
  "ADVERSARIAL_QUERY": 1,
12451
- "NON_ANSWER_SEEKING_QUERY": 2
13097
+ "NON_ANSWER_SEEKING_QUERY": 2,
13098
+ "JAIL_BREAKING_QUERY": 3
12452
13099
  }
12453
13100
  }
12454
13101
  }
@@ -12708,11 +13355,19 @@
12708
13355
  },
12709
13356
  "createTime": {
12710
13357
  "type": "google.protobuf.Timestamp",
12711
- "id": 5
13358
+ "id": 5,
13359
+ "options": {
13360
+ "deprecated": true
13361
+ }
12712
13362
  },
12713
13363
  "trainingStartTime": {
12714
13364
  "type": "google.protobuf.Timestamp",
12715
13365
  "id": 6
13366
+ },
13367
+ "metrics": {
13368
+ "keyType": "string",
13369
+ "type": "double",
13370
+ "id": 7
12716
13371
  }
12717
13372
  },
12718
13373
  "nested": {
@@ -12723,7 +13378,8 @@
12723
13378
  "TRAINING": 2,
12724
13379
  "TRAINING_COMPLETE": 3,
12725
13380
  "READY_FOR_SERVING": 4,
12726
- "TRAINING_FAILED": 5
13381
+ "TRAINING_FAILED": 5,
13382
+ "NO_IMPROVEMENT": 6
12727
13383
  }
12728
13384
  }
12729
13385
  }
@@ -12781,6 +13437,10 @@
12781
13437
  "(google.api.field_behavior)": "OUTPUT_ONLY"
12782
13438
  }
12783
13439
  },
13440
+ "languageInfo": {
13441
+ "type": "LanguageInfo",
13442
+ "id": 14
13443
+ },
12784
13444
  "idpConfig": {
12785
13445
  "type": "IdpConfig",
12786
13446
  "id": 21,
@@ -12815,6 +13475,35 @@
12815
13475
  }
12816
13476
  }
12817
13477
  },
13478
+ "LanguageInfo": {
13479
+ "fields": {
13480
+ "languageCode": {
13481
+ "type": "string",
13482
+ "id": 1
13483
+ },
13484
+ "normalizedLanguageCode": {
13485
+ "type": "string",
13486
+ "id": 2,
13487
+ "options": {
13488
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
13489
+ }
13490
+ },
13491
+ "language": {
13492
+ "type": "string",
13493
+ "id": 3,
13494
+ "options": {
13495
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
13496
+ }
13497
+ },
13498
+ "region": {
13499
+ "type": "string",
13500
+ "id": 4,
13501
+ "options": {
13502
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
13503
+ }
13504
+ }
13505
+ }
13506
+ },
12818
13507
  "DocumentProcessingConfig": {
12819
13508
  "options": {
12820
13509
  "(google.api.resource).type": "discoveryengine.googleapis.com/DocumentProcessingConfig",
@@ -13077,6 +13766,7 @@
13077
13766
  "ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED": 0,
13078
13767
  "METATAGS": 1,
13079
13768
  "PAGEMAP": 2,
13769
+ "URI_PATTERN_MAPPING": 3,
13080
13770
  "SCHEMA_ORG": 4
13081
13771
  }
13082
13772
  }
@@ -13299,6 +13989,10 @@
13299
13989
  "createAdvancedSiteSearch": {
13300
13990
  "type": "bool",
13301
13991
  "id": 4
13992
+ },
13993
+ "skipDefaultSchemaCreation": {
13994
+ "type": "bool",
13995
+ "id": 7
13302
13996
  }
13303
13997
  }
13304
13998
  },
@@ -17252,6 +17946,44 @@
17252
17946
  }
17253
17947
  }
17254
17948
  ]
17949
+ },
17950
+ "SetUriPatternDocumentData": {
17951
+ "requestType": "SetUriPatternDocumentDataRequest",
17952
+ "responseType": "google.longrunning.Operation",
17953
+ "options": {
17954
+ "(google.api.http).post": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:setUriPatternDocumentData",
17955
+ "(google.api.http).body": "*",
17956
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse",
17957
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata"
17958
+ },
17959
+ "parsedOptions": [
17960
+ {
17961
+ "(google.api.http)": {
17962
+ "post": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:setUriPatternDocumentData",
17963
+ "body": "*"
17964
+ }
17965
+ },
17966
+ {
17967
+ "(google.longrunning.operation_info)": {
17968
+ "response_type": "google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataResponse",
17969
+ "metadata_type": "google.cloud.discoveryengine.v1alpha.SetUriPatternDocumentDataMetadata"
17970
+ }
17971
+ }
17972
+ ]
17973
+ },
17974
+ "GetUriPatternDocumentData": {
17975
+ "requestType": "GetUriPatternDocumentDataRequest",
17976
+ "responseType": "GetUriPatternDocumentDataResponse",
17977
+ "options": {
17978
+ "(google.api.http).get": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:getUriPatternDocumentData"
17979
+ },
17980
+ "parsedOptions": [
17981
+ {
17982
+ "(google.api.http)": {
17983
+ "get": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:getUriPatternDocumentData"
17984
+ }
17985
+ }
17986
+ ]
17255
17987
  }
17256
17988
  }
17257
17989
  },
@@ -17658,6 +18390,67 @@
17658
18390
  }
17659
18391
  }
17660
18392
  },
18393
+ "SetUriPatternDocumentDataRequest": {
18394
+ "fields": {
18395
+ "siteSearchEngine": {
18396
+ "type": "string",
18397
+ "id": 1,
18398
+ "options": {
18399
+ "(google.api.field_behavior)": "REQUIRED",
18400
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/SiteSearchEngine"
18401
+ }
18402
+ },
18403
+ "documentDataMap": {
18404
+ "keyType": "string",
18405
+ "type": "google.protobuf.Struct",
18406
+ "id": 2
18407
+ },
18408
+ "emptyDocumentDataMap": {
18409
+ "type": "bool",
18410
+ "id": 4
18411
+ },
18412
+ "schema": {
18413
+ "type": "google.protobuf.Struct",
18414
+ "id": 3
18415
+ }
18416
+ }
18417
+ },
18418
+ "SetUriPatternDocumentDataResponse": {
18419
+ "fields": {}
18420
+ },
18421
+ "SetUriPatternDocumentDataMetadata": {
18422
+ "fields": {
18423
+ "createTime": {
18424
+ "type": "google.protobuf.Timestamp",
18425
+ "id": 1
18426
+ },
18427
+ "updateTime": {
18428
+ "type": "google.protobuf.Timestamp",
18429
+ "id": 2
18430
+ }
18431
+ }
18432
+ },
18433
+ "GetUriPatternDocumentDataRequest": {
18434
+ "fields": {
18435
+ "siteSearchEngine": {
18436
+ "type": "string",
18437
+ "id": 1,
18438
+ "options": {
18439
+ "(google.api.field_behavior)": "REQUIRED",
18440
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/SiteSearchEngine"
18441
+ }
18442
+ }
18443
+ }
18444
+ },
18445
+ "GetUriPatternDocumentDataResponse": {
18446
+ "fields": {
18447
+ "documentDataMap": {
18448
+ "keyType": "string",
18449
+ "type": "google.protobuf.Struct",
18450
+ "id": 1
18451
+ }
18452
+ }
18453
+ },
17661
18454
  "UserEventService": {
17662
18455
  "options": {
17663
18456
  "(google.api.default_host)": "discoveryengine.googleapis.com",
@@ -17697,15 +18490,20 @@
17697
18490
  "responseType": "google.api.HttpBody",
17698
18491
  "options": {
17699
18492
  "(google.api.http).get": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
17700
- "(google.api.http).additional_bindings.get": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
18493
+ "(google.api.http).additional_bindings.get": "/v1alpha/{parent=projects/*/locations/*}/userEvents:collect"
17701
18494
  },
17702
18495
  "parsedOptions": [
17703
18496
  {
17704
18497
  "(google.api.http)": {
17705
18498
  "get": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
17706
- "additional_bindings": {
17707
- "get": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
17708
- }
18499
+ "additional_bindings": [
18500
+ {
18501
+ "get": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
18502
+ },
18503
+ {
18504
+ "get": "/v1alpha/{parent=projects/*/locations/*}/userEvents:collect"
18505
+ }
18506
+ ]
17709
18507
  }
17710
18508
  }
17711
18509
  ]