@google-cloud/discoveryengine 1.11.0 → 1.12.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 (28) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +3 -0
  3. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +14 -0
  4. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +31 -0
  5. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +38 -0
  6. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +19 -0
  7. package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +7 -1
  8. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +23 -0
  9. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +10 -0
  10. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +108 -0
  11. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +111 -0
  12. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +303 -0
  13. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +24 -0
  14. package/build/protos/protos.d.ts +2891 -4
  15. package/build/protos/protos.js +23610 -16379
  16. package/build/protos/protos.json +665 -6
  17. package/build/src/v1beta/completion_service_client.d.ts +91 -0
  18. package/build/src/v1beta/completion_service_client.js +84 -0
  19. package/build/src/v1beta/completion_service_client_config.json +10 -0
  20. package/build/src/v1beta/conversational_search_service_client.d.ts +18 -0
  21. package/build/src/v1beta/data_store_service_client.d.ts +9 -0
  22. package/build/src/v1beta/document_service_client.d.ts +2 -0
  23. package/build/src/v1beta/search_service_client.d.ts +147 -0
  24. package/build/src/v1beta/search_service_client.js +98 -0
  25. package/build/src/v1beta/user_event_service_client.d.ts +75 -0
  26. package/build/src/v1beta/user_event_service_client.js +42 -0
  27. package/build/src/v1beta/user_event_service_client_config.json +5 -0
  28. package/package.json +1 -1
@@ -18161,6 +18161,10 @@
18161
18161
  "rule": "repeated",
18162
18162
  "type": "ChunkInfo",
18163
18163
  "id": 5
18164
+ },
18165
+ "structData": {
18166
+ "type": "google.protobuf.Struct",
18167
+ "id": 6
18164
18168
  }
18165
18169
  },
18166
18170
  "nested": {
@@ -18264,7 +18268,8 @@
18264
18268
  "ADVERSARIAL_QUERY_IGNORED": 1,
18265
18269
  "NON_ANSWER_SEEKING_QUERY_IGNORED": 2,
18266
18270
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
18267
- "POTENTIAL_POLICY_VIOLATION": 4
18271
+ "POTENTIAL_POLICY_VIOLATION": 4,
18272
+ "NO_RELEVANT_CONTENT": 5
18268
18273
  }
18269
18274
  }
18270
18275
  }
@@ -18511,6 +18516,50 @@
18511
18516
  }
18512
18517
  }
18513
18518
  },
18519
+ "CompletionSuggestion": {
18520
+ "oneofs": {
18521
+ "rankingInfo": {
18522
+ "oneof": [
18523
+ "globalScore",
18524
+ "frequency"
18525
+ ]
18526
+ }
18527
+ },
18528
+ "fields": {
18529
+ "globalScore": {
18530
+ "type": "double",
18531
+ "id": 2
18532
+ },
18533
+ "frequency": {
18534
+ "type": "int64",
18535
+ "id": 3
18536
+ },
18537
+ "suggestion": {
18538
+ "type": "string",
18539
+ "id": 1,
18540
+ "options": {
18541
+ "(google.api.field_behavior)": "REQUIRED"
18542
+ }
18543
+ },
18544
+ "languageCode": {
18545
+ "type": "string",
18546
+ "id": 4
18547
+ },
18548
+ "groupId": {
18549
+ "type": "string",
18550
+ "id": 5
18551
+ },
18552
+ "groupScore": {
18553
+ "type": "double",
18554
+ "id": 6
18555
+ },
18556
+ "alternativePhrases": {
18557
+ "rule": "repeated",
18558
+ "type": "string",
18559
+ "id": 7
18560
+ }
18561
+ }
18562
+ },
18514
18563
  "CompletionService": {
18515
18564
  "options": {
18516
18565
  "(google.api.default_host)": "discoveryengine.googleapis.com",
@@ -18594,6 +18643,66 @@
18594
18643
  }
18595
18644
  }
18596
18645
  ]
18646
+ },
18647
+ "ImportCompletionSuggestions": {
18648
+ "requestType": "ImportCompletionSuggestionsRequest",
18649
+ "responseType": "google.longrunning.Operation",
18650
+ "options": {
18651
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import",
18652
+ "(google.api.http).body": "*",
18653
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import",
18654
+ "(google.api.http).additional_bindings.body": "*",
18655
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse",
18656
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata"
18657
+ },
18658
+ "parsedOptions": [
18659
+ {
18660
+ "(google.api.http)": {
18661
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:import",
18662
+ "body": "*",
18663
+ "additional_bindings": {
18664
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:import",
18665
+ "body": "*"
18666
+ }
18667
+ }
18668
+ },
18669
+ {
18670
+ "(google.longrunning.operation_info)": {
18671
+ "response_type": "google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsResponse",
18672
+ "metadata_type": "google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsMetadata"
18673
+ }
18674
+ }
18675
+ ]
18676
+ },
18677
+ "PurgeCompletionSuggestions": {
18678
+ "requestType": "PurgeCompletionSuggestionsRequest",
18679
+ "responseType": "google.longrunning.Operation",
18680
+ "options": {
18681
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge",
18682
+ "(google.api.http).body": "*",
18683
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge",
18684
+ "(google.api.http).additional_bindings.body": "*",
18685
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse",
18686
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata"
18687
+ },
18688
+ "parsedOptions": [
18689
+ {
18690
+ "(google.api.http)": {
18691
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/completionSuggestions:purge",
18692
+ "body": "*",
18693
+ "additional_bindings": {
18694
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/completionSuggestions:purge",
18695
+ "body": "*"
18696
+ }
18697
+ }
18698
+ },
18699
+ {
18700
+ "(google.longrunning.operation_info)": {
18701
+ "response_type": "google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsResponse",
18702
+ "metadata_type": "google.cloud.discoveryengine.v1beta.PurgeCompletionSuggestionsMetadata"
18703
+ }
18704
+ }
18705
+ ]
18597
18706
  }
18598
18707
  }
18599
18708
  },
@@ -18906,6 +19015,46 @@
18906
19015
  }
18907
19016
  }
18908
19017
  },
19018
+ "AlloyDbSource": {
19019
+ "fields": {
19020
+ "projectId": {
19021
+ "type": "string",
19022
+ "id": 1
19023
+ },
19024
+ "locationId": {
19025
+ "type": "string",
19026
+ "id": 2,
19027
+ "options": {
19028
+ "(google.api.field_behavior)": "REQUIRED"
19029
+ }
19030
+ },
19031
+ "clusterId": {
19032
+ "type": "string",
19033
+ "id": 3,
19034
+ "options": {
19035
+ "(google.api.field_behavior)": "REQUIRED"
19036
+ }
19037
+ },
19038
+ "databaseId": {
19039
+ "type": "string",
19040
+ "id": 4,
19041
+ "options": {
19042
+ "(google.api.field_behavior)": "REQUIRED"
19043
+ }
19044
+ },
19045
+ "tableId": {
19046
+ "type": "string",
19047
+ "id": 5,
19048
+ "options": {
19049
+ "(google.api.field_behavior)": "REQUIRED"
19050
+ }
19051
+ },
19052
+ "gcsStagingDir": {
19053
+ "type": "string",
19054
+ "id": 6
19055
+ }
19056
+ }
19057
+ },
18909
19058
  "FirestoreSource": {
18910
19059
  "fields": {
18911
19060
  "projectId": {
@@ -19074,6 +19223,7 @@
19074
19223
  "spannerSource",
19075
19224
  "cloudSqlSource",
19076
19225
  "firestoreSource",
19226
+ "alloyDbSource",
19077
19227
  "bigtableSource"
19078
19228
  ]
19079
19229
  }
@@ -19107,6 +19257,10 @@
19107
19257
  "type": "FirestoreSource",
19108
19258
  "id": 13
19109
19259
  },
19260
+ "alloyDbSource": {
19261
+ "type": "AlloyDbSource",
19262
+ "id": 14
19263
+ },
19110
19264
  "bigtableSource": {
19111
19265
  "type": "BigtableSource",
19112
19266
  "id": 15
@@ -19246,6 +19400,90 @@
19246
19400
  }
19247
19401
  }
19248
19402
  },
19403
+ "ImportCompletionSuggestionsRequest": {
19404
+ "oneofs": {
19405
+ "source": {
19406
+ "oneof": [
19407
+ "inlineSource",
19408
+ "gcsSource",
19409
+ "bigquerySource"
19410
+ ]
19411
+ }
19412
+ },
19413
+ "fields": {
19414
+ "inlineSource": {
19415
+ "type": "InlineSource",
19416
+ "id": 2
19417
+ },
19418
+ "gcsSource": {
19419
+ "type": "GcsSource",
19420
+ "id": 3
19421
+ },
19422
+ "bigquerySource": {
19423
+ "type": "BigQuerySource",
19424
+ "id": 4
19425
+ },
19426
+ "parent": {
19427
+ "type": "string",
19428
+ "id": 1,
19429
+ "options": {
19430
+ "(google.api.field_behavior)": "REQUIRED",
19431
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
19432
+ }
19433
+ },
19434
+ "errorConfig": {
19435
+ "type": "ImportErrorConfig",
19436
+ "id": 5
19437
+ }
19438
+ },
19439
+ "nested": {
19440
+ "InlineSource": {
19441
+ "fields": {
19442
+ "suggestions": {
19443
+ "rule": "repeated",
19444
+ "type": "CompletionSuggestion",
19445
+ "id": 1,
19446
+ "options": {
19447
+ "(google.api.field_behavior)": "REQUIRED"
19448
+ }
19449
+ }
19450
+ }
19451
+ }
19452
+ }
19453
+ },
19454
+ "ImportCompletionSuggestionsResponse": {
19455
+ "fields": {
19456
+ "errorSamples": {
19457
+ "rule": "repeated",
19458
+ "type": "google.rpc.Status",
19459
+ "id": 1
19460
+ },
19461
+ "errorConfig": {
19462
+ "type": "ImportErrorConfig",
19463
+ "id": 2
19464
+ }
19465
+ }
19466
+ },
19467
+ "ImportCompletionSuggestionsMetadata": {
19468
+ "fields": {
19469
+ "createTime": {
19470
+ "type": "google.protobuf.Timestamp",
19471
+ "id": 1
19472
+ },
19473
+ "updateTime": {
19474
+ "type": "google.protobuf.Timestamp",
19475
+ "id": 2
19476
+ },
19477
+ "successCount": {
19478
+ "type": "int64",
19479
+ "id": 3
19480
+ },
19481
+ "failureCount": {
19482
+ "type": "int64",
19483
+ "id": 4
19484
+ }
19485
+ }
19486
+ },
19249
19487
  "ImportSampleQueriesRequest": {
19250
19488
  "oneofs": {
19251
19489
  "source": {
@@ -19836,6 +20074,57 @@
19836
20074
  }
19837
20075
  }
19838
20076
  },
20077
+ "PurgeUserEventsRequest": {
20078
+ "fields": {
20079
+ "parent": {
20080
+ "type": "string",
20081
+ "id": 1,
20082
+ "options": {
20083
+ "(google.api.field_behavior)": "REQUIRED",
20084
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
20085
+ }
20086
+ },
20087
+ "filter": {
20088
+ "type": "string",
20089
+ "id": 2,
20090
+ "options": {
20091
+ "(google.api.field_behavior)": "REQUIRED"
20092
+ }
20093
+ },
20094
+ "force": {
20095
+ "type": "bool",
20096
+ "id": 3
20097
+ }
20098
+ }
20099
+ },
20100
+ "PurgeUserEventsResponse": {
20101
+ "fields": {
20102
+ "purgeCount": {
20103
+ "type": "int64",
20104
+ "id": 1
20105
+ }
20106
+ }
20107
+ },
20108
+ "PurgeUserEventsMetadata": {
20109
+ "fields": {
20110
+ "createTime": {
20111
+ "type": "google.protobuf.Timestamp",
20112
+ "id": 1
20113
+ },
20114
+ "updateTime": {
20115
+ "type": "google.protobuf.Timestamp",
20116
+ "id": 2
20117
+ },
20118
+ "successCount": {
20119
+ "type": "int64",
20120
+ "id": 3
20121
+ },
20122
+ "failureCount": {
20123
+ "type": "int64",
20124
+ "id": 4
20125
+ }
20126
+ }
20127
+ },
19839
20128
  "PurgeDocumentsRequest": {
19840
20129
  "fields": {
19841
20130
  "parent": {
@@ -19936,6 +20225,43 @@
19936
20225
  }
19937
20226
  }
19938
20227
  },
20228
+ "PurgeCompletionSuggestionsRequest": {
20229
+ "fields": {
20230
+ "parent": {
20231
+ "type": "string",
20232
+ "id": 1,
20233
+ "options": {
20234
+ "(google.api.field_behavior)": "REQUIRED",
20235
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
20236
+ }
20237
+ }
20238
+ }
20239
+ },
20240
+ "PurgeCompletionSuggestionsResponse": {
20241
+ "fields": {
20242
+ "purgeSucceeded": {
20243
+ "type": "bool",
20244
+ "id": 1
20245
+ },
20246
+ "errorSamples": {
20247
+ "rule": "repeated",
20248
+ "type": "google.rpc.Status",
20249
+ "id": 2
20250
+ }
20251
+ }
20252
+ },
20253
+ "PurgeCompletionSuggestionsMetadata": {
20254
+ "fields": {
20255
+ "createTime": {
20256
+ "type": "google.protobuf.Timestamp",
20257
+ "id": 1
20258
+ },
20259
+ "updateTime": {
20260
+ "type": "google.protobuf.Timestamp",
20261
+ "id": 2
20262
+ }
20263
+ }
20264
+ },
19939
20265
  "Condition": {
19940
20266
  "fields": {
19941
20267
  "queryTerms": {
@@ -20628,6 +20954,14 @@
20628
20954
  "type": "UserInfo",
20629
20955
  "id": 21
20630
20956
  },
20957
+ "languageCode": {
20958
+ "type": "string",
20959
+ "id": 35
20960
+ },
20961
+ "regionCode": {
20962
+ "type": "string",
20963
+ "id": 36
20964
+ },
20631
20965
  "facetSpecs": {
20632
20966
  "rule": "repeated",
20633
20967
  "type": "FacetSpec",
@@ -20674,6 +21008,25 @@
20674
21008
  "keyType": "string",
20675
21009
  "type": "string",
20676
21010
  "id": 22
21011
+ },
21012
+ "naturalLanguageQueryUnderstandingSpec": {
21013
+ "type": "NaturalLanguageQueryUnderstandingSpec",
21014
+ "id": 28
21015
+ },
21016
+ "searchAsYouTypeSpec": {
21017
+ "type": "SearchAsYouTypeSpec",
21018
+ "id": 31
21019
+ },
21020
+ "session": {
21021
+ "type": "string",
21022
+ "id": 41,
21023
+ "options": {
21024
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Session"
21025
+ }
21026
+ },
21027
+ "sessionSpec": {
21028
+ "type": "SessionSpec",
21029
+ "id": 42
20677
21030
  }
20678
21031
  },
20679
21032
  "nested": {
@@ -21052,6 +21405,67 @@
21052
21405
  }
21053
21406
  }
21054
21407
  }
21408
+ },
21409
+ "NaturalLanguageQueryUnderstandingSpec": {
21410
+ "fields": {
21411
+ "filterExtractionCondition": {
21412
+ "type": "FilterExtractionCondition",
21413
+ "id": 1
21414
+ },
21415
+ "geoSearchQueryDetectionFieldNames": {
21416
+ "rule": "repeated",
21417
+ "type": "string",
21418
+ "id": 2
21419
+ }
21420
+ },
21421
+ "nested": {
21422
+ "FilterExtractionCondition": {
21423
+ "values": {
21424
+ "CONDITION_UNSPECIFIED": 0,
21425
+ "DISABLED": 1,
21426
+ "ENABLED": 2
21427
+ }
21428
+ }
21429
+ }
21430
+ },
21431
+ "SearchAsYouTypeSpec": {
21432
+ "fields": {
21433
+ "condition": {
21434
+ "type": "Condition",
21435
+ "id": 1
21436
+ }
21437
+ },
21438
+ "nested": {
21439
+ "Condition": {
21440
+ "values": {
21441
+ "CONDITION_UNSPECIFIED": 0,
21442
+ "DISABLED": 1,
21443
+ "ENABLED": 2
21444
+ }
21445
+ }
21446
+ }
21447
+ },
21448
+ "SessionSpec": {
21449
+ "oneofs": {
21450
+ "_searchResultPersistenceCount": {
21451
+ "oneof": [
21452
+ "searchResultPersistenceCount"
21453
+ ]
21454
+ }
21455
+ },
21456
+ "fields": {
21457
+ "queryId": {
21458
+ "type": "string",
21459
+ "id": 1
21460
+ },
21461
+ "searchResultPersistenceCount": {
21462
+ "type": "int32",
21463
+ "id": 2,
21464
+ "options": {
21465
+ "proto3_optional": true
21466
+ }
21467
+ }
21468
+ }
21055
21469
  }
21056
21470
  }
21057
21471
  },
@@ -21108,6 +21522,14 @@
21108
21522
  "queryExpansionInfo": {
21109
21523
  "type": "QueryExpansionInfo",
21110
21524
  "id": 14
21525
+ },
21526
+ "naturalLanguageQueryUnderstandingInfo": {
21527
+ "type": "NaturalLanguageQueryUnderstandingInfo",
21528
+ "id": 15
21529
+ },
21530
+ "sessionInfo": {
21531
+ "type": "SessionInfo",
21532
+ "id": 19
21111
21533
  }
21112
21534
  },
21113
21535
  "nested": {
@@ -21335,7 +21757,8 @@
21335
21757
  "NON_SUMMARY_SEEKING_QUERY_IGNORED": 2,
21336
21758
  "OUT_OF_DOMAIN_QUERY_IGNORED": 3,
21337
21759
  "POTENTIAL_POLICY_VIOLATION": 4,
21338
- "LLM_ADDON_NOT_ENABLED": 5
21760
+ "LLM_ADDON_NOT_ENABLED": 5,
21761
+ "NO_RELEVANT_CONTENT": 6
21339
21762
  }
21340
21763
  }
21341
21764
  }
@@ -21363,6 +21786,156 @@
21363
21786
  "id": 2
21364
21787
  }
21365
21788
  }
21789
+ },
21790
+ "NaturalLanguageQueryUnderstandingInfo": {
21791
+ "fields": {
21792
+ "extractedFilters": {
21793
+ "type": "string",
21794
+ "id": 1
21795
+ },
21796
+ "rewrittenQuery": {
21797
+ "type": "string",
21798
+ "id": 2
21799
+ },
21800
+ "structuredExtractedFilter": {
21801
+ "type": "StructuredExtractedFilter",
21802
+ "id": 3
21803
+ }
21804
+ },
21805
+ "nested": {
21806
+ "StructuredExtractedFilter": {
21807
+ "fields": {
21808
+ "expression": {
21809
+ "type": "Expression",
21810
+ "id": 1
21811
+ }
21812
+ },
21813
+ "nested": {
21814
+ "StringConstraint": {
21815
+ "fields": {
21816
+ "fieldName": {
21817
+ "type": "string",
21818
+ "id": 1
21819
+ },
21820
+ "values": {
21821
+ "rule": "repeated",
21822
+ "type": "string",
21823
+ "id": 2
21824
+ }
21825
+ }
21826
+ },
21827
+ "NumberConstraint": {
21828
+ "fields": {
21829
+ "fieldName": {
21830
+ "type": "string",
21831
+ "id": 1
21832
+ },
21833
+ "comparison": {
21834
+ "type": "Comparison",
21835
+ "id": 2
21836
+ },
21837
+ "value": {
21838
+ "type": "double",
21839
+ "id": 3
21840
+ }
21841
+ },
21842
+ "nested": {
21843
+ "Comparison": {
21844
+ "values": {
21845
+ "COMPARISON_UNSPECIFIED": 0,
21846
+ "EQUALS": 1,
21847
+ "LESS_THAN_EQUALS": 2,
21848
+ "LESS_THAN": 3,
21849
+ "GREATER_THAN_EQUALS": 4,
21850
+ "GREATER_THAN": 5
21851
+ }
21852
+ }
21853
+ }
21854
+ },
21855
+ "GeolocationConstraint": {
21856
+ "fields": {
21857
+ "fieldName": {
21858
+ "type": "string",
21859
+ "id": 1
21860
+ },
21861
+ "address": {
21862
+ "type": "string",
21863
+ "id": 2
21864
+ },
21865
+ "radiusInMeters": {
21866
+ "type": "float",
21867
+ "id": 3
21868
+ }
21869
+ }
21870
+ },
21871
+ "AndExpression": {
21872
+ "fields": {
21873
+ "expressions": {
21874
+ "rule": "repeated",
21875
+ "type": "Expression",
21876
+ "id": 1
21877
+ }
21878
+ }
21879
+ },
21880
+ "OrExpression": {
21881
+ "fields": {
21882
+ "expressions": {
21883
+ "rule": "repeated",
21884
+ "type": "Expression",
21885
+ "id": 1
21886
+ }
21887
+ }
21888
+ },
21889
+ "Expression": {
21890
+ "oneofs": {
21891
+ "expr": {
21892
+ "oneof": [
21893
+ "stringConstraint",
21894
+ "numberConstraint",
21895
+ "geolocationConstraint",
21896
+ "andExpr",
21897
+ "orExpr"
21898
+ ]
21899
+ }
21900
+ },
21901
+ "fields": {
21902
+ "stringConstraint": {
21903
+ "type": "StringConstraint",
21904
+ "id": 1
21905
+ },
21906
+ "numberConstraint": {
21907
+ "type": "NumberConstraint",
21908
+ "id": 2
21909
+ },
21910
+ "geolocationConstraint": {
21911
+ "type": "GeolocationConstraint",
21912
+ "id": 3
21913
+ },
21914
+ "andExpr": {
21915
+ "type": "AndExpression",
21916
+ "id": 4
21917
+ },
21918
+ "orExpr": {
21919
+ "type": "OrExpression",
21920
+ "id": 5
21921
+ }
21922
+ }
21923
+ }
21924
+ }
21925
+ }
21926
+ }
21927
+ },
21928
+ "SessionInfo": {
21929
+ "fields": {
21930
+ "name": {
21931
+ "type": "string",
21932
+ "id": 1
21933
+ },
21934
+ "queryId": {
21935
+ "type": "string",
21936
+ "id": 2
21937
+ }
21938
+ }
21366
21939
  }
21367
21940
  }
21368
21941
  },
@@ -21974,6 +22547,11 @@
21974
22547
  "userPseudoId": {
21975
22548
  "type": "string",
21976
22549
  "id": 12
22550
+ },
22551
+ "userLabels": {
22552
+ "keyType": "string",
22553
+ "type": "string",
22554
+ "id": 13
21977
22555
  }
21978
22556
  },
21979
22557
  "nested": {
@@ -22509,11 +23087,19 @@
22509
23087
  },
22510
23088
  "createTime": {
22511
23089
  "type": "google.protobuf.Timestamp",
22512
- "id": 5
23090
+ "id": 5,
23091
+ "options": {
23092
+ "deprecated": true
23093
+ }
22513
23094
  },
22514
23095
  "trainingStartTime": {
22515
23096
  "type": "google.protobuf.Timestamp",
22516
23097
  "id": 6
23098
+ },
23099
+ "metrics": {
23100
+ "keyType": "string",
23101
+ "type": "double",
23102
+ "id": 7
22517
23103
  }
22518
23104
  },
22519
23105
  "nested": {
@@ -22524,7 +23110,8 @@
22524
23110
  "TRAINING": 2,
22525
23111
  "TRAINING_COMPLETE": 3,
22526
23112
  "READY_FOR_SERVING": 4,
22527
- "TRAINING_FAILED": 5
23113
+ "TRAINING_FAILED": 5,
23114
+ "NO_IMPROVEMENT": 6
22528
23115
  }
22529
23116
  }
22530
23117
  }
@@ -22582,6 +23169,10 @@
22582
23169
  "(google.api.field_behavior)": "OUTPUT_ONLY"
22583
23170
  }
22584
23171
  },
23172
+ "languageInfo": {
23173
+ "type": "LanguageInfo",
23174
+ "id": 14
23175
+ },
22585
23176
  "documentProcessingConfig": {
22586
23177
  "type": "DocumentProcessingConfig",
22587
23178
  "id": 27
@@ -22602,6 +23193,35 @@
22602
23193
  }
22603
23194
  }
22604
23195
  },
23196
+ "LanguageInfo": {
23197
+ "fields": {
23198
+ "languageCode": {
23199
+ "type": "string",
23200
+ "id": 1
23201
+ },
23202
+ "normalizedLanguageCode": {
23203
+ "type": "string",
23204
+ "id": 2,
23205
+ "options": {
23206
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
23207
+ }
23208
+ },
23209
+ "language": {
23210
+ "type": "string",
23211
+ "id": 3,
23212
+ "options": {
23213
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
23214
+ }
23215
+ },
23216
+ "region": {
23217
+ "type": "string",
23218
+ "id": 4,
23219
+ "options": {
23220
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
23221
+ }
23222
+ }
23223
+ }
23224
+ },
22605
23225
  "DocumentProcessingConfig": {
22606
23226
  "options": {
22607
23227
  "(google.api.resource).type": "discoveryengine.googleapis.com/DocumentProcessingConfig",
@@ -22907,6 +23527,10 @@
22907
23527
  "createAdvancedSiteSearch": {
22908
23528
  "type": "bool",
22909
23529
  "id": 4
23530
+ },
23531
+ "skipDefaultSchemaCreation": {
23532
+ "type": "bool",
23533
+ "id": 7
22910
23534
  }
22911
23535
  }
22912
23536
  },
@@ -26866,16 +27490,51 @@
26866
27490
  "responseType": "google.api.HttpBody",
26867
27491
  "options": {
26868
27492
  "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
26869
- "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
27493
+ "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*}/userEvents:collect"
26870
27494
  },
26871
27495
  "parsedOptions": [
26872
27496
  {
26873
27497
  "(google.api.http)": {
26874
27498
  "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
27499
+ "additional_bindings": [
27500
+ {
27501
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
27502
+ },
27503
+ {
27504
+ "get": "/v1beta/{parent=projects/*/locations/*}/userEvents:collect"
27505
+ }
27506
+ ]
27507
+ }
27508
+ }
27509
+ ]
27510
+ },
27511
+ "PurgeUserEvents": {
27512
+ "requestType": "PurgeUserEventsRequest",
27513
+ "responseType": "google.longrunning.Operation",
27514
+ "options": {
27515
+ "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:purge",
27516
+ "(google.api.http).body": "*",
27517
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:purge",
27518
+ "(google.api.http).additional_bindings.body": "*",
27519
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse",
27520
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata"
27521
+ },
27522
+ "parsedOptions": [
27523
+ {
27524
+ "(google.api.http)": {
27525
+ "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:purge",
27526
+ "body": "*",
26875
27527
  "additional_bindings": {
26876
- "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
27528
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:purge",
27529
+ "body": "*"
26877
27530
  }
26878
27531
  }
27532
+ },
27533
+ {
27534
+ "(google.longrunning.operation_info)": {
27535
+ "response_type": "google.cloud.discoveryengine.v1beta.PurgeUserEventsResponse",
27536
+ "metadata_type": "google.cloud.discoveryengine.v1beta.PurgeUserEventsMetadata"
27537
+ }
26879
27538
  }
26880
27539
  ]
26881
27540
  },