@google-cloud/discoveryengine 0.6.0 → 0.7.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 (44) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +38 -22
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +100 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +116 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/document.proto +118 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +313 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +334 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +86 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +58 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +256 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +289 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +458 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +133 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +54 -0
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +29 -4
  16. package/build/protos/protos.d.ts +6589 -0
  17. package/build/protos/protos.js +16050 -1
  18. package/build/protos/protos.json +1807 -0
  19. package/build/src/index.d.ts +18 -19
  20. package/build/src/index.js +9 -9
  21. package/build/src/v1/completion_service_client.d.ts +455 -0
  22. package/build/src/v1/completion_service_client.js +659 -0
  23. package/build/src/v1/completion_service_client_config.json +43 -0
  24. package/build/src/v1/document_service_client.d.ts +995 -0
  25. package/build/src/v1/document_service_client.js +1191 -0
  26. package/build/src/v1/document_service_client_config.json +82 -0
  27. package/build/src/v1/index.d.ts +5 -0
  28. package/build/src/v1/index.js +31 -0
  29. package/build/src/v1/schema_service_client.d.ts +795 -0
  30. package/build/src/v1/schema_service_client.js +1129 -0
  31. package/build/src/v1/schema_service_client_config.json +63 -0
  32. package/build/src/v1/search_service_client.d.ts +857 -0
  33. package/build/src/v1/search_service_client.js +1073 -0
  34. package/build/src/v1/search_service_client_config.json +43 -0
  35. package/build/src/v1/user_event_service_client.d.ts +638 -0
  36. package/build/src/v1/user_event_service_client.js +933 -0
  37. package/build/src/v1/user_event_service_client_config.json +62 -0
  38. package/build/src/v1beta/document_service_client.d.ts +52 -0
  39. package/build/src/v1beta/document_service_client.js +6 -0
  40. package/build/src/v1beta/schema_service_client.js +6 -0
  41. package/build/src/v1beta/search_service_client.d.ts +78 -12
  42. package/build/src/v1beta/search_service_client.js +52 -8
  43. package/build/src/v1beta/user_event_service_client.js +6 -0
  44. package/package.json +2 -2
@@ -6,6 +6,1792 @@
6
6
  "nested": {
7
7
  "discoveryengine": {
8
8
  "nested": {
9
+ "v1": {
10
+ "options": {
11
+ "csharp_namespace": "Google.Cloud.DiscoveryEngine.V1",
12
+ "go_package": "cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb",
13
+ "java_multiple_files": true,
14
+ "java_outer_classname": "UserEventServiceProto",
15
+ "java_package": "com.google.cloud.discoveryengine.v1",
16
+ "objc_class_prefix": "DISCOVERYENGINE",
17
+ "php_namespace": "Google\\Cloud\\DiscoveryEngine\\V1",
18
+ "ruby_package": "Google::Cloud::DiscoveryEngine::V1",
19
+ "(google.api.resource_definition).type": "discoveryengine.googleapis.com/ServingConfig",
20
+ "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}"
21
+ },
22
+ "nested": {
23
+ "CustomAttribute": {
24
+ "fields": {
25
+ "text": {
26
+ "rule": "repeated",
27
+ "type": "string",
28
+ "id": 1
29
+ },
30
+ "numbers": {
31
+ "rule": "repeated",
32
+ "type": "double",
33
+ "id": 2
34
+ }
35
+ }
36
+ },
37
+ "UserInfo": {
38
+ "fields": {
39
+ "userId": {
40
+ "type": "string",
41
+ "id": 1
42
+ },
43
+ "userAgent": {
44
+ "type": "string",
45
+ "id": 2
46
+ }
47
+ }
48
+ },
49
+ "CompletionService": {
50
+ "options": {
51
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
52
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
53
+ },
54
+ "methods": {
55
+ "CompleteQuery": {
56
+ "requestType": "CompleteQueryRequest",
57
+ "responseType": "CompleteQueryResponse",
58
+ "options": {
59
+ "(google.api.http).get": "/v1/{data_store=projects/*/locations/*/dataStores/*}:completeQuery",
60
+ "(google.api.http).additional_bindings.get": "/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery"
61
+ },
62
+ "parsedOptions": [
63
+ {
64
+ "(google.api.http)": {
65
+ "get": "/v1/{data_store=projects/*/locations/*/dataStores/*}:completeQuery",
66
+ "additional_bindings": {
67
+ "get": "/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery"
68
+ }
69
+ }
70
+ }
71
+ ]
72
+ }
73
+ }
74
+ },
75
+ "CompleteQueryRequest": {
76
+ "fields": {
77
+ "dataStore": {
78
+ "type": "string",
79
+ "id": 1,
80
+ "options": {
81
+ "(google.api.field_behavior)": "REQUIRED",
82
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
83
+ }
84
+ },
85
+ "query": {
86
+ "type": "string",
87
+ "id": 2,
88
+ "options": {
89
+ "(google.api.field_behavior)": "REQUIRED"
90
+ }
91
+ },
92
+ "queryModel": {
93
+ "type": "string",
94
+ "id": 3
95
+ },
96
+ "userPseudoId": {
97
+ "type": "string",
98
+ "id": 4
99
+ }
100
+ }
101
+ },
102
+ "CompleteQueryResponse": {
103
+ "fields": {
104
+ "querySuggestions": {
105
+ "rule": "repeated",
106
+ "type": "QuerySuggestion",
107
+ "id": 1
108
+ }
109
+ },
110
+ "nested": {
111
+ "QuerySuggestion": {
112
+ "fields": {
113
+ "suggestion": {
114
+ "type": "string",
115
+ "id": 1
116
+ }
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "Document": {
122
+ "options": {
123
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
124
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
125
+ },
126
+ "oneofs": {
127
+ "data": {
128
+ "oneof": [
129
+ "structData",
130
+ "jsonData"
131
+ ]
132
+ }
133
+ },
134
+ "fields": {
135
+ "structData": {
136
+ "type": "google.protobuf.Struct",
137
+ "id": 4
138
+ },
139
+ "jsonData": {
140
+ "type": "string",
141
+ "id": 5
142
+ },
143
+ "name": {
144
+ "type": "string",
145
+ "id": 1,
146
+ "options": {
147
+ "(google.api.field_behavior)": "IMMUTABLE"
148
+ }
149
+ },
150
+ "id": {
151
+ "type": "string",
152
+ "id": 2,
153
+ "options": {
154
+ "(google.api.field_behavior)": "IMMUTABLE"
155
+ }
156
+ },
157
+ "schemaId": {
158
+ "type": "string",
159
+ "id": 3
160
+ },
161
+ "content": {
162
+ "type": "Content",
163
+ "id": 10
164
+ },
165
+ "parentDocumentId": {
166
+ "type": "string",
167
+ "id": 7
168
+ },
169
+ "derivedStructData": {
170
+ "type": "google.protobuf.Struct",
171
+ "id": 6,
172
+ "options": {
173
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
174
+ }
175
+ }
176
+ },
177
+ "nested": {
178
+ "Content": {
179
+ "oneofs": {
180
+ "content": {
181
+ "oneof": [
182
+ "rawBytes",
183
+ "uri"
184
+ ]
185
+ }
186
+ },
187
+ "fields": {
188
+ "rawBytes": {
189
+ "type": "bytes",
190
+ "id": 2
191
+ },
192
+ "uri": {
193
+ "type": "string",
194
+ "id": 3
195
+ },
196
+ "mimeType": {
197
+ "type": "string",
198
+ "id": 1
199
+ }
200
+ }
201
+ }
202
+ }
203
+ },
204
+ "DocumentService": {
205
+ "options": {
206
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
207
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
208
+ },
209
+ "methods": {
210
+ "GetDocument": {
211
+ "requestType": "GetDocumentRequest",
212
+ "responseType": "Document",
213
+ "options": {
214
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
215
+ "(google.api.http).additional_bindings.get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
216
+ "(google.api.method_signature)": "name"
217
+ },
218
+ "parsedOptions": [
219
+ {
220
+ "(google.api.http)": {
221
+ "get": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
222
+ "additional_bindings": {
223
+ "get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
224
+ }
225
+ }
226
+ },
227
+ {
228
+ "(google.api.method_signature)": "name"
229
+ }
230
+ ]
231
+ },
232
+ "ListDocuments": {
233
+ "requestType": "ListDocumentsRequest",
234
+ "responseType": "ListDocumentsResponse",
235
+ "options": {
236
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
237
+ "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
238
+ "(google.api.method_signature)": "parent"
239
+ },
240
+ "parsedOptions": [
241
+ {
242
+ "(google.api.http)": {
243
+ "get": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
244
+ "additional_bindings": {
245
+ "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents"
246
+ }
247
+ }
248
+ },
249
+ {
250
+ "(google.api.method_signature)": "parent"
251
+ }
252
+ ]
253
+ },
254
+ "CreateDocument": {
255
+ "requestType": "CreateDocumentRequest",
256
+ "responseType": "Document",
257
+ "options": {
258
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
259
+ "(google.api.http).body": "document",
260
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
261
+ "(google.api.http).additional_bindings.body": "document",
262
+ "(google.api.method_signature)": "parent,document,document_id"
263
+ },
264
+ "parsedOptions": [
265
+ {
266
+ "(google.api.http)": {
267
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
268
+ "body": "document",
269
+ "additional_bindings": {
270
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
271
+ "body": "document"
272
+ }
273
+ }
274
+ },
275
+ {
276
+ "(google.api.method_signature)": "parent,document,document_id"
277
+ }
278
+ ]
279
+ },
280
+ "UpdateDocument": {
281
+ "requestType": "UpdateDocumentRequest",
282
+ "responseType": "Document",
283
+ "options": {
284
+ "(google.api.http).patch": "/v1/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
285
+ "(google.api.http).body": "document",
286
+ "(google.api.http).additional_bindings.patch": "/v1/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
287
+ "(google.api.http).additional_bindings.body": "document"
288
+ },
289
+ "parsedOptions": [
290
+ {
291
+ "(google.api.http)": {
292
+ "patch": "/v1/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
293
+ "body": "document",
294
+ "additional_bindings": {
295
+ "patch": "/v1/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
296
+ "body": "document"
297
+ }
298
+ }
299
+ }
300
+ ]
301
+ },
302
+ "DeleteDocument": {
303
+ "requestType": "DeleteDocumentRequest",
304
+ "responseType": "google.protobuf.Empty",
305
+ "options": {
306
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
307
+ "(google.api.http).additional_bindings.delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
308
+ "(google.api.method_signature)": "name"
309
+ },
310
+ "parsedOptions": [
311
+ {
312
+ "(google.api.http)": {
313
+ "delete": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
314
+ "additional_bindings": {
315
+ "delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
316
+ }
317
+ }
318
+ },
319
+ {
320
+ "(google.api.method_signature)": "name"
321
+ }
322
+ ]
323
+ },
324
+ "ImportDocuments": {
325
+ "requestType": "ImportDocumentsRequest",
326
+ "responseType": "google.longrunning.Operation",
327
+ "options": {
328
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
329
+ "(google.api.http).body": "*",
330
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
331
+ "(google.api.http).additional_bindings.body": "*",
332
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.ImportDocumentsResponse",
333
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.ImportDocumentsMetadata"
334
+ },
335
+ "parsedOptions": [
336
+ {
337
+ "(google.api.http)": {
338
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
339
+ "body": "*",
340
+ "additional_bindings": {
341
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
342
+ "body": "*"
343
+ }
344
+ }
345
+ },
346
+ {
347
+ "(google.longrunning.operation_info)": {
348
+ "response_type": "google.cloud.discoveryengine.v1.ImportDocumentsResponse",
349
+ "metadata_type": "google.cloud.discoveryengine.v1.ImportDocumentsMetadata"
350
+ }
351
+ }
352
+ ]
353
+ },
354
+ "PurgeDocuments": {
355
+ "requestType": "PurgeDocumentsRequest",
356
+ "responseType": "google.longrunning.Operation",
357
+ "options": {
358
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge",
359
+ "(google.api.http).body": "*",
360
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge",
361
+ "(google.api.http).additional_bindings.body": "*",
362
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.PurgeDocumentsResponse",
363
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.PurgeDocumentsMetadata"
364
+ },
365
+ "parsedOptions": [
366
+ {
367
+ "(google.api.http)": {
368
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge",
369
+ "body": "*",
370
+ "additional_bindings": {
371
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge",
372
+ "body": "*"
373
+ }
374
+ }
375
+ },
376
+ {
377
+ "(google.longrunning.operation_info)": {
378
+ "response_type": "google.cloud.discoveryengine.v1.PurgeDocumentsResponse",
379
+ "metadata_type": "google.cloud.discoveryengine.v1.PurgeDocumentsMetadata"
380
+ }
381
+ }
382
+ ]
383
+ }
384
+ }
385
+ },
386
+ "GetDocumentRequest": {
387
+ "fields": {
388
+ "name": {
389
+ "type": "string",
390
+ "id": 1,
391
+ "options": {
392
+ "(google.api.field_behavior)": "REQUIRED",
393
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
394
+ }
395
+ }
396
+ }
397
+ },
398
+ "ListDocumentsRequest": {
399
+ "fields": {
400
+ "parent": {
401
+ "type": "string",
402
+ "id": 1,
403
+ "options": {
404
+ "(google.api.field_behavior)": "REQUIRED",
405
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
406
+ }
407
+ },
408
+ "pageSize": {
409
+ "type": "int32",
410
+ "id": 2
411
+ },
412
+ "pageToken": {
413
+ "type": "string",
414
+ "id": 3
415
+ }
416
+ }
417
+ },
418
+ "ListDocumentsResponse": {
419
+ "fields": {
420
+ "documents": {
421
+ "rule": "repeated",
422
+ "type": "Document",
423
+ "id": 1
424
+ },
425
+ "nextPageToken": {
426
+ "type": "string",
427
+ "id": 2
428
+ }
429
+ }
430
+ },
431
+ "CreateDocumentRequest": {
432
+ "fields": {
433
+ "parent": {
434
+ "type": "string",
435
+ "id": 1,
436
+ "options": {
437
+ "(google.api.field_behavior)": "REQUIRED",
438
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
439
+ }
440
+ },
441
+ "document": {
442
+ "type": "Document",
443
+ "id": 2,
444
+ "options": {
445
+ "(google.api.field_behavior)": "REQUIRED"
446
+ }
447
+ },
448
+ "documentId": {
449
+ "type": "string",
450
+ "id": 3,
451
+ "options": {
452
+ "(google.api.field_behavior)": "REQUIRED"
453
+ }
454
+ }
455
+ }
456
+ },
457
+ "UpdateDocumentRequest": {
458
+ "fields": {
459
+ "document": {
460
+ "type": "Document",
461
+ "id": 1,
462
+ "options": {
463
+ "(google.api.field_behavior)": "REQUIRED"
464
+ }
465
+ },
466
+ "allowMissing": {
467
+ "type": "bool",
468
+ "id": 2
469
+ }
470
+ }
471
+ },
472
+ "DeleteDocumentRequest": {
473
+ "fields": {
474
+ "name": {
475
+ "type": "string",
476
+ "id": 1,
477
+ "options": {
478
+ "(google.api.field_behavior)": "REQUIRED",
479
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
480
+ }
481
+ }
482
+ }
483
+ },
484
+ "GcsSource": {
485
+ "fields": {
486
+ "inputUris": {
487
+ "rule": "repeated",
488
+ "type": "string",
489
+ "id": 1,
490
+ "options": {
491
+ "(google.api.field_behavior)": "REQUIRED"
492
+ }
493
+ },
494
+ "dataSchema": {
495
+ "type": "string",
496
+ "id": 2
497
+ }
498
+ }
499
+ },
500
+ "BigQuerySource": {
501
+ "oneofs": {
502
+ "partition": {
503
+ "oneof": [
504
+ "partitionDate"
505
+ ]
506
+ }
507
+ },
508
+ "fields": {
509
+ "partitionDate": {
510
+ "type": "google.type.Date",
511
+ "id": 5
512
+ },
513
+ "projectId": {
514
+ "type": "string",
515
+ "id": 1
516
+ },
517
+ "datasetId": {
518
+ "type": "string",
519
+ "id": 2,
520
+ "options": {
521
+ "(google.api.field_behavior)": "REQUIRED"
522
+ }
523
+ },
524
+ "tableId": {
525
+ "type": "string",
526
+ "id": 3,
527
+ "options": {
528
+ "(google.api.field_behavior)": "REQUIRED"
529
+ }
530
+ },
531
+ "gcsStagingDir": {
532
+ "type": "string",
533
+ "id": 4
534
+ },
535
+ "dataSchema": {
536
+ "type": "string",
537
+ "id": 6
538
+ }
539
+ }
540
+ },
541
+ "ImportErrorConfig": {
542
+ "oneofs": {
543
+ "destination": {
544
+ "oneof": [
545
+ "gcsPrefix"
546
+ ]
547
+ }
548
+ },
549
+ "fields": {
550
+ "gcsPrefix": {
551
+ "type": "string",
552
+ "id": 1
553
+ }
554
+ }
555
+ },
556
+ "ImportUserEventsRequest": {
557
+ "oneofs": {
558
+ "source": {
559
+ "oneof": [
560
+ "inlineSource",
561
+ "gcsSource",
562
+ "bigquerySource"
563
+ ]
564
+ }
565
+ },
566
+ "fields": {
567
+ "inlineSource": {
568
+ "type": "InlineSource",
569
+ "id": 2,
570
+ "options": {
571
+ "(google.api.field_behavior)": "REQUIRED"
572
+ }
573
+ },
574
+ "gcsSource": {
575
+ "type": "GcsSource",
576
+ "id": 3,
577
+ "options": {
578
+ "(google.api.field_behavior)": "REQUIRED"
579
+ }
580
+ },
581
+ "bigquerySource": {
582
+ "type": "BigQuerySource",
583
+ "id": 4,
584
+ "options": {
585
+ "(google.api.field_behavior)": "REQUIRED"
586
+ }
587
+ },
588
+ "parent": {
589
+ "type": "string",
590
+ "id": 1,
591
+ "options": {
592
+ "(google.api.field_behavior)": "REQUIRED",
593
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
594
+ }
595
+ },
596
+ "errorConfig": {
597
+ "type": "ImportErrorConfig",
598
+ "id": 5
599
+ }
600
+ },
601
+ "nested": {
602
+ "InlineSource": {
603
+ "fields": {
604
+ "userEvents": {
605
+ "rule": "repeated",
606
+ "type": "UserEvent",
607
+ "id": 1,
608
+ "options": {
609
+ "(google.api.field_behavior)": "REQUIRED"
610
+ }
611
+ }
612
+ }
613
+ }
614
+ }
615
+ },
616
+ "ImportUserEventsResponse": {
617
+ "fields": {
618
+ "errorSamples": {
619
+ "rule": "repeated",
620
+ "type": "google.rpc.Status",
621
+ "id": 1
622
+ },
623
+ "errorConfig": {
624
+ "type": "ImportErrorConfig",
625
+ "id": 2
626
+ },
627
+ "joinedEventsCount": {
628
+ "type": "int64",
629
+ "id": 3
630
+ },
631
+ "unjoinedEventsCount": {
632
+ "type": "int64",
633
+ "id": 4
634
+ }
635
+ }
636
+ },
637
+ "ImportUserEventsMetadata": {
638
+ "fields": {
639
+ "createTime": {
640
+ "type": "google.protobuf.Timestamp",
641
+ "id": 1
642
+ },
643
+ "updateTime": {
644
+ "type": "google.protobuf.Timestamp",
645
+ "id": 2
646
+ },
647
+ "successCount": {
648
+ "type": "int64",
649
+ "id": 3
650
+ },
651
+ "failureCount": {
652
+ "type": "int64",
653
+ "id": 4
654
+ }
655
+ }
656
+ },
657
+ "ImportDocumentsMetadata": {
658
+ "fields": {
659
+ "createTime": {
660
+ "type": "google.protobuf.Timestamp",
661
+ "id": 1
662
+ },
663
+ "updateTime": {
664
+ "type": "google.protobuf.Timestamp",
665
+ "id": 2
666
+ },
667
+ "successCount": {
668
+ "type": "int64",
669
+ "id": 3
670
+ },
671
+ "failureCount": {
672
+ "type": "int64",
673
+ "id": 4
674
+ }
675
+ }
676
+ },
677
+ "ImportDocumentsRequest": {
678
+ "oneofs": {
679
+ "source": {
680
+ "oneof": [
681
+ "inlineSource",
682
+ "gcsSource",
683
+ "bigquerySource"
684
+ ]
685
+ }
686
+ },
687
+ "fields": {
688
+ "inlineSource": {
689
+ "type": "InlineSource",
690
+ "id": 2
691
+ },
692
+ "gcsSource": {
693
+ "type": "GcsSource",
694
+ "id": 3
695
+ },
696
+ "bigquerySource": {
697
+ "type": "BigQuerySource",
698
+ "id": 4
699
+ },
700
+ "parent": {
701
+ "type": "string",
702
+ "id": 1,
703
+ "options": {
704
+ "(google.api.field_behavior)": "REQUIRED",
705
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
706
+ }
707
+ },
708
+ "errorConfig": {
709
+ "type": "ImportErrorConfig",
710
+ "id": 5
711
+ },
712
+ "reconciliationMode": {
713
+ "type": "ReconciliationMode",
714
+ "id": 6
715
+ },
716
+ "autoGenerateIds": {
717
+ "type": "bool",
718
+ "id": 8
719
+ },
720
+ "idField": {
721
+ "type": "string",
722
+ "id": 9
723
+ }
724
+ },
725
+ "nested": {
726
+ "InlineSource": {
727
+ "fields": {
728
+ "documents": {
729
+ "rule": "repeated",
730
+ "type": "Document",
731
+ "id": 1,
732
+ "options": {
733
+ "(google.api.field_behavior)": "REQUIRED"
734
+ }
735
+ }
736
+ }
737
+ },
738
+ "ReconciliationMode": {
739
+ "values": {
740
+ "RECONCILIATION_MODE_UNSPECIFIED": 0,
741
+ "INCREMENTAL": 1,
742
+ "FULL": 2
743
+ }
744
+ }
745
+ }
746
+ },
747
+ "ImportDocumentsResponse": {
748
+ "fields": {
749
+ "errorSamples": {
750
+ "rule": "repeated",
751
+ "type": "google.rpc.Status",
752
+ "id": 1
753
+ },
754
+ "errorConfig": {
755
+ "type": "ImportErrorConfig",
756
+ "id": 2
757
+ }
758
+ }
759
+ },
760
+ "UserEvent": {
761
+ "fields": {
762
+ "eventType": {
763
+ "type": "string",
764
+ "id": 1,
765
+ "options": {
766
+ "(google.api.field_behavior)": "REQUIRED"
767
+ }
768
+ },
769
+ "userPseudoId": {
770
+ "type": "string",
771
+ "id": 2,
772
+ "options": {
773
+ "(google.api.field_behavior)": "REQUIRED"
774
+ }
775
+ },
776
+ "eventTime": {
777
+ "type": "google.protobuf.Timestamp",
778
+ "id": 3
779
+ },
780
+ "userInfo": {
781
+ "type": "UserInfo",
782
+ "id": 4
783
+ },
784
+ "directUserRequest": {
785
+ "type": "bool",
786
+ "id": 5
787
+ },
788
+ "sessionId": {
789
+ "type": "string",
790
+ "id": 6
791
+ },
792
+ "pageInfo": {
793
+ "type": "PageInfo",
794
+ "id": 7
795
+ },
796
+ "attributionToken": {
797
+ "type": "string",
798
+ "id": 8
799
+ },
800
+ "filter": {
801
+ "type": "string",
802
+ "id": 9
803
+ },
804
+ "documents": {
805
+ "rule": "repeated",
806
+ "type": "DocumentInfo",
807
+ "id": 10
808
+ },
809
+ "panel": {
810
+ "type": "PanelInfo",
811
+ "id": 11
812
+ },
813
+ "searchInfo": {
814
+ "type": "SearchInfo",
815
+ "id": 12
816
+ },
817
+ "completionInfo": {
818
+ "type": "CompletionInfo",
819
+ "id": 13
820
+ },
821
+ "transactionInfo": {
822
+ "type": "TransactionInfo",
823
+ "id": 14
824
+ },
825
+ "tagIds": {
826
+ "rule": "repeated",
827
+ "type": "string",
828
+ "id": 15
829
+ },
830
+ "promotionIds": {
831
+ "rule": "repeated",
832
+ "type": "string",
833
+ "id": 16
834
+ },
835
+ "attributes": {
836
+ "keyType": "string",
837
+ "type": "CustomAttribute",
838
+ "id": 17
839
+ },
840
+ "mediaInfo": {
841
+ "type": "MediaInfo",
842
+ "id": 18
843
+ }
844
+ }
845
+ },
846
+ "PageInfo": {
847
+ "fields": {
848
+ "pageviewId": {
849
+ "type": "string",
850
+ "id": 1
851
+ },
852
+ "pageCategory": {
853
+ "type": "string",
854
+ "id": 2
855
+ },
856
+ "uri": {
857
+ "type": "string",
858
+ "id": 3
859
+ },
860
+ "referrerUri": {
861
+ "type": "string",
862
+ "id": 4
863
+ }
864
+ }
865
+ },
866
+ "SearchInfo": {
867
+ "oneofs": {
868
+ "_offset": {
869
+ "oneof": [
870
+ "offset"
871
+ ]
872
+ }
873
+ },
874
+ "fields": {
875
+ "searchQuery": {
876
+ "type": "string",
877
+ "id": 1
878
+ },
879
+ "orderBy": {
880
+ "type": "string",
881
+ "id": 2
882
+ },
883
+ "offset": {
884
+ "type": "int32",
885
+ "id": 3,
886
+ "options": {
887
+ "proto3_optional": true
888
+ }
889
+ }
890
+ }
891
+ },
892
+ "CompletionInfo": {
893
+ "fields": {
894
+ "selectedSuggestion": {
895
+ "type": "string",
896
+ "id": 1
897
+ },
898
+ "selectedPosition": {
899
+ "type": "int32",
900
+ "id": 2
901
+ }
902
+ }
903
+ },
904
+ "TransactionInfo": {
905
+ "oneofs": {
906
+ "_value": {
907
+ "oneof": [
908
+ "value"
909
+ ]
910
+ },
911
+ "_tax": {
912
+ "oneof": [
913
+ "tax"
914
+ ]
915
+ },
916
+ "_cost": {
917
+ "oneof": [
918
+ "cost"
919
+ ]
920
+ },
921
+ "_discountValue": {
922
+ "oneof": [
923
+ "discountValue"
924
+ ]
925
+ }
926
+ },
927
+ "fields": {
928
+ "value": {
929
+ "type": "float",
930
+ "id": 1,
931
+ "options": {
932
+ "(google.api.field_behavior)": "REQUIRED",
933
+ "proto3_optional": true
934
+ }
935
+ },
936
+ "currency": {
937
+ "type": "string",
938
+ "id": 2,
939
+ "options": {
940
+ "(google.api.field_behavior)": "REQUIRED"
941
+ }
942
+ },
943
+ "transactionId": {
944
+ "type": "string",
945
+ "id": 3
946
+ },
947
+ "tax": {
948
+ "type": "float",
949
+ "id": 4,
950
+ "options": {
951
+ "proto3_optional": true
952
+ }
953
+ },
954
+ "cost": {
955
+ "type": "float",
956
+ "id": 5,
957
+ "options": {
958
+ "proto3_optional": true
959
+ }
960
+ },
961
+ "discountValue": {
962
+ "type": "float",
963
+ "id": 6,
964
+ "options": {
965
+ "proto3_optional": true
966
+ }
967
+ }
968
+ }
969
+ },
970
+ "DocumentInfo": {
971
+ "oneofs": {
972
+ "documentDescriptor": {
973
+ "oneof": [
974
+ "id",
975
+ "name"
976
+ ]
977
+ },
978
+ "_quantity": {
979
+ "oneof": [
980
+ "quantity"
981
+ ]
982
+ }
983
+ },
984
+ "fields": {
985
+ "id": {
986
+ "type": "string",
987
+ "id": 1,
988
+ "options": {
989
+ "(google.api.field_behavior)": "REQUIRED"
990
+ }
991
+ },
992
+ "name": {
993
+ "type": "string",
994
+ "id": 2,
995
+ "options": {
996
+ "(google.api.field_behavior)": "REQUIRED",
997
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
998
+ }
999
+ },
1000
+ "quantity": {
1001
+ "type": "int32",
1002
+ "id": 3,
1003
+ "options": {
1004
+ "proto3_optional": true
1005
+ }
1006
+ },
1007
+ "promotionIds": {
1008
+ "rule": "repeated",
1009
+ "type": "string",
1010
+ "id": 4
1011
+ }
1012
+ }
1013
+ },
1014
+ "PanelInfo": {
1015
+ "oneofs": {
1016
+ "_panelPosition": {
1017
+ "oneof": [
1018
+ "panelPosition"
1019
+ ]
1020
+ },
1021
+ "_totalPanels": {
1022
+ "oneof": [
1023
+ "totalPanels"
1024
+ ]
1025
+ }
1026
+ },
1027
+ "fields": {
1028
+ "panelId": {
1029
+ "type": "string",
1030
+ "id": 2,
1031
+ "options": {
1032
+ "(google.api.field_behavior)": "REQUIRED"
1033
+ }
1034
+ },
1035
+ "displayName": {
1036
+ "type": "string",
1037
+ "id": 3
1038
+ },
1039
+ "panelPosition": {
1040
+ "type": "int32",
1041
+ "id": 4,
1042
+ "options": {
1043
+ "proto3_optional": true
1044
+ }
1045
+ },
1046
+ "totalPanels": {
1047
+ "type": "int32",
1048
+ "id": 5,
1049
+ "options": {
1050
+ "proto3_optional": true
1051
+ }
1052
+ }
1053
+ }
1054
+ },
1055
+ "MediaInfo": {
1056
+ "oneofs": {
1057
+ "_mediaProgressPercentage": {
1058
+ "oneof": [
1059
+ "mediaProgressPercentage"
1060
+ ]
1061
+ }
1062
+ },
1063
+ "fields": {
1064
+ "mediaProgressDuration": {
1065
+ "type": "google.protobuf.Duration",
1066
+ "id": 1
1067
+ },
1068
+ "mediaProgressPercentage": {
1069
+ "type": "float",
1070
+ "id": 2,
1071
+ "options": {
1072
+ "proto3_optional": true
1073
+ }
1074
+ }
1075
+ }
1076
+ },
1077
+ "PurgeDocumentsRequest": {
1078
+ "fields": {
1079
+ "parent": {
1080
+ "type": "string",
1081
+ "id": 1,
1082
+ "options": {
1083
+ "(google.api.field_behavior)": "REQUIRED",
1084
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
1085
+ }
1086
+ },
1087
+ "filter": {
1088
+ "type": "string",
1089
+ "id": 2,
1090
+ "options": {
1091
+ "(google.api.field_behavior)": "REQUIRED"
1092
+ }
1093
+ },
1094
+ "force": {
1095
+ "type": "bool",
1096
+ "id": 3
1097
+ }
1098
+ }
1099
+ },
1100
+ "PurgeDocumentsResponse": {
1101
+ "fields": {
1102
+ "purgeCount": {
1103
+ "type": "int64",
1104
+ "id": 1
1105
+ },
1106
+ "purgeSample": {
1107
+ "rule": "repeated",
1108
+ "type": "string",
1109
+ "id": 2,
1110
+ "options": {
1111
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
1112
+ }
1113
+ }
1114
+ }
1115
+ },
1116
+ "PurgeDocumentsMetadata": {
1117
+ "fields": {
1118
+ "createTime": {
1119
+ "type": "google.protobuf.Timestamp",
1120
+ "id": 1
1121
+ },
1122
+ "updateTime": {
1123
+ "type": "google.protobuf.Timestamp",
1124
+ "id": 2
1125
+ },
1126
+ "successCount": {
1127
+ "type": "int64",
1128
+ "id": 3
1129
+ },
1130
+ "failureCount": {
1131
+ "type": "int64",
1132
+ "id": 4
1133
+ }
1134
+ }
1135
+ },
1136
+ "Schema": {
1137
+ "options": {
1138
+ "(google.api.resource).type": "discoveryengine.googleapis.com/Schema",
1139
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}"
1140
+ },
1141
+ "oneofs": {
1142
+ "schema": {
1143
+ "oneof": [
1144
+ "structSchema",
1145
+ "jsonSchema"
1146
+ ]
1147
+ }
1148
+ },
1149
+ "fields": {
1150
+ "structSchema": {
1151
+ "type": "google.protobuf.Struct",
1152
+ "id": 2
1153
+ },
1154
+ "jsonSchema": {
1155
+ "type": "string",
1156
+ "id": 3
1157
+ },
1158
+ "name": {
1159
+ "type": "string",
1160
+ "id": 1,
1161
+ "options": {
1162
+ "(google.api.field_behavior)": "IMMUTABLE"
1163
+ }
1164
+ }
1165
+ }
1166
+ },
1167
+ "SchemaService": {
1168
+ "options": {
1169
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
1170
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
1171
+ },
1172
+ "methods": {
1173
+ "GetSchema": {
1174
+ "requestType": "GetSchemaRequest",
1175
+ "responseType": "Schema",
1176
+ "options": {
1177
+ "(google.api.http).get": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1178
+ "(google.api.http).additional_bindings.get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
1179
+ "(google.api.method_signature)": "name"
1180
+ },
1181
+ "parsedOptions": [
1182
+ {
1183
+ "(google.api.http)": {
1184
+ "get": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1185
+ "additional_bindings": {
1186
+ "get": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
1187
+ }
1188
+ }
1189
+ },
1190
+ {
1191
+ "(google.api.method_signature)": "name"
1192
+ }
1193
+ ]
1194
+ },
1195
+ "ListSchemas": {
1196
+ "requestType": "ListSchemasRequest",
1197
+ "responseType": "ListSchemasResponse",
1198
+ "options": {
1199
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
1200
+ "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
1201
+ "(google.api.method_signature)": "parent"
1202
+ },
1203
+ "parsedOptions": [
1204
+ {
1205
+ "(google.api.http)": {
1206
+ "get": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
1207
+ "additional_bindings": {
1208
+ "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas"
1209
+ }
1210
+ }
1211
+ },
1212
+ {
1213
+ "(google.api.method_signature)": "parent"
1214
+ }
1215
+ ]
1216
+ },
1217
+ "CreateSchema": {
1218
+ "requestType": "CreateSchemaRequest",
1219
+ "responseType": "google.longrunning.Operation",
1220
+ "options": {
1221
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
1222
+ "(google.api.http).body": "schema",
1223
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
1224
+ "(google.api.http).additional_bindings.body": "schema",
1225
+ "(google.api.method_signature)": "parent,schema,schema_id",
1226
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.Schema",
1227
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.CreateSchemaMetadata"
1228
+ },
1229
+ "parsedOptions": [
1230
+ {
1231
+ "(google.api.http)": {
1232
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas",
1233
+ "body": "schema",
1234
+ "additional_bindings": {
1235
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas",
1236
+ "body": "schema"
1237
+ }
1238
+ }
1239
+ },
1240
+ {
1241
+ "(google.api.method_signature)": "parent,schema,schema_id"
1242
+ },
1243
+ {
1244
+ "(google.longrunning.operation_info)": {
1245
+ "response_type": "google.cloud.discoveryengine.v1.Schema",
1246
+ "metadata_type": "google.cloud.discoveryengine.v1.CreateSchemaMetadata"
1247
+ }
1248
+ }
1249
+ ]
1250
+ },
1251
+ "UpdateSchema": {
1252
+ "requestType": "UpdateSchemaRequest",
1253
+ "responseType": "google.longrunning.Operation",
1254
+ "options": {
1255
+ "(google.api.http).patch": "/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
1256
+ "(google.api.http).body": "schema",
1257
+ "(google.api.http).additional_bindings.patch": "/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
1258
+ "(google.api.http).additional_bindings.body": "schema",
1259
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.Schema",
1260
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.UpdateSchemaMetadata"
1261
+ },
1262
+ "parsedOptions": [
1263
+ {
1264
+ "(google.api.http)": {
1265
+ "patch": "/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}",
1266
+ "body": "schema",
1267
+ "additional_bindings": {
1268
+ "patch": "/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
1269
+ "body": "schema"
1270
+ }
1271
+ }
1272
+ },
1273
+ {
1274
+ "(google.longrunning.operation_info)": {
1275
+ "response_type": "google.cloud.discoveryengine.v1.Schema",
1276
+ "metadata_type": "google.cloud.discoveryengine.v1.UpdateSchemaMetadata"
1277
+ }
1278
+ }
1279
+ ]
1280
+ },
1281
+ "DeleteSchema": {
1282
+ "requestType": "DeleteSchemaRequest",
1283
+ "responseType": "google.longrunning.Operation",
1284
+ "options": {
1285
+ "(google.api.http).delete": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1286
+ "(google.api.http).additional_bindings.delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}",
1287
+ "(google.api.method_signature)": "name",
1288
+ "(google.longrunning.operation_info).response_type": "google.protobuf.Empty",
1289
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.DeleteSchemaMetadata"
1290
+ },
1291
+ "parsedOptions": [
1292
+ {
1293
+ "(google.api.http)": {
1294
+ "delete": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}",
1295
+ "additional_bindings": {
1296
+ "delete": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}"
1297
+ }
1298
+ }
1299
+ },
1300
+ {
1301
+ "(google.api.method_signature)": "name"
1302
+ },
1303
+ {
1304
+ "(google.longrunning.operation_info)": {
1305
+ "response_type": "google.protobuf.Empty",
1306
+ "metadata_type": "google.cloud.discoveryengine.v1.DeleteSchemaMetadata"
1307
+ }
1308
+ }
1309
+ ]
1310
+ }
1311
+ }
1312
+ },
1313
+ "GetSchemaRequest": {
1314
+ "fields": {
1315
+ "name": {
1316
+ "type": "string",
1317
+ "id": 1,
1318
+ "options": {
1319
+ "(google.api.field_behavior)": "REQUIRED",
1320
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
1321
+ }
1322
+ }
1323
+ }
1324
+ },
1325
+ "ListSchemasRequest": {
1326
+ "fields": {
1327
+ "parent": {
1328
+ "type": "string",
1329
+ "id": 1,
1330
+ "options": {
1331
+ "(google.api.field_behavior)": "REQUIRED",
1332
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1333
+ }
1334
+ },
1335
+ "pageSize": {
1336
+ "type": "int32",
1337
+ "id": 2
1338
+ },
1339
+ "pageToken": {
1340
+ "type": "string",
1341
+ "id": 3
1342
+ }
1343
+ }
1344
+ },
1345
+ "ListSchemasResponse": {
1346
+ "fields": {
1347
+ "schemas": {
1348
+ "rule": "repeated",
1349
+ "type": "Schema",
1350
+ "id": 1
1351
+ },
1352
+ "nextPageToken": {
1353
+ "type": "string",
1354
+ "id": 2
1355
+ }
1356
+ }
1357
+ },
1358
+ "CreateSchemaRequest": {
1359
+ "fields": {
1360
+ "parent": {
1361
+ "type": "string",
1362
+ "id": 1,
1363
+ "options": {
1364
+ "(google.api.field_behavior)": "REQUIRED",
1365
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1366
+ }
1367
+ },
1368
+ "schema": {
1369
+ "type": "Schema",
1370
+ "id": 2,
1371
+ "options": {
1372
+ "(google.api.field_behavior)": "REQUIRED"
1373
+ }
1374
+ },
1375
+ "schemaId": {
1376
+ "type": "string",
1377
+ "id": 3,
1378
+ "options": {
1379
+ "(google.api.field_behavior)": "REQUIRED"
1380
+ }
1381
+ }
1382
+ }
1383
+ },
1384
+ "UpdateSchemaRequest": {
1385
+ "fields": {
1386
+ "schema": {
1387
+ "type": "Schema",
1388
+ "id": 1,
1389
+ "options": {
1390
+ "(google.api.field_behavior)": "REQUIRED"
1391
+ }
1392
+ },
1393
+ "allowMissing": {
1394
+ "type": "bool",
1395
+ "id": 3
1396
+ }
1397
+ }
1398
+ },
1399
+ "DeleteSchemaRequest": {
1400
+ "fields": {
1401
+ "name": {
1402
+ "type": "string",
1403
+ "id": 1,
1404
+ "options": {
1405
+ "(google.api.field_behavior)": "REQUIRED",
1406
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Schema"
1407
+ }
1408
+ }
1409
+ }
1410
+ },
1411
+ "CreateSchemaMetadata": {
1412
+ "fields": {
1413
+ "createTime": {
1414
+ "type": "google.protobuf.Timestamp",
1415
+ "id": 1
1416
+ },
1417
+ "updateTime": {
1418
+ "type": "google.protobuf.Timestamp",
1419
+ "id": 2
1420
+ }
1421
+ }
1422
+ },
1423
+ "UpdateSchemaMetadata": {
1424
+ "fields": {
1425
+ "createTime": {
1426
+ "type": "google.protobuf.Timestamp",
1427
+ "id": 1
1428
+ },
1429
+ "updateTime": {
1430
+ "type": "google.protobuf.Timestamp",
1431
+ "id": 2
1432
+ }
1433
+ }
1434
+ },
1435
+ "DeleteSchemaMetadata": {
1436
+ "fields": {
1437
+ "createTime": {
1438
+ "type": "google.protobuf.Timestamp",
1439
+ "id": 1
1440
+ },
1441
+ "updateTime": {
1442
+ "type": "google.protobuf.Timestamp",
1443
+ "id": 2
1444
+ }
1445
+ }
1446
+ },
1447
+ "SearchService": {
1448
+ "options": {
1449
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
1450
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
1451
+ },
1452
+ "methods": {
1453
+ "Search": {
1454
+ "requestType": "SearchRequest",
1455
+ "responseType": "SearchResponse",
1456
+ "options": {
1457
+ "(google.api.http).post": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
1458
+ "(google.api.http).body": "*",
1459
+ "(google.api.http).additional_bindings.post": "/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
1460
+ "(google.api.http).additional_bindings.body": "*"
1461
+ },
1462
+ "parsedOptions": [
1463
+ {
1464
+ "(google.api.http)": {
1465
+ "post": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search",
1466
+ "body": "*",
1467
+ "additional_bindings": {
1468
+ "post": "/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search",
1469
+ "body": "*"
1470
+ }
1471
+ }
1472
+ }
1473
+ ]
1474
+ }
1475
+ }
1476
+ },
1477
+ "SearchRequest": {
1478
+ "fields": {
1479
+ "servingConfig": {
1480
+ "type": "string",
1481
+ "id": 1,
1482
+ "options": {
1483
+ "(google.api.field_behavior)": "REQUIRED",
1484
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/ServingConfig"
1485
+ }
1486
+ },
1487
+ "branch": {
1488
+ "type": "string",
1489
+ "id": 2,
1490
+ "options": {
1491
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/Branch"
1492
+ }
1493
+ },
1494
+ "query": {
1495
+ "type": "string",
1496
+ "id": 3
1497
+ },
1498
+ "pageSize": {
1499
+ "type": "int32",
1500
+ "id": 4
1501
+ },
1502
+ "pageToken": {
1503
+ "type": "string",
1504
+ "id": 5
1505
+ },
1506
+ "offset": {
1507
+ "type": "int32",
1508
+ "id": 6
1509
+ },
1510
+ "userInfo": {
1511
+ "type": "UserInfo",
1512
+ "id": 21
1513
+ },
1514
+ "params": {
1515
+ "keyType": "string",
1516
+ "type": "google.protobuf.Value",
1517
+ "id": 11
1518
+ },
1519
+ "queryExpansionSpec": {
1520
+ "type": "QueryExpansionSpec",
1521
+ "id": 13
1522
+ },
1523
+ "spellCorrectionSpec": {
1524
+ "type": "SpellCorrectionSpec",
1525
+ "id": 14
1526
+ },
1527
+ "userPseudoId": {
1528
+ "type": "string",
1529
+ "id": 15
1530
+ },
1531
+ "contentSearchSpec": {
1532
+ "type": "ContentSearchSpec",
1533
+ "id": 24
1534
+ },
1535
+ "safeSearch": {
1536
+ "type": "bool",
1537
+ "id": 20
1538
+ },
1539
+ "userLabels": {
1540
+ "keyType": "string",
1541
+ "type": "string",
1542
+ "id": 22
1543
+ }
1544
+ },
1545
+ "nested": {
1546
+ "QueryExpansionSpec": {
1547
+ "fields": {
1548
+ "condition": {
1549
+ "type": "Condition",
1550
+ "id": 1
1551
+ }
1552
+ },
1553
+ "nested": {
1554
+ "Condition": {
1555
+ "values": {
1556
+ "CONDITION_UNSPECIFIED": 0,
1557
+ "DISABLED": 1,
1558
+ "AUTO": 2
1559
+ }
1560
+ }
1561
+ }
1562
+ },
1563
+ "SpellCorrectionSpec": {
1564
+ "fields": {
1565
+ "mode": {
1566
+ "type": "Mode",
1567
+ "id": 1
1568
+ }
1569
+ },
1570
+ "nested": {
1571
+ "Mode": {
1572
+ "values": {
1573
+ "MODE_UNSPECIFIED": 0,
1574
+ "SUGGESTION_ONLY": 1,
1575
+ "AUTO": 2
1576
+ }
1577
+ }
1578
+ }
1579
+ },
1580
+ "ContentSearchSpec": {
1581
+ "fields": {
1582
+ "snippetSpec": {
1583
+ "type": "SnippetSpec",
1584
+ "id": 1
1585
+ }
1586
+ },
1587
+ "nested": {
1588
+ "SnippetSpec": {
1589
+ "fields": {
1590
+ "maxSnippetCount": {
1591
+ "type": "int32",
1592
+ "id": 1
1593
+ },
1594
+ "referenceOnly": {
1595
+ "type": "bool",
1596
+ "id": 2
1597
+ }
1598
+ }
1599
+ }
1600
+ }
1601
+ }
1602
+ }
1603
+ },
1604
+ "SearchResponse": {
1605
+ "fields": {
1606
+ "results": {
1607
+ "rule": "repeated",
1608
+ "type": "SearchResult",
1609
+ "id": 1
1610
+ },
1611
+ "totalSize": {
1612
+ "type": "int32",
1613
+ "id": 3
1614
+ },
1615
+ "attributionToken": {
1616
+ "type": "string",
1617
+ "id": 4
1618
+ },
1619
+ "nextPageToken": {
1620
+ "type": "string",
1621
+ "id": 5
1622
+ },
1623
+ "correctedQuery": {
1624
+ "type": "string",
1625
+ "id": 7
1626
+ }
1627
+ },
1628
+ "nested": {
1629
+ "SearchResult": {
1630
+ "fields": {
1631
+ "id": {
1632
+ "type": "string",
1633
+ "id": 1
1634
+ },
1635
+ "document": {
1636
+ "type": "Document",
1637
+ "id": 2
1638
+ }
1639
+ }
1640
+ }
1641
+ }
1642
+ },
1643
+ "UserEventService": {
1644
+ "options": {
1645
+ "(google.api.default_host)": "discoveryengine.googleapis.com",
1646
+ "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
1647
+ },
1648
+ "methods": {
1649
+ "WriteUserEvent": {
1650
+ "requestType": "WriteUserEventRequest",
1651
+ "responseType": "UserEvent",
1652
+ "options": {
1653
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:write",
1654
+ "(google.api.http).body": "user_event",
1655
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write",
1656
+ "(google.api.http).additional_bindings.body": "user_event"
1657
+ },
1658
+ "parsedOptions": [
1659
+ {
1660
+ "(google.api.http)": {
1661
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:write",
1662
+ "body": "user_event",
1663
+ "additional_bindings": {
1664
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write",
1665
+ "body": "user_event"
1666
+ }
1667
+ }
1668
+ }
1669
+ ]
1670
+ },
1671
+ "CollectUserEvent": {
1672
+ "requestType": "CollectUserEventRequest",
1673
+ "responseType": "google.api.HttpBody",
1674
+ "options": {
1675
+ "(google.api.http).get": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
1676
+ "(google.api.http).additional_bindings.get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
1677
+ },
1678
+ "parsedOptions": [
1679
+ {
1680
+ "(google.api.http)": {
1681
+ "get": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
1682
+ "additional_bindings": {
1683
+ "get": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
1684
+ }
1685
+ }
1686
+ }
1687
+ ]
1688
+ },
1689
+ "ImportUserEvents": {
1690
+ "requestType": "ImportUserEventsRequest",
1691
+ "responseType": "google.longrunning.Operation",
1692
+ "options": {
1693
+ "(google.api.http).post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
1694
+ "(google.api.http).body": "*",
1695
+ "(google.api.http).additional_bindings.post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
1696
+ "(google.api.http).additional_bindings.body": "*",
1697
+ "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1.ImportUserEventsResponse",
1698
+ "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1.ImportUserEventsMetadata"
1699
+ },
1700
+ "parsedOptions": [
1701
+ {
1702
+ "(google.api.http)": {
1703
+ "post": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
1704
+ "body": "*",
1705
+ "additional_bindings": {
1706
+ "post": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
1707
+ "body": "*"
1708
+ }
1709
+ }
1710
+ },
1711
+ {
1712
+ "(google.longrunning.operation_info)": {
1713
+ "response_type": "google.cloud.discoveryengine.v1.ImportUserEventsResponse",
1714
+ "metadata_type": "google.cloud.discoveryengine.v1.ImportUserEventsMetadata"
1715
+ }
1716
+ }
1717
+ ]
1718
+ }
1719
+ }
1720
+ },
1721
+ "WriteUserEventRequest": {
1722
+ "oneofs": {
1723
+ "_userEvent": {
1724
+ "oneof": [
1725
+ "userEvent"
1726
+ ]
1727
+ }
1728
+ },
1729
+ "fields": {
1730
+ "parent": {
1731
+ "type": "string",
1732
+ "id": 1,
1733
+ "options": {
1734
+ "(google.api.field_behavior)": "REQUIRED",
1735
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1736
+ }
1737
+ },
1738
+ "userEvent": {
1739
+ "type": "UserEvent",
1740
+ "id": 2,
1741
+ "options": {
1742
+ "(google.api.field_behavior)": "REQUIRED",
1743
+ "proto3_optional": true
1744
+ }
1745
+ }
1746
+ }
1747
+ },
1748
+ "CollectUserEventRequest": {
1749
+ "oneofs": {
1750
+ "_uri": {
1751
+ "oneof": [
1752
+ "uri"
1753
+ ]
1754
+ },
1755
+ "_ets": {
1756
+ "oneof": [
1757
+ "ets"
1758
+ ]
1759
+ }
1760
+ },
1761
+ "fields": {
1762
+ "parent": {
1763
+ "type": "string",
1764
+ "id": 1,
1765
+ "options": {
1766
+ "(google.api.field_behavior)": "REQUIRED",
1767
+ "(google.api.resource_reference).type": "discoveryengine.googleapis.com/DataStore"
1768
+ }
1769
+ },
1770
+ "userEvent": {
1771
+ "type": "string",
1772
+ "id": 2,
1773
+ "options": {
1774
+ "(google.api.field_behavior)": "REQUIRED"
1775
+ }
1776
+ },
1777
+ "uri": {
1778
+ "type": "string",
1779
+ "id": 3,
1780
+ "options": {
1781
+ "proto3_optional": true
1782
+ }
1783
+ },
1784
+ "ets": {
1785
+ "type": "int64",
1786
+ "id": 4,
1787
+ "options": {
1788
+ "proto3_optional": true
1789
+ }
1790
+ }
1791
+ }
1792
+ }
1793
+ }
1794
+ },
9
1795
  "v1beta": {
10
1796
  "options": {
11
1797
  "csharp_namespace": "Google.Cloud.DiscoveryEngine.V1Beta",
@@ -746,6 +2532,14 @@
746
2532
  "reconciliationMode": {
747
2533
  "type": "ReconciliationMode",
748
2534
  "id": 6
2535
+ },
2536
+ "autoGenerateIds": {
2537
+ "type": "bool",
2538
+ "id": 8
2539
+ },
2540
+ "idField": {
2541
+ "type": "string",
2542
+ "id": 9
749
2543
  }
750
2544
  },
751
2545
  "nested": {
@@ -1653,6 +3447,10 @@
1653
3447
  "type": "string",
1654
3448
  "id": 8
1655
3449
  },
3450
+ "userInfo": {
3451
+ "type": "UserInfo",
3452
+ "id": 21
3453
+ },
1656
3454
  "facetSpecs": {
1657
3455
  "rule": "repeated",
1658
3456
  "type": "FacetSpec",
@@ -1682,6 +3480,15 @@
1682
3480
  "contentSearchSpec": {
1683
3481
  "type": "ContentSearchSpec",
1684
3482
  "id": 24
3483
+ },
3484
+ "safeSearch": {
3485
+ "type": "bool",
3486
+ "id": 20
3487
+ },
3488
+ "userLabels": {
3489
+ "keyType": "string",
3490
+ "type": "string",
3491
+ "id": 22
1685
3492
  }
1686
3493
  },
1687
3494
  "nested": {