@google-cloud/discoveryengine 2.6.0 → 2.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.
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +4 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +4 -0
- package/build/protos/protos.d.ts +4 -2
- package/build/protos/protos.js +14 -0
- package/build/protos/protos.json +4 -2
- package/build/src/index.js +1 -1
- package/package.json +10 -2
|
@@ -694,6 +694,10 @@ message SearchRequest {
|
|
|
694
694
|
|
|
695
695
|
// Enables Search As You Type.
|
|
696
696
|
ENABLED = 2;
|
|
697
|
+
|
|
698
|
+
// Automatic switching between search-as-you-type and standard search
|
|
699
|
+
// modes, ideal for single-API implementations (e.g., debouncing).
|
|
700
|
+
AUTO = 3;
|
|
697
701
|
}
|
|
698
702
|
|
|
699
703
|
// The condition under which search as you type should occur.
|
|
@@ -748,6 +748,10 @@ message SearchRequest {
|
|
|
748
748
|
|
|
749
749
|
// Enables Search As You Type.
|
|
750
750
|
ENABLED = 2;
|
|
751
|
+
|
|
752
|
+
// Automatic switching between search-as-you-type and standard search
|
|
753
|
+
// modes, ideal for single-API implementations (e.g., debouncing).
|
|
754
|
+
AUTO = 3;
|
|
751
755
|
}
|
|
752
756
|
|
|
753
757
|
// The condition under which search as you type should occur.
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -67026,7 +67026,8 @@ export namespace google {
|
|
|
67026
67026
|
enum Condition {
|
|
67027
67027
|
CONDITION_UNSPECIFIED = 0,
|
|
67028
67028
|
DISABLED = 1,
|
|
67029
|
-
ENABLED = 2
|
|
67029
|
+
ENABLED = 2,
|
|
67030
|
+
AUTO = 3
|
|
67030
67031
|
}
|
|
67031
67032
|
}
|
|
67032
67033
|
|
|
@@ -113031,7 +113032,8 @@ export namespace google {
|
|
|
113031
113032
|
enum Condition {
|
|
113032
113033
|
CONDITION_UNSPECIFIED = 0,
|
|
113033
113034
|
DISABLED = 1,
|
|
113034
|
-
ENABLED = 2
|
|
113035
|
+
ENABLED = 2,
|
|
113036
|
+
AUTO = 3
|
|
113035
113037
|
}
|
|
113036
113038
|
}
|
|
113037
113039
|
|
package/build/protos/protos.js
CHANGED
|
@@ -166439,6 +166439,7 @@
|
|
|
166439
166439
|
case 0:
|
|
166440
166440
|
case 1:
|
|
166441
166441
|
case 2:
|
|
166442
|
+
case 3:
|
|
166442
166443
|
break;
|
|
166443
166444
|
}
|
|
166444
166445
|
return null;
|
|
@@ -166475,6 +166476,10 @@
|
|
|
166475
166476
|
case 2:
|
|
166476
166477
|
message.condition = 2;
|
|
166477
166478
|
break;
|
|
166479
|
+
case "AUTO":
|
|
166480
|
+
case 3:
|
|
166481
|
+
message.condition = 3;
|
|
166482
|
+
break;
|
|
166478
166483
|
}
|
|
166479
166484
|
return message;
|
|
166480
166485
|
};
|
|
@@ -166532,12 +166537,14 @@
|
|
|
166532
166537
|
* @property {number} CONDITION_UNSPECIFIED=0 CONDITION_UNSPECIFIED value
|
|
166533
166538
|
* @property {number} DISABLED=1 DISABLED value
|
|
166534
166539
|
* @property {number} ENABLED=2 ENABLED value
|
|
166540
|
+
* @property {number} AUTO=3 AUTO value
|
|
166535
166541
|
*/
|
|
166536
166542
|
SearchAsYouTypeSpec.Condition = (function() {
|
|
166537
166543
|
var valuesById = {}, values = Object.create(valuesById);
|
|
166538
166544
|
values[valuesById[0] = "CONDITION_UNSPECIFIED"] = 0;
|
|
166539
166545
|
values[valuesById[1] = "DISABLED"] = 1;
|
|
166540
166546
|
values[valuesById[2] = "ENABLED"] = 2;
|
|
166547
|
+
values[valuesById[3] = "AUTO"] = 3;
|
|
166541
166548
|
return values;
|
|
166542
166549
|
})();
|
|
166543
166550
|
|
|
@@ -279555,6 +279562,7 @@
|
|
|
279555
279562
|
case 0:
|
|
279556
279563
|
case 1:
|
|
279557
279564
|
case 2:
|
|
279565
|
+
case 3:
|
|
279558
279566
|
break;
|
|
279559
279567
|
}
|
|
279560
279568
|
return null;
|
|
@@ -279591,6 +279599,10 @@
|
|
|
279591
279599
|
case 2:
|
|
279592
279600
|
message.condition = 2;
|
|
279593
279601
|
break;
|
|
279602
|
+
case "AUTO":
|
|
279603
|
+
case 3:
|
|
279604
|
+
message.condition = 3;
|
|
279605
|
+
break;
|
|
279594
279606
|
}
|
|
279595
279607
|
return message;
|
|
279596
279608
|
};
|
|
@@ -279648,12 +279660,14 @@
|
|
|
279648
279660
|
* @property {number} CONDITION_UNSPECIFIED=0 CONDITION_UNSPECIFIED value
|
|
279649
279661
|
* @property {number} DISABLED=1 DISABLED value
|
|
279650
279662
|
* @property {number} ENABLED=2 ENABLED value
|
|
279663
|
+
* @property {number} AUTO=3 AUTO value
|
|
279651
279664
|
*/
|
|
279652
279665
|
SearchAsYouTypeSpec.Condition = (function() {
|
|
279653
279666
|
var valuesById = {}, values = Object.create(valuesById);
|
|
279654
279667
|
values[valuesById[0] = "CONDITION_UNSPECIFIED"] = 0;
|
|
279655
279668
|
values[valuesById[1] = "DISABLED"] = 1;
|
|
279656
279669
|
values[valuesById[2] = "ENABLED"] = 2;
|
|
279670
|
+
values[valuesById[3] = "AUTO"] = 3;
|
|
279657
279671
|
return values;
|
|
279658
279672
|
})();
|
|
279659
279673
|
|
package/build/protos/protos.json
CHANGED
|
@@ -16913,7 +16913,8 @@
|
|
|
16913
16913
|
"values": {
|
|
16914
16914
|
"CONDITION_UNSPECIFIED": 0,
|
|
16915
16915
|
"DISABLED": 1,
|
|
16916
|
-
"ENABLED": 2
|
|
16916
|
+
"ENABLED": 2,
|
|
16917
|
+
"AUTO": 3
|
|
16917
16918
|
}
|
|
16918
16919
|
}
|
|
16919
16920
|
}
|
|
@@ -28822,7 +28823,8 @@
|
|
|
28822
28823
|
"values": {
|
|
28823
28824
|
"CONDITION_UNSPECIFIED": 0,
|
|
28824
28825
|
"DISABLED": 1,
|
|
28825
|
-
"ENABLED": 2
|
|
28826
|
+
"ENABLED": 2,
|
|
28827
|
+
"AUTO": 3
|
|
28826
28828
|
}
|
|
28827
28829
|
}
|
|
28828
28830
|
}
|
package/build/src/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/discoveryengine",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Discovery Engine API client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -62,10 +62,18 @@
|
|
|
62
62
|
"long": "^5.3.1",
|
|
63
63
|
"mocha": "^11.1.0",
|
|
64
64
|
"pack-n-play": "^3.0.0",
|
|
65
|
-
"sinon": "
|
|
65
|
+
"sinon": "21.0.3",
|
|
66
66
|
"typescript": "^5.8.2"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=18"
|
|
70
|
+
},
|
|
71
|
+
"overrides": {
|
|
72
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
73
|
+
},
|
|
74
|
+
"pnpm": {
|
|
75
|
+
"overrides": {
|
|
76
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
77
|
+
}
|
|
70
78
|
}
|
|
71
79
|
}
|