@google-cloud/discoveryengine 0.3.0 → 0.4.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.
@@ -9,7 +9,7 @@
9
9
  "v1beta": {
10
10
  "options": {
11
11
  "csharp_namespace": "Google.Cloud.DiscoveryEngine.V1Beta",
12
- "go_package": "google.golang.org/genproto/googleapis/cloud/discoveryengine/v1beta;discoveryengine",
12
+ "go_package": "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb",
13
13
  "java_multiple_files": true,
14
14
  "java_outer_classname": "UserEventServiceProto",
15
15
  "java_package": "com.google.cloud.discoveryengine.v1beta",
@@ -17,7 +17,7 @@
17
17
  "php_namespace": "Google\\Cloud\\DiscoveryEngine\\V1beta",
18
18
  "ruby_package": "Google::Cloud::DiscoveryEngine::V1beta",
19
19
  "(google.api.resource_definition).type": "discoveryengine.googleapis.com/ServingConfig",
20
- "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}"
20
+ "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}"
21
21
  },
22
22
  "nested": {
23
23
  "CustomAttribute": {
@@ -49,7 +49,7 @@
49
49
  "Document": {
50
50
  "options": {
51
51
  "(google.api.resource).type": "discoveryengine.googleapis.com/Document",
52
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}"
52
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}"
53
53
  },
54
54
  "oneofs": {
55
55
  "data": {
@@ -84,10 +84,7 @@
84
84
  },
85
85
  "schemaId": {
86
86
  "type": "string",
87
- "id": 3,
88
- "options": {
89
- "(google.api.field_behavior)": "REQUIRED"
90
- }
87
+ "id": 3
91
88
  },
92
89
  "parentDocumentId": {
93
90
  "type": "string",
@@ -106,12 +103,16 @@
106
103
  "responseType": "Document",
107
104
  "options": {
108
105
  "(google.api.http).get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
106
+ "(google.api.http).additional_bindings.get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
109
107
  "(google.api.method_signature)": "name"
110
108
  },
111
109
  "parsedOptions": [
112
110
  {
113
111
  "(google.api.http)": {
114
- "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}"
112
+ "get": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
113
+ "additional_bindings": {
114
+ "get": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
115
+ }
115
116
  }
116
117
  },
117
118
  {
@@ -124,12 +125,16 @@
124
125
  "responseType": "ListDocumentsResponse",
125
126
  "options": {
126
127
  "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
128
+ "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
127
129
  "(google.api.method_signature)": "parent"
128
130
  },
129
131
  "parsedOptions": [
130
132
  {
131
133
  "(google.api.http)": {
132
- "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents"
134
+ "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
135
+ "additional_bindings": {
136
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents"
137
+ }
133
138
  }
134
139
  },
135
140
  {
@@ -143,13 +148,19 @@
143
148
  "options": {
144
149
  "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
145
150
  "(google.api.http).body": "document",
151
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
152
+ "(google.api.http).additional_bindings.body": "document",
146
153
  "(google.api.method_signature)": "parent,document,document_id"
147
154
  },
148
155
  "parsedOptions": [
149
156
  {
150
157
  "(google.api.http)": {
151
158
  "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents",
152
- "body": "document"
159
+ "body": "document",
160
+ "additional_bindings": {
161
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents",
162
+ "body": "document"
163
+ }
153
164
  }
154
165
  },
155
166
  {
@@ -162,13 +173,19 @@
162
173
  "responseType": "Document",
163
174
  "options": {
164
175
  "(google.api.http).patch": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
165
- "(google.api.http).body": "document"
176
+ "(google.api.http).body": "document",
177
+ "(google.api.http).additional_bindings.patch": "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
178
+ "(google.api.http).additional_bindings.body": "document"
166
179
  },
167
180
  "parsedOptions": [
168
181
  {
169
182
  "(google.api.http)": {
170
183
  "patch": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
171
- "body": "document"
184
+ "body": "document",
185
+ "additional_bindings": {
186
+ "patch": "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
187
+ "body": "document"
188
+ }
172
189
  }
173
190
  }
174
191
  ]
@@ -178,12 +195,16 @@
178
195
  "responseType": "google.protobuf.Empty",
179
196
  "options": {
180
197
  "(google.api.http).delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
198
+ "(google.api.http).additional_bindings.delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}",
181
199
  "(google.api.method_signature)": "name"
182
200
  },
183
201
  "parsedOptions": [
184
202
  {
185
203
  "(google.api.http)": {
186
- "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}"
204
+ "delete": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}",
205
+ "additional_bindings": {
206
+ "delete": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}"
207
+ }
187
208
  }
188
209
  },
189
210
  {
@@ -197,6 +218,8 @@
197
218
  "options": {
198
219
  "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
199
220
  "(google.api.http).body": "*",
221
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
222
+ "(google.api.http).additional_bindings.body": "*",
200
223
  "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsResponse",
201
224
  "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata"
202
225
  },
@@ -204,7 +227,11 @@
204
227
  {
205
228
  "(google.api.http)": {
206
229
  "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import",
207
- "body": "*"
230
+ "body": "*",
231
+ "additional_bindings": {
232
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import",
233
+ "body": "*"
234
+ }
208
235
  }
209
236
  },
210
237
  {
@@ -911,13 +938,19 @@
911
938
  "responseType": "RecommendResponse",
912
939
  "options": {
913
940
  "(google.api.http).post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend",
914
- "(google.api.http).body": "*"
941
+ "(google.api.http).body": "*",
942
+ "(google.api.http).additional_bindings.post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend",
943
+ "(google.api.http).additional_bindings.body": "*"
915
944
  },
916
945
  "parsedOptions": [
917
946
  {
918
947
  "(google.api.http)": {
919
948
  "post": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend",
920
- "body": "*"
949
+ "body": "*",
950
+ "additional_bindings": {
951
+ "post": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend",
952
+ "body": "*"
953
+ }
921
954
  }
922
955
  }
923
956
  ]
@@ -1017,13 +1050,19 @@
1017
1050
  "responseType": "UserEvent",
1018
1051
  "options": {
1019
1052
  "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:write",
1020
- "(google.api.http).body": "user_event"
1053
+ "(google.api.http).body": "user_event",
1054
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write",
1055
+ "(google.api.http).additional_bindings.body": "user_event"
1021
1056
  },
1022
1057
  "parsedOptions": [
1023
1058
  {
1024
1059
  "(google.api.http)": {
1025
1060
  "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:write",
1026
- "body": "user_event"
1061
+ "body": "user_event",
1062
+ "additional_bindings": {
1063
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write",
1064
+ "body": "user_event"
1065
+ }
1027
1066
  }
1028
1067
  }
1029
1068
  ]
@@ -1032,12 +1071,16 @@
1032
1071
  "requestType": "CollectUserEventRequest",
1033
1072
  "responseType": "google.api.HttpBody",
1034
1073
  "options": {
1035
- "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect"
1074
+ "(google.api.http).get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
1075
+ "(google.api.http).additional_bindings.get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
1036
1076
  },
1037
1077
  "parsedOptions": [
1038
1078
  {
1039
1079
  "(google.api.http)": {
1040
- "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect"
1080
+ "get": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect",
1081
+ "additional_bindings": {
1082
+ "get": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect"
1083
+ }
1041
1084
  }
1042
1085
  }
1043
1086
  ]
@@ -1048,6 +1091,8 @@
1048
1091
  "options": {
1049
1092
  "(google.api.http).post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
1050
1093
  "(google.api.http).body": "*",
1094
+ "(google.api.http).additional_bindings.post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
1095
+ "(google.api.http).additional_bindings.body": "*",
1051
1096
  "(google.longrunning.operation_info).response_type": "google.cloud.discoveryengine.v1beta.ImportUserEventsResponse",
1052
1097
  "(google.longrunning.operation_info).metadata_type": "google.cloud.discoveryengine.v1beta.ImportUserEventsMetadata"
1053
1098
  },
@@ -1055,7 +1100,11 @@
1055
1100
  {
1056
1101
  "(google.api.http)": {
1057
1102
  "post": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:import",
1058
- "body": "*"
1103
+ "body": "*",
1104
+ "additional_bindings": {
1105
+ "post": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import",
1106
+ "body": "*"
1107
+ }
1059
1108
  }
1060
1109
  },
1061
1110
  {
@@ -1354,6 +1403,248 @@
1354
1403
  "id": 1050,
1355
1404
  "extend": "google.protobuf.ServiceOptions"
1356
1405
  },
1406
+ "CommonLanguageSettings": {
1407
+ "fields": {
1408
+ "referenceDocsUri": {
1409
+ "type": "string",
1410
+ "id": 1,
1411
+ "options": {
1412
+ "deprecated": true
1413
+ }
1414
+ },
1415
+ "destinations": {
1416
+ "rule": "repeated",
1417
+ "type": "ClientLibraryDestination",
1418
+ "id": 2
1419
+ }
1420
+ }
1421
+ },
1422
+ "ClientLibrarySettings": {
1423
+ "fields": {
1424
+ "version": {
1425
+ "type": "string",
1426
+ "id": 1
1427
+ },
1428
+ "launchStage": {
1429
+ "type": "LaunchStage",
1430
+ "id": 2
1431
+ },
1432
+ "restNumericEnums": {
1433
+ "type": "bool",
1434
+ "id": 3
1435
+ },
1436
+ "javaSettings": {
1437
+ "type": "JavaSettings",
1438
+ "id": 21
1439
+ },
1440
+ "cppSettings": {
1441
+ "type": "CppSettings",
1442
+ "id": 22
1443
+ },
1444
+ "phpSettings": {
1445
+ "type": "PhpSettings",
1446
+ "id": 23
1447
+ },
1448
+ "pythonSettings": {
1449
+ "type": "PythonSettings",
1450
+ "id": 24
1451
+ },
1452
+ "nodeSettings": {
1453
+ "type": "NodeSettings",
1454
+ "id": 25
1455
+ },
1456
+ "dotnetSettings": {
1457
+ "type": "DotnetSettings",
1458
+ "id": 26
1459
+ },
1460
+ "rubySettings": {
1461
+ "type": "RubySettings",
1462
+ "id": 27
1463
+ },
1464
+ "goSettings": {
1465
+ "type": "GoSettings",
1466
+ "id": 28
1467
+ }
1468
+ }
1469
+ },
1470
+ "Publishing": {
1471
+ "fields": {
1472
+ "methodSettings": {
1473
+ "rule": "repeated",
1474
+ "type": "MethodSettings",
1475
+ "id": 2
1476
+ },
1477
+ "newIssueUri": {
1478
+ "type": "string",
1479
+ "id": 101
1480
+ },
1481
+ "documentationUri": {
1482
+ "type": "string",
1483
+ "id": 102
1484
+ },
1485
+ "apiShortName": {
1486
+ "type": "string",
1487
+ "id": 103
1488
+ },
1489
+ "githubLabel": {
1490
+ "type": "string",
1491
+ "id": 104
1492
+ },
1493
+ "codeownerGithubTeams": {
1494
+ "rule": "repeated",
1495
+ "type": "string",
1496
+ "id": 105
1497
+ },
1498
+ "docTagPrefix": {
1499
+ "type": "string",
1500
+ "id": 106
1501
+ },
1502
+ "organization": {
1503
+ "type": "ClientLibraryOrganization",
1504
+ "id": 107
1505
+ },
1506
+ "librarySettings": {
1507
+ "rule": "repeated",
1508
+ "type": "ClientLibrarySettings",
1509
+ "id": 109
1510
+ }
1511
+ }
1512
+ },
1513
+ "JavaSettings": {
1514
+ "fields": {
1515
+ "libraryPackage": {
1516
+ "type": "string",
1517
+ "id": 1
1518
+ },
1519
+ "serviceClassNames": {
1520
+ "keyType": "string",
1521
+ "type": "string",
1522
+ "id": 2
1523
+ },
1524
+ "common": {
1525
+ "type": "CommonLanguageSettings",
1526
+ "id": 3
1527
+ }
1528
+ }
1529
+ },
1530
+ "CppSettings": {
1531
+ "fields": {
1532
+ "common": {
1533
+ "type": "CommonLanguageSettings",
1534
+ "id": 1
1535
+ }
1536
+ }
1537
+ },
1538
+ "PhpSettings": {
1539
+ "fields": {
1540
+ "common": {
1541
+ "type": "CommonLanguageSettings",
1542
+ "id": 1
1543
+ }
1544
+ }
1545
+ },
1546
+ "PythonSettings": {
1547
+ "fields": {
1548
+ "common": {
1549
+ "type": "CommonLanguageSettings",
1550
+ "id": 1
1551
+ }
1552
+ }
1553
+ },
1554
+ "NodeSettings": {
1555
+ "fields": {
1556
+ "common": {
1557
+ "type": "CommonLanguageSettings",
1558
+ "id": 1
1559
+ }
1560
+ }
1561
+ },
1562
+ "DotnetSettings": {
1563
+ "fields": {
1564
+ "common": {
1565
+ "type": "CommonLanguageSettings",
1566
+ "id": 1
1567
+ }
1568
+ }
1569
+ },
1570
+ "RubySettings": {
1571
+ "fields": {
1572
+ "common": {
1573
+ "type": "CommonLanguageSettings",
1574
+ "id": 1
1575
+ }
1576
+ }
1577
+ },
1578
+ "GoSettings": {
1579
+ "fields": {
1580
+ "common": {
1581
+ "type": "CommonLanguageSettings",
1582
+ "id": 1
1583
+ }
1584
+ }
1585
+ },
1586
+ "MethodSettings": {
1587
+ "fields": {
1588
+ "selector": {
1589
+ "type": "string",
1590
+ "id": 1
1591
+ },
1592
+ "longRunning": {
1593
+ "type": "LongRunning",
1594
+ "id": 2
1595
+ }
1596
+ },
1597
+ "nested": {
1598
+ "LongRunning": {
1599
+ "fields": {
1600
+ "initialPollDelay": {
1601
+ "type": "google.protobuf.Duration",
1602
+ "id": 1
1603
+ },
1604
+ "pollDelayMultiplier": {
1605
+ "type": "float",
1606
+ "id": 2
1607
+ },
1608
+ "maxPollDelay": {
1609
+ "type": "google.protobuf.Duration",
1610
+ "id": 3
1611
+ },
1612
+ "totalPollTimeout": {
1613
+ "type": "google.protobuf.Duration",
1614
+ "id": 4
1615
+ }
1616
+ }
1617
+ }
1618
+ }
1619
+ },
1620
+ "ClientLibraryOrganization": {
1621
+ "values": {
1622
+ "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED": 0,
1623
+ "CLOUD": 1,
1624
+ "ADS": 2,
1625
+ "PHOTOS": 3,
1626
+ "STREET_VIEW": 4
1627
+ }
1628
+ },
1629
+ "ClientLibraryDestination": {
1630
+ "values": {
1631
+ "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED": 0,
1632
+ "GITHUB": 10,
1633
+ "PACKAGE_MANAGER": 20
1634
+ }
1635
+ },
1636
+ "LaunchStage": {
1637
+ "values": {
1638
+ "LAUNCH_STAGE_UNSPECIFIED": 0,
1639
+ "UNIMPLEMENTED": 6,
1640
+ "PRELAUNCH": 7,
1641
+ "EARLY_ACCESS": 1,
1642
+ "ALPHA": 2,
1643
+ "BETA": 3,
1644
+ "GA": 4,
1645
+ "DEPRECATED": 5
1646
+ }
1647
+ },
1357
1648
  "HttpBody": {
1358
1649
  "fields": {
1359
1650
  "contentType": {
@@ -1925,6 +2216,13 @@
1925
2216
  "type": "bool",
1926
2217
  "id": 7
1927
2218
  },
2219
+ "deprecatedLegacyJsonFieldConflicts": {
2220
+ "type": "bool",
2221
+ "id": 11,
2222
+ "options": {
2223
+ "deprecated": true
2224
+ }
2225
+ },
1928
2226
  "uninterpretedOption": {
1929
2227
  "rule": "repeated",
1930
2228
  "type": "UninterpretedOption",
@@ -2008,6 +2306,21 @@
2008
2306
  "default": false
2009
2307
  }
2010
2308
  },
2309
+ "debugRedact": {
2310
+ "type": "bool",
2311
+ "id": 16,
2312
+ "options": {
2313
+ "default": false
2314
+ }
2315
+ },
2316
+ "retention": {
2317
+ "type": "OptionRetention",
2318
+ "id": 17
2319
+ },
2320
+ "target": {
2321
+ "type": "OptionTargetType",
2322
+ "id": 18
2323
+ },
2011
2324
  "uninterpretedOption": {
2012
2325
  "rule": "repeated",
2013
2326
  "type": "UninterpretedOption",
@@ -2040,6 +2353,27 @@
2040
2353
  "JS_STRING": 1,
2041
2354
  "JS_NUMBER": 2
2042
2355
  }
2356
+ },
2357
+ "OptionRetention": {
2358
+ "values": {
2359
+ "RETENTION_UNKNOWN": 0,
2360
+ "RETENTION_RUNTIME": 1,
2361
+ "RETENTION_SOURCE": 2
2362
+ }
2363
+ },
2364
+ "OptionTargetType": {
2365
+ "values": {
2366
+ "TARGET_TYPE_UNKNOWN": 0,
2367
+ "TARGET_TYPE_FILE": 1,
2368
+ "TARGET_TYPE_EXTENSION_RANGE": 2,
2369
+ "TARGET_TYPE_MESSAGE": 3,
2370
+ "TARGET_TYPE_FIELD": 4,
2371
+ "TARGET_TYPE_ONEOF": 5,
2372
+ "TARGET_TYPE_ENUM": 6,
2373
+ "TARGET_TYPE_ENUM_ENTRY": 7,
2374
+ "TARGET_TYPE_SERVICE": 8,
2375
+ "TARGET_TYPE_METHOD": 9
2376
+ }
2043
2377
  }
2044
2378
  }
2045
2379
  },
@@ -2071,6 +2405,13 @@
2071
2405
  "default": false
2072
2406
  }
2073
2407
  },
2408
+ "deprecatedLegacyJsonFieldConflicts": {
2409
+ "type": "bool",
2410
+ "id": 6,
2411
+ "options": {
2412
+ "deprecated": true
2413
+ }
2414
+ },
2074
2415
  "uninterpretedOption": {
2075
2416
  "rule": "repeated",
2076
2417
  "type": "UninterpretedOption",