@google-cloud/discoveryengine 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +7 -2
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +54 -2
  4. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +2 -1
  5. package/build/protos/google/cloud/discoveryengine/v1/common.proto +35 -6
  6. package/build/protos/google/cloud/discoveryengine/v1/control.proto +113 -2
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +168 -2
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +23 -4
  9. package/build/protos/google/cloud/discoveryengine/v1/document.proto +7 -2
  10. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +16 -3
  12. package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +70 -9
  13. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +20 -1
  14. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +9 -5
  15. package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +3 -1
  16. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -2
  17. package/build/protos/google/cloud/discoveryengine/v1/safety.proto +107 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +96 -8
  19. package/build/protos/google/cloud/discoveryengine/v1/serving_config.proto +271 -0
  20. package/build/protos/google/cloud/discoveryengine/v1/serving_config_service.proto +75 -0
  21. package/build/protos/google/cloud/discoveryengine/v1/session.proto +19 -0
  22. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +27 -3
  23. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +184 -5
  24. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +34 -0
  25. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +16 -4
  26. package/build/protos/protos.d.ts +5356 -981
  27. package/build/protos/protos.js +32266 -20956
  28. package/build/protos/protos.json +1391 -74
  29. package/build/src/index.d.ts +4 -1
  30. package/build/src/index.js +4 -1
  31. package/build/src/v1/completion_service_client.d.ts +237 -0
  32. package/build/src/v1/completion_service_client.js +326 -0
  33. package/build/src/v1/completion_service_proto_list.json +3 -0
  34. package/build/src/v1/control_service_client.d.ts +237 -0
  35. package/build/src/v1/control_service_client.js +326 -0
  36. package/build/src/v1/control_service_proto_list.json +3 -0
  37. package/build/src/v1/conversational_search_service_client.d.ts +213 -6
  38. package/build/src/v1/conversational_search_service_client.js +265 -5
  39. package/build/src/v1/conversational_search_service_client_config.json +5 -0
  40. package/build/src/v1/conversational_search_service_proto_list.json +3 -0
  41. package/build/src/v1/data_store_service_client.d.ts +237 -0
  42. package/build/src/v1/data_store_service_client.js +326 -0
  43. package/build/src/v1/data_store_service_proto_list.json +3 -0
  44. package/build/src/v1/document_service_client.d.ts +244 -1
  45. package/build/src/v1/document_service_client.js +326 -0
  46. package/build/src/v1/document_service_proto_list.json +3 -0
  47. package/build/src/v1/engine_service_client.d.ts +237 -0
  48. package/build/src/v1/engine_service_client.js +326 -0
  49. package/build/src/v1/engine_service_proto_list.json +3 -0
  50. package/build/src/v1/gapic_metadata.json +59 -0
  51. package/build/src/v1/grounded_generation_service_client.d.ts +238 -3
  52. package/build/src/v1/grounded_generation_service_client.js +326 -0
  53. package/build/src/v1/grounded_generation_service_proto_list.json +3 -0
  54. package/build/src/v1/index.d.ts +1 -0
  55. package/build/src/v1/index.js +3 -1
  56. package/build/src/v1/project_service_client.d.ts +237 -0
  57. package/build/src/v1/project_service_client.js +326 -0
  58. package/build/src/v1/project_service_proto_list.json +3 -0
  59. package/build/src/v1/rank_service_client.d.ts +238 -1
  60. package/build/src/v1/rank_service_client.js +326 -0
  61. package/build/src/v1/rank_service_proto_list.json +3 -0
  62. package/build/src/v1/recommendation_service_client.d.ts +95 -2
  63. package/build/src/v1/recommendation_service_client.js +128 -0
  64. package/build/src/v1/recommendation_service_proto_list.json +3 -0
  65. package/build/src/v1/schema_service_client.d.ts +237 -0
  66. package/build/src/v1/schema_service_client.js +326 -0
  67. package/build/src/v1/schema_service_proto_list.json +3 -0
  68. package/build/src/v1/search_service_client.d.ts +219 -30
  69. package/build/src/v1/search_service_client.js +212 -20
  70. package/build/src/v1/search_service_proto_list.json +3 -0
  71. package/build/src/v1/search_tuning_service_client.d.ts +237 -0
  72. package/build/src/v1/search_tuning_service_client.js +326 -0
  73. package/build/src/v1/search_tuning_service_proto_list.json +3 -0
  74. package/build/src/v1/serving_config_service_client.d.ts +1851 -0
  75. package/build/src/v1/serving_config_service_client.js +2653 -0
  76. package/build/src/v1/serving_config_service_client_config.json +30 -0
  77. package/build/src/v1/serving_config_service_proto_list.json +39 -0
  78. package/build/src/v1/site_search_engine_service_client.d.ts +356 -3
  79. package/build/src/v1/site_search_engine_service_client.js +473 -0
  80. package/build/src/v1/site_search_engine_service_client_config.json +12 -0
  81. package/build/src/v1/site_search_engine_service_proto_list.json +3 -0
  82. package/build/src/v1/user_event_service_client.d.ts +258 -9
  83. package/build/src/v1/user_event_service_client.js +326 -0
  84. package/build/src/v1/user_event_service_proto_list.json +3 -0
  85. package/package.json +4 -4
@@ -1,4 +1,7 @@
1
1
  {
2
+ "options": {
3
+ "syntax": "proto3"
4
+ },
2
5
  "nested": {
3
6
  "google": {
4
7
  "nested": {
@@ -25,6 +28,13 @@
25
28
  "(google.api.resource).type": "discoveryengine.googleapis.com/Answer",
26
29
  "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}"
27
30
  },
31
+ "oneofs": {
32
+ "_groundingScore": {
33
+ "oneof": [
34
+ "groundingScore"
35
+ ]
36
+ }
37
+ },
28
38
  "fields": {
29
39
  "name": {
30
40
  "type": "string",
@@ -41,11 +51,26 @@
41
51
  "type": "string",
42
52
  "id": 3
43
53
  },
54
+ "groundingScore": {
55
+ "type": "double",
56
+ "id": 12,
57
+ "options": {
58
+ "proto3_optional": true
59
+ }
60
+ },
44
61
  "citations": {
45
62
  "rule": "repeated",
46
63
  "type": "Citation",
47
64
  "id": 4
48
65
  },
66
+ "groundingSupports": {
67
+ "rule": "repeated",
68
+ "type": "GroundingSupport",
69
+ "id": 13,
70
+ "options": {
71
+ "(google.api.field_behavior)": "OPTIONAL"
72
+ }
73
+ },
49
74
  "references": {
50
75
  "rule": "repeated",
51
76
  "type": "Reference",
@@ -83,6 +108,14 @@
83
108
  "options": {
84
109
  "(google.api.field_behavior)": "OUTPUT_ONLY"
85
110
  }
111
+ },
112
+ "safetyRatings": {
113
+ "rule": "repeated",
114
+ "type": "SafetyRating",
115
+ "id": 14,
116
+ "options": {
117
+ "(google.api.field_behavior)": "OPTIONAL"
118
+ }
86
119
  }
87
120
  },
88
121
  "nested": {
@@ -111,6 +144,58 @@
111
144
  }
112
145
  }
113
146
  },
147
+ "GroundingSupport": {
148
+ "oneofs": {
149
+ "_groundingScore": {
150
+ "oneof": [
151
+ "groundingScore"
152
+ ]
153
+ },
154
+ "_groundingCheckRequired": {
155
+ "oneof": [
156
+ "groundingCheckRequired"
157
+ ]
158
+ }
159
+ },
160
+ "fields": {
161
+ "startIndex": {
162
+ "type": "int64",
163
+ "id": 1,
164
+ "options": {
165
+ "(google.api.field_behavior)": "REQUIRED"
166
+ }
167
+ },
168
+ "endIndex": {
169
+ "type": "int64",
170
+ "id": 2,
171
+ "options": {
172
+ "(google.api.field_behavior)": "REQUIRED"
173
+ }
174
+ },
175
+ "groundingScore": {
176
+ "type": "double",
177
+ "id": 3,
178
+ "options": {
179
+ "proto3_optional": true
180
+ }
181
+ },
182
+ "groundingCheckRequired": {
183
+ "type": "bool",
184
+ "id": 4,
185
+ "options": {
186
+ "proto3_optional": true
187
+ }
188
+ },
189
+ "sources": {
190
+ "rule": "repeated",
191
+ "type": "CitationSource",
192
+ "id": 5,
193
+ "options": {
194
+ "(google.api.field_behavior)": "OPTIONAL"
195
+ }
196
+ }
197
+ }
198
+ },
114
199
  "Reference": {
115
200
  "oneofs": {
116
201
  "content": {
@@ -266,6 +351,20 @@
266
351
  "structData": {
267
352
  "type": "google.protobuf.Struct",
268
353
  "id": 2
354
+ },
355
+ "title": {
356
+ "type": "string",
357
+ "id": 3,
358
+ "options": {
359
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
360
+ }
361
+ },
362
+ "uri": {
363
+ "type": "string",
364
+ "id": 4,
365
+ "options": {
366
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
367
+ }
269
368
  }
270
369
  }
271
370
  }
@@ -451,7 +550,8 @@
451
550
  "STATE_UNSPECIFIED": 0,
452
551
  "IN_PROGRESS": 1,
453
552
  "FAILED": 2,
454
- "SUCCEEDED": 3
553
+ "SUCCEEDED": 3,
554
+ "STREAMING": 4
455
555
  }
456
556
  },
457
557
  "AnswerSkippedReason": {
@@ -470,6 +570,82 @@
470
570
  }
471
571
  }
472
572
  },
573
+ "HarmCategory": {
574
+ "values": {
575
+ "HARM_CATEGORY_UNSPECIFIED": 0,
576
+ "HARM_CATEGORY_HATE_SPEECH": 1,
577
+ "HARM_CATEGORY_DANGEROUS_CONTENT": 2,
578
+ "HARM_CATEGORY_HARASSMENT": 3,
579
+ "HARM_CATEGORY_SEXUALLY_EXPLICIT": 4,
580
+ "HARM_CATEGORY_CIVIC_INTEGRITY": 5
581
+ }
582
+ },
583
+ "SafetyRating": {
584
+ "fields": {
585
+ "category": {
586
+ "type": "HarmCategory",
587
+ "id": 1,
588
+ "options": {
589
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
590
+ }
591
+ },
592
+ "probability": {
593
+ "type": "HarmProbability",
594
+ "id": 2,
595
+ "options": {
596
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
597
+ }
598
+ },
599
+ "probabilityScore": {
600
+ "type": "float",
601
+ "id": 5,
602
+ "options": {
603
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
604
+ }
605
+ },
606
+ "severity": {
607
+ "type": "HarmSeverity",
608
+ "id": 6,
609
+ "options": {
610
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
611
+ }
612
+ },
613
+ "severityScore": {
614
+ "type": "float",
615
+ "id": 7,
616
+ "options": {
617
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
618
+ }
619
+ },
620
+ "blocked": {
621
+ "type": "bool",
622
+ "id": 3,
623
+ "options": {
624
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
625
+ }
626
+ }
627
+ },
628
+ "nested": {
629
+ "HarmProbability": {
630
+ "values": {
631
+ "HARM_PROBABILITY_UNSPECIFIED": 0,
632
+ "NEGLIGIBLE": 1,
633
+ "LOW": 2,
634
+ "MEDIUM": 3,
635
+ "HIGH": 4
636
+ }
637
+ },
638
+ "HarmSeverity": {
639
+ "values": {
640
+ "HARM_SEVERITY_UNSPECIFIED": 0,
641
+ "HARM_SEVERITY_NEGLIGIBLE": 1,
642
+ "HARM_SEVERITY_LOW": 2,
643
+ "HARM_SEVERITY_MEDIUM": 3,
644
+ "HARM_SEVERITY_HIGH": 4
645
+ }
646
+ }
647
+ }
648
+ },
473
649
  "Chunk": {
474
650
  "options": {
475
651
  "(google.api.resource).type": "discoveryengine.googleapis.com/Chunk",
@@ -665,6 +841,61 @@
665
841
  "userAgent": {
666
842
  "type": "string",
667
843
  "id": 2
844
+ },
845
+ "timeZone": {
846
+ "type": "string",
847
+ "id": 3,
848
+ "options": {
849
+ "(google.api.field_behavior)": "OPTIONAL"
850
+ }
851
+ }
852
+ }
853
+ },
854
+ "DoubleList": {
855
+ "fields": {
856
+ "values": {
857
+ "rule": "repeated",
858
+ "type": "double",
859
+ "id": 1
860
+ }
861
+ }
862
+ },
863
+ "SearchLinkPromotion": {
864
+ "fields": {
865
+ "title": {
866
+ "type": "string",
867
+ "id": 1,
868
+ "options": {
869
+ "(google.api.field_behavior)": "REQUIRED"
870
+ }
871
+ },
872
+ "uri": {
873
+ "type": "string",
874
+ "id": 2,
875
+ "options": {
876
+ "(google.api.field_behavior)": "OPTIONAL"
877
+ }
878
+ },
879
+ "imageUri": {
880
+ "type": "string",
881
+ "id": 3,
882
+ "options": {
883
+ "(google.api.field_behavior)": "OPTIONAL"
884
+ }
885
+ },
886
+ "description": {
887
+ "type": "string",
888
+ "id": 4,
889
+ "options": {
890
+ "(google.api.field_behavior)": "OPTIONAL"
891
+ }
892
+ },
893
+ "enabled": {
894
+ "type": "bool",
895
+ "id": 5,
896
+ "options": {
897
+ "(google.api.field_behavior)": "OPTIONAL"
898
+ }
668
899
  }
669
900
  }
670
901
  },
@@ -1159,6 +1390,13 @@
1159
1390
  "rule": "repeated",
1160
1391
  "type": "string",
1161
1392
  "id": 3
1393
+ },
1394
+ "updateFromLatestPredefinedSchema": {
1395
+ "type": "bool",
1396
+ "id": 4,
1397
+ "options": {
1398
+ "(google.api.field_behavior)": "OPTIONAL"
1399
+ }
1162
1400
  }
1163
1401
  }
1164
1402
  },
@@ -1476,6 +1714,13 @@
1476
1714
  "idField": {
1477
1715
  "type": "string",
1478
1716
  "id": 9
1717
+ },
1718
+ "forceRefreshContent": {
1719
+ "type": "bool",
1720
+ "id": 16,
1721
+ "options": {
1722
+ "(google.api.field_behavior)": "OPTIONAL"
1723
+ }
1479
1724
  }
1480
1725
  },
1481
1726
  "nested": {
@@ -1773,6 +2018,13 @@
1773
2018
  "rule": "repeated",
1774
2019
  "type": "google.rpc.Status",
1775
2020
  "id": 2
2021
+ },
2022
+ "pendingMessage": {
2023
+ "type": "string",
2024
+ "id": 3,
2025
+ "options": {
2026
+ "(google.api.field_behavior)": "IMMUTABLE"
2027
+ }
1776
2028
  }
1777
2029
  }
1778
2030
  }
@@ -1787,6 +2039,13 @@
1787
2039
  "(google.api.field_behavior)": "REQUIRED"
1788
2040
  }
1789
2041
  },
2042
+ "conversionType": {
2043
+ "type": "string",
2044
+ "id": 21,
2045
+ "options": {
2046
+ "(google.api.field_behavior)": "OPTIONAL"
2047
+ }
2048
+ },
1790
2049
  "userPseudoId": {
1791
2050
  "type": "string",
1792
2051
  "id": 2,
@@ -1875,6 +2134,14 @@
1875
2134
  "mediaInfo": {
1876
2135
  "type": "MediaInfo",
1877
2136
  "id": 18
2137
+ },
2138
+ "panels": {
2139
+ "rule": "repeated",
2140
+ "type": "PanelInfo",
2141
+ "id": 22,
2142
+ "options": {
2143
+ "(google.api.field_behavior)": "OPTIONAL"
2144
+ }
1878
2145
  }
1879
2146
  }
1880
2147
  },
@@ -2015,6 +2282,11 @@
2015
2282
  "oneof": [
2016
2283
  "quantity"
2017
2284
  ]
2285
+ },
2286
+ "_conversionValue": {
2287
+ "oneof": [
2288
+ "conversionValue"
2289
+ ]
2018
2290
  }
2019
2291
  },
2020
2292
  "fields": {
@@ -2051,6 +2323,14 @@
2051
2323
  "options": {
2052
2324
  "(google.api.field_behavior)": "OUTPUT_ONLY"
2053
2325
  }
2326
+ },
2327
+ "conversionValue": {
2328
+ "type": "float",
2329
+ "id": 7,
2330
+ "options": {
2331
+ "(google.api.field_behavior)": "OPTIONAL",
2332
+ "proto3_optional": true
2333
+ }
2054
2334
  }
2055
2335
  }
2056
2336
  },
@@ -2092,6 +2372,14 @@
2092
2372
  "options": {
2093
2373
  "proto3_optional": true
2094
2374
  }
2375
+ },
2376
+ "documents": {
2377
+ "rule": "repeated",
2378
+ "type": "DocumentInfo",
2379
+ "id": 6,
2380
+ "options": {
2381
+ "(google.api.field_behavior)": "OPTIONAL"
2382
+ }
2095
2383
  }
2096
2384
  }
2097
2385
  },
@@ -2413,7 +2701,8 @@
2413
2701
  "boostAction",
2414
2702
  "filterAction",
2415
2703
  "redirectAction",
2416
- "synonymsAction"
2704
+ "synonymsAction",
2705
+ "promoteAction"
2417
2706
  ]
2418
2707
  }
2419
2708
  },
@@ -2434,6 +2723,10 @@
2434
2723
  "type": "SynonymsAction",
2435
2724
  "id": 10
2436
2725
  },
2726
+ "promoteAction": {
2727
+ "type": "PromoteAction",
2728
+ "id": 15
2729
+ },
2437
2730
  "name": {
2438
2731
  "type": "string",
2439
2732
  "id": 1,
@@ -2476,12 +2769,34 @@
2476
2769
  },
2477
2770
  "nested": {
2478
2771
  "BoostAction": {
2772
+ "oneofs": {
2773
+ "boostSpec": {
2774
+ "oneof": [
2775
+ "fixedBoost",
2776
+ "interpolationBoostSpec"
2777
+ ]
2778
+ }
2779
+ },
2479
2780
  "fields": {
2781
+ "fixedBoost": {
2782
+ "type": "float",
2783
+ "id": 4,
2784
+ "options": {
2785
+ "(google.api.field_behavior)": "OPTIONAL"
2786
+ }
2787
+ },
2788
+ "interpolationBoostSpec": {
2789
+ "type": "InterpolationBoostSpec",
2790
+ "id": 5,
2791
+ "options": {
2792
+ "(google.api.field_behavior)": "OPTIONAL"
2793
+ }
2794
+ },
2480
2795
  "boost": {
2481
2796
  "type": "float",
2482
2797
  "id": 1,
2483
2798
  "options": {
2484
- "(google.api.field_behavior)": "REQUIRED"
2799
+ "deprecated": true
2485
2800
  }
2486
2801
  },
2487
2802
  "filter": {
@@ -2499,8 +2814,76 @@
2499
2814
  "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2500
2815
  }
2501
2816
  }
2502
- }
2503
- },
2817
+ },
2818
+ "nested": {
2819
+ "InterpolationBoostSpec": {
2820
+ "fields": {
2821
+ "fieldName": {
2822
+ "type": "string",
2823
+ "id": 1,
2824
+ "options": {
2825
+ "(google.api.field_behavior)": "OPTIONAL"
2826
+ }
2827
+ },
2828
+ "attributeType": {
2829
+ "type": "AttributeType",
2830
+ "id": 2,
2831
+ "options": {
2832
+ "(google.api.field_behavior)": "OPTIONAL"
2833
+ }
2834
+ },
2835
+ "interpolationType": {
2836
+ "type": "InterpolationType",
2837
+ "id": 3,
2838
+ "options": {
2839
+ "(google.api.field_behavior)": "OPTIONAL"
2840
+ }
2841
+ },
2842
+ "controlPoints": {
2843
+ "rule": "repeated",
2844
+ "type": "ControlPoint",
2845
+ "id": 4,
2846
+ "options": {
2847
+ "(google.api.field_behavior)": "OPTIONAL"
2848
+ }
2849
+ }
2850
+ },
2851
+ "nested": {
2852
+ "ControlPoint": {
2853
+ "fields": {
2854
+ "attributeValue": {
2855
+ "type": "string",
2856
+ "id": 1,
2857
+ "options": {
2858
+ "(google.api.field_behavior)": "OPTIONAL"
2859
+ }
2860
+ },
2861
+ "boostAmount": {
2862
+ "type": "float",
2863
+ "id": 2,
2864
+ "options": {
2865
+ "(google.api.field_behavior)": "OPTIONAL"
2866
+ }
2867
+ }
2868
+ }
2869
+ },
2870
+ "AttributeType": {
2871
+ "values": {
2872
+ "ATTRIBUTE_TYPE_UNSPECIFIED": 0,
2873
+ "NUMERICAL": 1,
2874
+ "FRESHNESS": 2
2875
+ }
2876
+ },
2877
+ "InterpolationType": {
2878
+ "values": {
2879
+ "INTERPOLATION_TYPE_UNSPECIFIED": 0,
2880
+ "LINEAR": 1
2881
+ }
2882
+ }
2883
+ }
2884
+ }
2885
+ }
2886
+ },
2504
2887
  "FilterAction": {
2505
2888
  "fields": {
2506
2889
  "filter": {
@@ -2539,6 +2922,25 @@
2539
2922
  "id": 1
2540
2923
  }
2541
2924
  }
2925
+ },
2926
+ "PromoteAction": {
2927
+ "fields": {
2928
+ "dataStore": {
2929
+ "type": "string",
2930
+ "id": 1,
2931
+ "options": {
2932
+ "(google.api.field_behavior)": "REQUIRED",
2933
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
2934
+ }
2935
+ },
2936
+ "searchLinkPromotion": {
2937
+ "type": "SearchLinkPromotion",
2938
+ "id": 2,
2939
+ "options": {
2940
+ "(google.api.field_behavior)": "REQUIRED"
2941
+ }
2942
+ }
2943
+ }
2542
2944
  }
2543
2945
  }
2544
2946
  },
@@ -3093,6 +3495,13 @@
3093
3495
  "type": "SearchAsYouTypeSpec",
3094
3496
  "id": 31
3095
3497
  },
3498
+ "displaySpec": {
3499
+ "type": "DisplaySpec",
3500
+ "id": 38,
3501
+ "options": {
3502
+ "(google.api.field_behavior)": "OPTIONAL"
3503
+ }
3504
+ },
3096
3505
  "session": {
3097
3506
  "type": "string",
3098
3507
  "id": 41,
@@ -3103,6 +3512,17 @@
3103
3512
  "sessionSpec": {
3104
3513
  "type": "SessionSpec",
3105
3514
  "id": 42
3515
+ },
3516
+ "relevanceThreshold": {
3517
+ "type": "RelevanceThreshold",
3518
+ "id": 44
3519
+ },
3520
+ "relevanceScoreSpec": {
3521
+ "type": "RelevanceScoreSpec",
3522
+ "id": 52,
3523
+ "options": {
3524
+ "(google.api.field_behavior)": "OPTIONAL"
3525
+ }
3106
3526
  }
3107
3527
  },
3108
3528
  "nested": {
@@ -3137,6 +3557,13 @@
3137
3557
  "options": {
3138
3558
  "(google.api.field_behavior)": "OPTIONAL"
3139
3559
  }
3560
+ },
3561
+ "boostSpec": {
3562
+ "type": "BoostSpec",
3563
+ "id": 6,
3564
+ "options": {
3565
+ "(google.api.field_behavior)": "OPTIONAL"
3566
+ }
3140
3567
  }
3141
3568
  }
3142
3569
  },
@@ -3488,7 +3915,25 @@
3488
3915
  "values": {
3489
3916
  "CONDITION_UNSPECIFIED": 0,
3490
3917
  "DISABLED": 1,
3491
- "ENABLED": 2
3918
+ "ENABLED": 2,
3919
+ "AUTO": 3
3920
+ }
3921
+ }
3922
+ }
3923
+ },
3924
+ "DisplaySpec": {
3925
+ "fields": {
3926
+ "matchHighlightingCondition": {
3927
+ "type": "MatchHighlightingCondition",
3928
+ "id": 1
3929
+ }
3930
+ },
3931
+ "nested": {
3932
+ "MatchHighlightingCondition": {
3933
+ "values": {
3934
+ "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED": 0,
3935
+ "MATCH_HIGHLIGHTING_DISABLED": 1,
3936
+ "MATCH_HIGHLIGHTING_ENABLED": 2
3492
3937
  }
3493
3938
  }
3494
3939
  }
@@ -3514,6 +3959,26 @@
3514
3959
  }
3515
3960
  }
3516
3961
  }
3962
+ },
3963
+ "RelevanceScoreSpec": {
3964
+ "fields": {
3965
+ "returnRelevanceScore": {
3966
+ "type": "bool",
3967
+ "id": 1,
3968
+ "options": {
3969
+ "(google.api.field_behavior)": "OPTIONAL"
3970
+ }
3971
+ }
3972
+ }
3973
+ },
3974
+ "RelevanceThreshold": {
3975
+ "values": {
3976
+ "RELEVANCE_THRESHOLD_UNSPECIFIED": 0,
3977
+ "LOWEST": 1,
3978
+ "LOW": 2,
3979
+ "MEDIUM": 3,
3980
+ "HIGH": 4
3981
+ }
3517
3982
  }
3518
3983
  }
3519
3984
  },
@@ -3560,6 +4025,11 @@
3560
4025
  "sessionInfo": {
3561
4026
  "type": "SessionInfo",
3562
4027
  "id": 19
4028
+ },
4029
+ "searchLinkPromotions": {
4030
+ "rule": "repeated",
4031
+ "type": "SearchLinkPromotion",
4032
+ "id": 23
3563
4033
  }
3564
4034
  },
3565
4035
  "nested": {
@@ -3576,6 +4046,14 @@
3576
4046
  "chunk": {
3577
4047
  "type": "Chunk",
3578
4048
  "id": 18
4049
+ },
4050
+ "modelScores": {
4051
+ "keyType": "string",
4052
+ "type": "DoubleList",
4053
+ "id": 4,
4054
+ "options": {
4055
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4056
+ }
3579
4057
  }
3580
4058
  }
3581
4059
  },
@@ -3758,7 +4236,8 @@
3758
4236
  "NO_RELEVANT_CONTENT": 6,
3759
4237
  "JAIL_BREAKING_QUERY_IGNORED": 7,
3760
4238
  "CUSTOMER_POLICY_VIOLATION": 8,
3761
- "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2": 9
4239
+ "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2": 9,
4240
+ "TIME_OUT": 10
3762
4241
  }
3763
4242
  }
3764
4243
  }
@@ -4000,6 +4479,35 @@
4000
4479
  }
4001
4480
  ]
4002
4481
  },
4482
+ "StreamAnswerQuery": {
4483
+ "requestType": "AnswerQueryRequest",
4484
+ "responseType": "AnswerQueryResponse",
4485
+ "responseStream": true,
4486
+ "options": {
4487
+ "(google.api.http).post": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:streamAnswer",
4488
+ "(google.api.http).body": "*",
4489
+ "(google.api.http).additional_bindings.post": "/v1/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:streamAnswer",
4490
+ "(google.api.http).additional_bindings.body": "*"
4491
+ },
4492
+ "parsedOptions": [
4493
+ {
4494
+ "(google.api.http)": {
4495
+ "post": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:streamAnswer",
4496
+ "body": "*",
4497
+ "additional_bindings": [
4498
+ {
4499
+ "post": "/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:streamAnswer",
4500
+ "body": "*"
4501
+ },
4502
+ {
4503
+ "post": "/v1/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:streamAnswer",
4504
+ "body": "*"
4505
+ }
4506
+ ]
4507
+ }
4508
+ }
4509
+ ]
4510
+ },
4003
4511
  "GetAnswer": {
4004
4512
  "requestType": "GetAnswerRequest",
4005
4513
  "responseType": "Answer",
@@ -4373,6 +4881,13 @@
4373
4881
  "type": "RelatedQuestionsSpec",
4374
4882
  "id": 5
4375
4883
  },
4884
+ "groundingSpec": {
4885
+ "type": "GroundingSpec",
4886
+ "id": 6,
4887
+ "options": {
4888
+ "(google.api.field_behavior)": "OPTIONAL"
4889
+ }
4890
+ },
4376
4891
  "answerGenerationSpec": {
4377
4892
  "type": "AnswerGenerationSpec",
4378
4893
  "id": 7
@@ -4400,6 +4915,13 @@
4400
4915
  "keyType": "string",
4401
4916
  "type": "string",
4402
4917
  "id": 13
4918
+ },
4919
+ "endUserSpec": {
4920
+ "type": "EndUserSpec",
4921
+ "id": 14,
4922
+ "options": {
4923
+ "(google.api.field_behavior)": "OPTIONAL"
4924
+ }
4403
4925
  }
4404
4926
  },
4405
4927
  "nested": {
@@ -4408,6 +4930,46 @@
4408
4930
  "enable": {
4409
4931
  "type": "bool",
4410
4932
  "id": 1
4933
+ },
4934
+ "safetySettings": {
4935
+ "rule": "repeated",
4936
+ "type": "SafetySetting",
4937
+ "id": 2,
4938
+ "options": {
4939
+ "(google.api.field_behavior)": "OPTIONAL"
4940
+ }
4941
+ }
4942
+ },
4943
+ "nested": {
4944
+ "SafetySetting": {
4945
+ "fields": {
4946
+ "category": {
4947
+ "type": "HarmCategory",
4948
+ "id": 1,
4949
+ "options": {
4950
+ "(google.api.field_behavior)": "REQUIRED"
4951
+ }
4952
+ },
4953
+ "threshold": {
4954
+ "type": "HarmBlockThreshold",
4955
+ "id": 2,
4956
+ "options": {
4957
+ "(google.api.field_behavior)": "REQUIRED"
4958
+ }
4959
+ }
4960
+ },
4961
+ "nested": {
4962
+ "HarmBlockThreshold": {
4963
+ "values": {
4964
+ "HARM_BLOCK_THRESHOLD_UNSPECIFIED": 0,
4965
+ "BLOCK_LOW_AND_ABOVE": 1,
4966
+ "BLOCK_MEDIUM_AND_ABOVE": 2,
4967
+ "BLOCK_ONLY_HIGH": 3,
4968
+ "BLOCK_NONE": 4,
4969
+ "OFF": 5
4970
+ }
4971
+ }
4972
+ }
4411
4973
  }
4412
4974
  }
4413
4975
  },
@@ -4419,6 +4981,33 @@
4419
4981
  }
4420
4982
  }
4421
4983
  },
4984
+ "GroundingSpec": {
4985
+ "fields": {
4986
+ "includeGroundingSupports": {
4987
+ "type": "bool",
4988
+ "id": 2,
4989
+ "options": {
4990
+ "(google.api.field_behavior)": "OPTIONAL"
4991
+ }
4992
+ },
4993
+ "filteringLevel": {
4994
+ "type": "FilteringLevel",
4995
+ "id": 3,
4996
+ "options": {
4997
+ "(google.api.field_behavior)": "OPTIONAL"
4998
+ }
4999
+ }
5000
+ },
5001
+ "nested": {
5002
+ "FilteringLevel": {
5003
+ "values": {
5004
+ "FILTERING_LEVEL_UNSPECIFIED": 0,
5005
+ "FILTERING_LEVEL_LOW": 1,
5006
+ "FILTERING_LEVEL_HIGH": 2
5007
+ }
5008
+ }
5009
+ }
5010
+ },
4422
5011
  "AnswerGenerationSpec": {
4423
5012
  "oneofs": {
4424
5013
  "_ignoreLowRelevantContent": {
@@ -4687,6 +5276,13 @@
4687
5276
  "queryRephraserSpec": {
4688
5277
  "type": "QueryRephraserSpec",
4689
5278
  "id": 2
5279
+ },
5280
+ "disableSpellCorrection": {
5281
+ "type": "bool",
5282
+ "id": 3,
5283
+ "options": {
5284
+ "(google.api.field_behavior)": "OPTIONAL"
5285
+ }
4690
5286
  }
4691
5287
  },
4692
5288
  "nested": {
@@ -4719,28 +5315,110 @@
4719
5315
  "maxRephraseSteps": {
4720
5316
  "type": "int32",
4721
5317
  "id": 2
5318
+ },
5319
+ "modelSpec": {
5320
+ "type": "ModelSpec",
5321
+ "id": 3,
5322
+ "options": {
5323
+ "(google.api.field_behavior)": "OPTIONAL"
5324
+ }
5325
+ }
5326
+ },
5327
+ "nested": {
5328
+ "ModelSpec": {
5329
+ "fields": {
5330
+ "modelType": {
5331
+ "type": "ModelType",
5332
+ "id": 1,
5333
+ "options": {
5334
+ "(google.api.field_behavior)": "OPTIONAL"
5335
+ }
5336
+ }
5337
+ },
5338
+ "nested": {
5339
+ "ModelType": {
5340
+ "values": {
5341
+ "MODEL_TYPE_UNSPECIFIED": 0,
5342
+ "SMALL": 1,
5343
+ "LARGE": 2
5344
+ }
5345
+ }
5346
+ }
4722
5347
  }
4723
5348
  }
4724
5349
  }
4725
5350
  }
4726
- }
4727
- }
4728
- },
4729
- "AnswerQueryResponse": {
4730
- "fields": {
4731
- "answer": {
4732
- "type": "Answer",
4733
- "id": 1
4734
- },
4735
- "session": {
4736
- "type": "Session",
4737
- "id": 2
4738
5351
  },
4739
- "answerQueryToken": {
4740
- "type": "string",
4741
- "id": 3
4742
- }
4743
- }
5352
+ "EndUserSpec": {
5353
+ "fields": {
5354
+ "endUserMetadata": {
5355
+ "rule": "repeated",
5356
+ "type": "EndUserMetaData",
5357
+ "id": 1,
5358
+ "options": {
5359
+ "(google.api.field_behavior)": "OPTIONAL"
5360
+ }
5361
+ }
5362
+ },
5363
+ "nested": {
5364
+ "EndUserMetaData": {
5365
+ "oneofs": {
5366
+ "content": {
5367
+ "oneof": [
5368
+ "chunkInfo"
5369
+ ]
5370
+ }
5371
+ },
5372
+ "fields": {
5373
+ "chunkInfo": {
5374
+ "type": "ChunkInfo",
5375
+ "id": 1
5376
+ }
5377
+ },
5378
+ "nested": {
5379
+ "ChunkInfo": {
5380
+ "fields": {
5381
+ "content": {
5382
+ "type": "string",
5383
+ "id": 1
5384
+ },
5385
+ "documentMetadata": {
5386
+ "type": "DocumentMetadata",
5387
+ "id": 2
5388
+ }
5389
+ },
5390
+ "nested": {
5391
+ "DocumentMetadata": {
5392
+ "fields": {
5393
+ "title": {
5394
+ "type": "string",
5395
+ "id": 1
5396
+ }
5397
+ }
5398
+ }
5399
+ }
5400
+ }
5401
+ }
5402
+ }
5403
+ }
5404
+ }
5405
+ }
5406
+ },
5407
+ "AnswerQueryResponse": {
5408
+ "fields": {
5409
+ "answer": {
5410
+ "type": "Answer",
5411
+ "id": 1
5412
+ },
5413
+ "session": {
5414
+ "type": "Session",
5415
+ "id": 2
5416
+ },
5417
+ "answerQueryToken": {
5418
+ "type": "string",
5419
+ "id": 3
5420
+ }
5421
+ }
4744
5422
  },
4745
5423
  "GetAnswerRequest": {
4746
5424
  "fields": {
@@ -4809,6 +5487,13 @@
4809
5487
  "(google.api.field_behavior)": "REQUIRED",
4810
5488
  "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Session"
4811
5489
  }
5490
+ },
5491
+ "includeAnswerDetails": {
5492
+ "type": "bool",
5493
+ "id": 2,
5494
+ "options": {
5495
+ "(google.api.field_behavior)": "OPTIONAL"
5496
+ }
4812
5497
  }
4813
5498
  }
4814
5499
  },
@@ -4866,6 +5551,13 @@
4866
5551
  "(google.api.field_behavior)": "IMMUTABLE"
4867
5552
  }
4868
5553
  },
5554
+ "displayName": {
5555
+ "type": "string",
5556
+ "id": 7,
5557
+ "options": {
5558
+ "(google.api.field_behavior)": "OPTIONAL"
5559
+ }
5560
+ },
4869
5561
  "state": {
4870
5562
  "type": "State",
4871
5563
  "id": 2
@@ -4892,6 +5584,13 @@
4892
5584
  "options": {
4893
5585
  "(google.api.field_behavior)": "OUTPUT_ONLY"
4894
5586
  }
5587
+ },
5588
+ "isPinned": {
5589
+ "type": "bool",
5590
+ "id": 8,
5591
+ "options": {
5592
+ "(google.api.field_behavior)": "OPTIONAL"
5593
+ }
4895
5594
  }
4896
5595
  },
4897
5596
  "nested": {
@@ -4907,6 +5606,13 @@
4907
5606
  "options": {
4908
5607
  "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Answer"
4909
5608
  }
5609
+ },
5610
+ "detailedAnswer": {
5611
+ "type": "Answer",
5612
+ "id": 7,
5613
+ "options": {
5614
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
5615
+ }
4910
5616
  }
4911
5617
  }
4912
5618
  },
@@ -5052,6 +5758,13 @@
5052
5758
  "(google.api.field_behavior)": "OUTPUT_ONLY"
5053
5759
  }
5054
5760
  },
5761
+ "advancedSiteSearchConfig": {
5762
+ "type": "AdvancedSiteSearchConfig",
5763
+ "id": 12,
5764
+ "options": {
5765
+ "(google.api.field_behavior)": "OPTIONAL"
5766
+ }
5767
+ },
5055
5768
  "billingEstimation": {
5056
5769
  "type": "BillingEstimation",
5057
5770
  "id": 23,
@@ -5112,6 +5825,36 @@
5112
5825
  }
5113
5826
  }
5114
5827
  },
5828
+ "AdvancedSiteSearchConfig": {
5829
+ "oneofs": {
5830
+ "_disableInitialIndex": {
5831
+ "oneof": [
5832
+ "disableInitialIndex"
5833
+ ]
5834
+ },
5835
+ "_disableAutomaticRefresh": {
5836
+ "oneof": [
5837
+ "disableAutomaticRefresh"
5838
+ ]
5839
+ }
5840
+ },
5841
+ "fields": {
5842
+ "disableInitialIndex": {
5843
+ "type": "bool",
5844
+ "id": 3,
5845
+ "options": {
5846
+ "proto3_optional": true
5847
+ }
5848
+ },
5849
+ "disableAutomaticRefresh": {
5850
+ "type": "bool",
5851
+ "id": 4,
5852
+ "options": {
5853
+ "proto3_optional": true
5854
+ }
5855
+ }
5856
+ }
5857
+ },
5115
5858
  "WorkspaceConfig": {
5116
5859
  "fields": {
5117
5860
  "type": {
@@ -5147,7 +5890,8 @@
5147
5890
  "GOOGLE_CALENDAR": 4,
5148
5891
  "GOOGLE_CHAT": 5,
5149
5892
  "GOOGLE_GROUPS": 6,
5150
- "GOOGLE_KEEP": 7
5893
+ "GOOGLE_KEEP": 7,
5894
+ "GOOGLE_PEOPLE": 8
5151
5895
  }
5152
5896
  }
5153
5897
  }
@@ -6114,6 +6858,13 @@
6114
6858
  "dialogflowAgentToLink": {
6115
6859
  "type": "string",
6116
6860
  "id": 2
6861
+ },
6862
+ "allowCrossRegion": {
6863
+ "type": "bool",
6864
+ "id": 3,
6865
+ "options": {
6866
+ "(google.api.field_behavior)": "OPTIONAL"
6867
+ }
6117
6868
  }
6118
6869
  },
6119
6870
  "nested": {
@@ -6557,6 +7308,11 @@
6557
7308
  "frequencyPenalty"
6558
7309
  ]
6559
7310
  },
7311
+ "_seed": {
7312
+ "oneof": [
7313
+ "seed"
7314
+ ]
7315
+ },
6560
7316
  "_presencePenalty": {
6561
7317
  "oneof": [
6562
7318
  "presencePenalty"
@@ -6605,6 +7361,13 @@
6605
7361
  "proto3_optional": true
6606
7362
  }
6607
7363
  },
7364
+ "seed": {
7365
+ "type": "int32",
7366
+ "id": 12,
7367
+ "options": {
7368
+ "proto3_optional": true
7369
+ }
7370
+ },
6608
7371
  "presencePenalty": {
6609
7372
  "type": "float",
6610
7373
  "id": 9,
@@ -6667,7 +7430,8 @@
6667
7430
  "oneof": [
6668
7431
  "inlineSource",
6669
7432
  "searchSource",
6670
- "googleSearchSource"
7433
+ "googleSearchSource",
7434
+ "enterpriseWebRetrievalSource"
6671
7435
  ]
6672
7436
  }
6673
7437
  },
@@ -6683,6 +7447,10 @@
6683
7447
  "googleSearchSource": {
6684
7448
  "type": "GoogleSearchSource",
6685
7449
  "id": 3
7450
+ },
7451
+ "enterpriseWebRetrievalSource": {
7452
+ "type": "EnterpriseWebRetrievalSource",
7453
+ "id": 8
6686
7454
  }
6687
7455
  },
6688
7456
  "nested": {
@@ -6733,6 +7501,9 @@
6733
7501
  }
6734
7502
  }
6735
7503
  }
7504
+ },
7505
+ "EnterpriseWebRetrievalSource": {
7506
+ "fields": {}
6736
7507
  }
6737
7508
  }
6738
7509
  },
@@ -6811,6 +7582,11 @@
6811
7582
  "rule": "repeated",
6812
7583
  "type": "GroundingSupport",
6813
7584
  "id": 2
7585
+ },
7586
+ "images": {
7587
+ "rule": "repeated",
7588
+ "type": "ImageMetadata",
7589
+ "id": 9
6814
7590
  }
6815
7591
  },
6816
7592
  "nested": {
@@ -6913,6 +7689,52 @@
6913
7689
  }
6914
7690
  }
6915
7691
  }
7692
+ },
7693
+ "ImageMetadata": {
7694
+ "fields": {
7695
+ "image": {
7696
+ "type": "Image",
7697
+ "id": 1
7698
+ },
7699
+ "thumbnail": {
7700
+ "type": "Image",
7701
+ "id": 2
7702
+ },
7703
+ "source": {
7704
+ "type": "WebsiteInfo",
7705
+ "id": 3
7706
+ }
7707
+ },
7708
+ "nested": {
7709
+ "WebsiteInfo": {
7710
+ "fields": {
7711
+ "uri": {
7712
+ "type": "string",
7713
+ "id": 1
7714
+ },
7715
+ "title": {
7716
+ "type": "string",
7717
+ "id": 2
7718
+ }
7719
+ }
7720
+ },
7721
+ "Image": {
7722
+ "fields": {
7723
+ "uri": {
7724
+ "type": "string",
7725
+ "id": 1
7726
+ },
7727
+ "width": {
7728
+ "type": "int32",
7729
+ "id": 2
7730
+ },
7731
+ "height": {
7732
+ "type": "int32",
7733
+ "id": 3
7734
+ }
7735
+ }
7736
+ }
7737
+ }
6916
7738
  }
6917
7739
  }
6918
7740
  }
@@ -6989,6 +7811,11 @@
6989
7811
  "type": "FactChunk",
6990
7812
  "id": 3
6991
7813
  },
7814
+ "citedFacts": {
7815
+ "rule": "repeated",
7816
+ "type": "CheckGroundingFactChunk",
7817
+ "id": 6
7818
+ },
6992
7819
  "claims": {
6993
7820
  "rule": "repeated",
6994
7821
  "type": "Claim",
@@ -6996,6 +7823,14 @@
6996
7823
  }
6997
7824
  },
6998
7825
  "nested": {
7826
+ "CheckGroundingFactChunk": {
7827
+ "fields": {
7828
+ "chunkText": {
7829
+ "type": "string",
7830
+ "id": 1
7831
+ }
7832
+ }
7833
+ },
6999
7834
  "Claim": {
7000
7835
  "oneofs": {
7001
7836
  "_startPos": {
@@ -7875,72 +8710,63 @@
7875
8710
  }
7876
8711
  }
7877
8712
  },
7878
- "SiteSearchEngine": {
8713
+ "ServingConfig": {
7879
8714
  "options": {
7880
- "(google.api.resource).type": "discoveryengine.googleapis.com/SiteSearchEngine",
7881
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine"
8715
+ "(google.api.resource).type": "discoveryengine.googleapis.com/ServingConfig",
8716
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}"
7882
8717
  },
7883
- "fields": {
7884
- "name": {
7885
- "type": "string",
7886
- "id": 1
8718
+ "oneofs": {
8719
+ "verticalConfig": {
8720
+ "oneof": [
8721
+ "mediaConfig",
8722
+ "genericConfig"
8723
+ ]
7887
8724
  }
7888
- }
7889
- },
7890
- "TargetSite": {
7891
- "options": {
7892
- "(google.api.resource).type": "discoveryengine.googleapis.com/TargetSite",
7893
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}"
7894
8725
  },
7895
8726
  "fields": {
8727
+ "mediaConfig": {
8728
+ "type": "MediaConfig",
8729
+ "id": 7
8730
+ },
8731
+ "genericConfig": {
8732
+ "type": "GenericConfig",
8733
+ "id": 10
8734
+ },
7896
8735
  "name": {
7897
8736
  "type": "string",
7898
8737
  "id": 1,
7899
8738
  "options": {
7900
- "(google.api.field_behavior)": "OUTPUT_ONLY"
8739
+ "(google.api.field_behavior)": "IMMUTABLE"
7901
8740
  }
7902
8741
  },
7903
- "providedUriPattern": {
8742
+ "displayName": {
7904
8743
  "type": "string",
7905
8744
  "id": 2,
7906
8745
  "options": {
7907
- "(google.api.field_behavior)": "INPUT_ONLY"
8746
+ "(google.api.field_behavior)": "REQUIRED"
7908
8747
  }
7909
8748
  },
7910
- "type": {
7911
- "type": "Type",
7912
- "id": 3
7913
- },
7914
- "exactMatch": {
7915
- "type": "bool",
7916
- "id": 6,
8749
+ "solutionType": {
8750
+ "type": "SolutionType",
8751
+ "id": 3,
7917
8752
  "options": {
7918
- "(google.api.field_behavior)": "INPUT_ONLY"
8753
+ "(google.api.field_behavior)": "IMMUTABLE"
7919
8754
  }
7920
8755
  },
7921
- "generatedUriPattern": {
8756
+ "modelId": {
7922
8757
  "type": "string",
7923
- "id": 4,
7924
- "options": {
7925
- "(google.api.field_behavior)": "OUTPUT_ONLY"
7926
- }
8758
+ "id": 4
7927
8759
  },
7928
- "rootDomainUri": {
8760
+ "diversityLevel": {
7929
8761
  "type": "string",
7930
- "id": 10,
7931
- "options": {
7932
- "(google.api.field_behavior)": "OUTPUT_ONLY"
7933
- }
8762
+ "id": 5
7934
8763
  },
7935
- "siteVerificationInfo": {
7936
- "type": "SiteVerificationInfo",
7937
- "id": 7,
7938
- "options": {
7939
- "(google.api.field_behavior)": "OUTPUT_ONLY"
7940
- }
8764
+ "rankingExpression": {
8765
+ "type": "string",
8766
+ "id": 21
7941
8767
  },
7942
- "indexingStatus": {
7943
- "type": "IndexingStatus",
8768
+ "createTime": {
8769
+ "type": "google.protobuf.Timestamp",
7944
8770
  "id": 8,
7945
8771
  "options": {
7946
8772
  "(google.api.field_behavior)": "OUTPUT_ONLY"
@@ -7948,7 +8774,232 @@
7948
8774
  },
7949
8775
  "updateTime": {
7950
8776
  "type": "google.protobuf.Timestamp",
7951
- "id": 5,
8777
+ "id": 9,
8778
+ "options": {
8779
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
8780
+ }
8781
+ },
8782
+ "filterControlIds": {
8783
+ "rule": "repeated",
8784
+ "type": "string",
8785
+ "id": 11
8786
+ },
8787
+ "boostControlIds": {
8788
+ "rule": "repeated",
8789
+ "type": "string",
8790
+ "id": 12
8791
+ },
8792
+ "redirectControlIds": {
8793
+ "rule": "repeated",
8794
+ "type": "string",
8795
+ "id": 14
8796
+ },
8797
+ "synonymsControlIds": {
8798
+ "rule": "repeated",
8799
+ "type": "string",
8800
+ "id": 15
8801
+ },
8802
+ "onewaySynonymsControlIds": {
8803
+ "rule": "repeated",
8804
+ "type": "string",
8805
+ "id": 16
8806
+ },
8807
+ "dissociateControlIds": {
8808
+ "rule": "repeated",
8809
+ "type": "string",
8810
+ "id": 17
8811
+ },
8812
+ "replacementControlIds": {
8813
+ "rule": "repeated",
8814
+ "type": "string",
8815
+ "id": 18
8816
+ },
8817
+ "ignoreControlIds": {
8818
+ "rule": "repeated",
8819
+ "type": "string",
8820
+ "id": 19
8821
+ },
8822
+ "promoteControlIds": {
8823
+ "rule": "repeated",
8824
+ "type": "string",
8825
+ "id": 26
8826
+ }
8827
+ },
8828
+ "nested": {
8829
+ "MediaConfig": {
8830
+ "oneofs": {
8831
+ "demoteContentWatched": {
8832
+ "oneof": [
8833
+ "contentWatchedPercentageThreshold",
8834
+ "contentWatchedSecondsThreshold"
8835
+ ]
8836
+ }
8837
+ },
8838
+ "fields": {
8839
+ "contentWatchedPercentageThreshold": {
8840
+ "type": "float",
8841
+ "id": 2
8842
+ },
8843
+ "contentWatchedSecondsThreshold": {
8844
+ "type": "float",
8845
+ "id": 5
8846
+ },
8847
+ "demotionEventType": {
8848
+ "type": "string",
8849
+ "id": 1
8850
+ },
8851
+ "demoteContentWatchedPastDays": {
8852
+ "type": "int32",
8853
+ "id": 37,
8854
+ "options": {
8855
+ "(google.api.field_behavior)": "OPTIONAL"
8856
+ }
8857
+ },
8858
+ "contentFreshnessCutoffDays": {
8859
+ "type": "int32",
8860
+ "id": 4
8861
+ }
8862
+ }
8863
+ },
8864
+ "GenericConfig": {
8865
+ "fields": {
8866
+ "contentSearchSpec": {
8867
+ "type": "SearchRequest.ContentSearchSpec",
8868
+ "id": 1
8869
+ }
8870
+ }
8871
+ }
8872
+ }
8873
+ },
8874
+ "ServingConfigService": {
8875
+ "options": {
8876
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
8877
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
8878
+ },
8879
+ "methods": {
8880
+ "UpdateServingConfig": {
8881
+ "requestType": "UpdateServingConfigRequest",
8882
+ "responseType": "ServingConfig",
8883
+ "options": {
8884
+ "(google.api.http).patch": "/v1/{serving_config.name=projects/*/locations/*/dataStores/*/servingConfigs/*}",
8885
+ "(google.api.http).body": "serving_config",
8886
+ "(google.api.http).additional_bindings.patch": "/v1/{serving_config.name=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}",
8887
+ "(google.api.http).additional_bindings.body": "serving_config",
8888
+ "(google.api.method_signature)": "serving_config,update_mask"
8889
+ },
8890
+ "parsedOptions": [
8891
+ {
8892
+ "(google.api.http)": {
8893
+ "patch": "/v1/{serving_config.name=projects/*/locations/*/dataStores/*/servingConfigs/*}",
8894
+ "body": "serving_config",
8895
+ "additional_bindings": [
8896
+ {
8897
+ "patch": "/v1/{serving_config.name=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}",
8898
+ "body": "serving_config"
8899
+ },
8900
+ {
8901
+ "patch": "/v1/{serving_config.name=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}",
8902
+ "body": "serving_config"
8903
+ }
8904
+ ]
8905
+ }
8906
+ },
8907
+ {
8908
+ "(google.api.method_signature)": "serving_config,update_mask"
8909
+ }
8910
+ ]
8911
+ }
8912
+ }
8913
+ },
8914
+ "UpdateServingConfigRequest": {
8915
+ "fields": {
8916
+ "servingConfig": {
8917
+ "type": "ServingConfig",
8918
+ "id": 1,
8919
+ "options": {
8920
+ "(google.api.field_behavior)": "REQUIRED"
8921
+ }
8922
+ },
8923
+ "updateMask": {
8924
+ "type": "google.protobuf.FieldMask",
8925
+ "id": 2
8926
+ }
8927
+ }
8928
+ },
8929
+ "SiteSearchEngine": {
8930
+ "options": {
8931
+ "(google.api.resource).type": "discoveryengine.googleapis.com/SiteSearchEngine",
8932
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine"
8933
+ },
8934
+ "fields": {
8935
+ "name": {
8936
+ "type": "string",
8937
+ "id": 1
8938
+ }
8939
+ }
8940
+ },
8941
+ "TargetSite": {
8942
+ "options": {
8943
+ "(google.api.resource).type": "discoveryengine.googleapis.com/TargetSite",
8944
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}"
8945
+ },
8946
+ "fields": {
8947
+ "name": {
8948
+ "type": "string",
8949
+ "id": 1,
8950
+ "options": {
8951
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
8952
+ }
8953
+ },
8954
+ "providedUriPattern": {
8955
+ "type": "string",
8956
+ "id": 2,
8957
+ "options": {
8958
+ "(google.api.field_behavior)": "INPUT_ONLY"
8959
+ }
8960
+ },
8961
+ "type": {
8962
+ "type": "Type",
8963
+ "id": 3
8964
+ },
8965
+ "exactMatch": {
8966
+ "type": "bool",
8967
+ "id": 6,
8968
+ "options": {
8969
+ "(google.api.field_behavior)": "IMMUTABLE"
8970
+ }
8971
+ },
8972
+ "generatedUriPattern": {
8973
+ "type": "string",
8974
+ "id": 4,
8975
+ "options": {
8976
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
8977
+ }
8978
+ },
8979
+ "rootDomainUri": {
8980
+ "type": "string",
8981
+ "id": 10,
8982
+ "options": {
8983
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
8984
+ }
8985
+ },
8986
+ "siteVerificationInfo": {
8987
+ "type": "SiteVerificationInfo",
8988
+ "id": 7,
8989
+ "options": {
8990
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
8991
+ }
8992
+ },
8993
+ "indexingStatus": {
8994
+ "type": "IndexingStatus",
8995
+ "id": 8,
8996
+ "options": {
8997
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
8998
+ }
8999
+ },
9000
+ "updateTime": {
9001
+ "type": "google.protobuf.Timestamp",
9002
+ "id": 5,
7952
9003
  "options": {
7953
9004
  "(google.api.field_behavior)": "OUTPUT_ONLY"
7954
9005
  }
@@ -8027,6 +9078,39 @@
8027
9078
  }
8028
9079
  }
8029
9080
  },
9081
+ "Sitemap": {
9082
+ "options": {
9083
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Sitemap",
9084
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}"
9085
+ },
9086
+ "oneofs": {
9087
+ "feed": {
9088
+ "oneof": [
9089
+ "uri"
9090
+ ]
9091
+ }
9092
+ },
9093
+ "fields": {
9094
+ "uri": {
9095
+ "type": "string",
9096
+ "id": 2
9097
+ },
9098
+ "name": {
9099
+ "type": "string",
9100
+ "id": 1,
9101
+ "options": {
9102
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
9103
+ }
9104
+ },
9105
+ "createTime": {
9106
+ "type": "google.protobuf.Timestamp",
9107
+ "id": 3,
9108
+ "options": {
9109
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
9110
+ }
9111
+ }
9112
+ }
9113
+ },
8030
9114
  "SiteSearchEngineService": {
8031
9115
  "options": {
8032
9116
  "(google.api.default_host)": "discoveryengine.googleapis.com",
@@ -8227,6 +9311,92 @@
8227
9311
  }
8228
9312
  ]
8229
9313
  },
9314
+ "CreateSitemap": {
9315
+ "requestType": "CreateSitemapRequest",
9316
+ "responseType": "google.longrunning.Operation",
9317
+ "options": {
9318
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/sitemaps",
9319
+ "(google.api.http).body": "sitemap",
9320
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/sitemaps",
9321
+ "(google.api.http).additional_bindings.body": "sitemap",
9322
+ "(google.api.method_signature)": "parent,sitemap",
9323
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.Sitemap",
9324
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.CreateSitemapMetadata"
9325
+ },
9326
+ "parsedOptions": [
9327
+ {
9328
+ "(google.api.http)": {
9329
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/sitemaps",
9330
+ "body": "sitemap",
9331
+ "additional_bindings": {
9332
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/sitemaps",
9333
+ "body": "sitemap"
9334
+ }
9335
+ }
9336
+ },
9337
+ {
9338
+ "(google.api.method_signature)": "parent,sitemap"
9339
+ },
9340
+ {
9341
+ "(google.longrunning.operation_info)": {
9342
+ "response_type": "google.cloud.discoveryengine.v1.Sitemap",
9343
+ "metadata_type": "google.cloud.discoveryengine.v1.CreateSitemapMetadata"
9344
+ }
9345
+ }
9346
+ ]
9347
+ },
9348
+ "DeleteSitemap": {
9349
+ "requestType": "DeleteSitemapRequest",
9350
+ "responseType": "google.longrunning.Operation",
9351
+ "options": {
9352
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/sitemaps/*}",
9353
+ "(google.api.http).additional_bindings.delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*}",
9354
+ "(google.api.method_signature)": "name",
9355
+ "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
9356
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.DeleteSitemapMetadata"
9357
+ },
9358
+ "parsedOptions": [
9359
+ {
9360
+ "(google.api.http)": {
9361
+ "delete": "/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/sitemaps/*}",
9362
+ "additional_bindings": {
9363
+ "delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/*}"
9364
+ }
9365
+ }
9366
+ },
9367
+ {
9368
+ "(google.api.method_signature)": "name"
9369
+ },
9370
+ {
9371
+ "(google.longrunning.operation_info)": {
9372
+ "response_type": "google.protobuf.Empty",
9373
+ "metadata_type": "google.cloud.discoveryengine.v1.DeleteSitemapMetadata"
9374
+ }
9375
+ }
9376
+ ]
9377
+ },
9378
+ "FetchSitemaps": {
9379
+ "requestType": "FetchSitemapsRequest",
9380
+ "responseType": "FetchSitemapsResponse",
9381
+ "options": {
9382
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/sitemaps:fetch",
9383
+ "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/sitemaps:fetch",
9384
+ "(google.api.method_signature)": "parent"
9385
+ },
9386
+ "parsedOptions": [
9387
+ {
9388
+ "(google.api.http)": {
9389
+ "get": "/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/sitemaps:fetch",
9390
+ "additional_bindings": {
9391
+ "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/sitemaps:fetch"
9392
+ }
9393
+ }
9394
+ },
9395
+ {
9396
+ "(google.api.method_signature)": "parent"
9397
+ }
9398
+ ]
9399
+ },
8230
9400
  "EnableAdvancedSiteSearch": {
8231
9401
  "requestType": "EnableAdvancedSiteSearchRequest",
8232
9402
  "responseType": "google.longrunning.Operation",
@@ -8537,6 +9707,125 @@
8537
9707
  }
8538
9708
  }
8539
9709
  },
9710
+ "CreateSitemapRequest": {
9711
+ "fields": {
9712
+ "parent": {
9713
+ "type": "string",
9714
+ "id": 1,
9715
+ "options": {
9716
+ "(google.api.field_behavior)": "REQUIRED",
9717
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/SiteSearchEngine"
9718
+ }
9719
+ },
9720
+ "sitemap": {
9721
+ "type": "Sitemap",
9722
+ "id": 2,
9723
+ "options": {
9724
+ "(google.api.field_behavior)": "REQUIRED"
9725
+ }
9726
+ }
9727
+ }
9728
+ },
9729
+ "DeleteSitemapRequest": {
9730
+ "fields": {
9731
+ "name": {
9732
+ "type": "string",
9733
+ "id": 1,
9734
+ "options": {
9735
+ "(google.api.field_behavior)": "REQUIRED",
9736
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Sitemap"
9737
+ }
9738
+ }
9739
+ }
9740
+ },
9741
+ "FetchSitemapsRequest": {
9742
+ "fields": {
9743
+ "parent": {
9744
+ "type": "string",
9745
+ "id": 1,
9746
+ "options": {
9747
+ "(google.api.field_behavior)": "REQUIRED",
9748
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/SiteSearchEngine"
9749
+ }
9750
+ },
9751
+ "matcher": {
9752
+ "type": "Matcher",
9753
+ "id": 2,
9754
+ "options": {
9755
+ "(google.api.field_behavior)": "OPTIONAL"
9756
+ }
9757
+ }
9758
+ },
9759
+ "nested": {
9760
+ "UrisMatcher": {
9761
+ "fields": {
9762
+ "uris": {
9763
+ "rule": "repeated",
9764
+ "type": "string",
9765
+ "id": 1
9766
+ }
9767
+ }
9768
+ },
9769
+ "Matcher": {
9770
+ "oneofs": {
9771
+ "matcher": {
9772
+ "oneof": [
9773
+ "urisMatcher"
9774
+ ]
9775
+ }
9776
+ },
9777
+ "fields": {
9778
+ "urisMatcher": {
9779
+ "type": "UrisMatcher",
9780
+ "id": 1
9781
+ }
9782
+ }
9783
+ }
9784
+ }
9785
+ },
9786
+ "CreateSitemapMetadata": {
9787
+ "fields": {
9788
+ "createTime": {
9789
+ "type": "google.protobuf.Timestamp",
9790
+ "id": 1
9791
+ },
9792
+ "updateTime": {
9793
+ "type": "google.protobuf.Timestamp",
9794
+ "id": 2
9795
+ }
9796
+ }
9797
+ },
9798
+ "DeleteSitemapMetadata": {
9799
+ "fields": {
9800
+ "createTime": {
9801
+ "type": "google.protobuf.Timestamp",
9802
+ "id": 1
9803
+ },
9804
+ "updateTime": {
9805
+ "type": "google.protobuf.Timestamp",
9806
+ "id": 2
9807
+ }
9808
+ }
9809
+ },
9810
+ "FetchSitemapsResponse": {
9811
+ "fields": {
9812
+ "sitemapsMetadata": {
9813
+ "rule": "repeated",
9814
+ "type": "SitemapMetadata",
9815
+ "id": 1
9816
+ }
9817
+ },
9818
+ "nested": {
9819
+ "SitemapMetadata": {
9820
+ "fields": {
9821
+ "sitemap": {
9822
+ "type": "Sitemap",
9823
+ "id": 1
9824
+ }
9825
+ }
9826
+ }
9827
+ }
9828
+ },
8540
9829
  "EnableAdvancedSiteSearchRequest": {
8541
9830
  "fields": {
8542
9831
  "siteSearchEngine": {
@@ -8685,6 +9974,28 @@
8685
9974
  "type": "string",
8686
9975
  "id": 3
8687
9976
  },
9977
+ "invalidUrisCount": {
9978
+ "type": "int32",
9979
+ "id": 8
9980
+ },
9981
+ "noindexUris": {
9982
+ "rule": "repeated",
9983
+ "type": "string",
9984
+ "id": 11
9985
+ },
9986
+ "noindexUrisCount": {
9987
+ "type": "int32",
9988
+ "id": 12
9989
+ },
9990
+ "urisNotMatchingTargetSites": {
9991
+ "rule": "repeated",
9992
+ "type": "string",
9993
+ "id": 9
9994
+ },
9995
+ "urisNotMatchingTargetSitesCount": {
9996
+ "type": "int32",
9997
+ "id": 10
9998
+ },
8688
9999
  "validUrisCount": {
8689
10000
  "type": "int32",
8690
10001
  "id": 4
@@ -8860,7 +10171,7 @@
8860
10171
  "options": {
8861
10172
  "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
8862
10173
  "(google.api.http).body": "*",
8863
- "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
10174
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*}/userEvents:import",
8864
10175
  "(google.api.http).additional_bindings.body": "*",
8865
10176
  "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.ImportUserEventsResponse",
8866
10177
  "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.ImportUserEventsMetadata"
@@ -8870,10 +10181,16 @@
8870
10181
  "(google.api.http)": {
8871
10182
  "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
8872
10183
  "body": "*",
8873
- "additional_bindings": {
8874
- "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
8875
- "body": "*"
8876
- }
10184
+ "additional_bindings": [
10185
+ {
10186
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
10187
+ "body": "*"
10188
+ },
10189
+ {
10190
+ "post": "/v1/{parent=projects/*/locations/*}/userEvents:import",
10191
+ "body": "*"
10192
+ }
10193
+ ]
8877
10194
  }
8878
10195
  },
8879
10196
  {