Skip to content

Commit a95390e

Browse files
authored
Merge branch 'main' into rebeccaellis-search-product-with-boost-spec
2 parents f1da2bc + e00cf4d commit a95390e

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

retail/interactive-tutorials/product/add-fulfillment-places.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
'use strict';
16-
16+
// [START retail_add_fulfillment_places]
1717
async function main(generatedProductId) {
1818
// Imports the Google Cloud client library.
1919
const {ProductServiceClient} = require('@google-cloud/retail').v2;
@@ -89,3 +89,4 @@ process.on('unhandledRejection', err => {
8989
});
9090

9191
main(...process.argv.slice(2));
92+
// [END retail_add_fulfillment_places]

retail/interactive-tutorials/product/import-products-inline-source.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
'use strict';
16-
16+
// [START retail_import_products_from_inline_source]
1717
async function main(id1, id2) {
1818
// Imports the Google Cloud client library.
1919
const {ProductServiceClient} = require('@google-cloud/retail').v2;
@@ -126,3 +126,4 @@ process.on('unhandledRejection', err => {
126126
});
127127

128128
main(...process.argv.slice(2));
129+
// [END retail_import_products_from_inline_source]

retail/interactive-tutorials/product/remove-fulfillment-places.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
'use strict';
1616

17+
// [START retail_remove_fulfillment_places]
18+
1719
async function main(generatedProductId) {
1820
// Imports the Google Cloud client library.
1921
const {ProductServiceClient} = require('@google-cloud/retail').v2;
@@ -84,3 +86,5 @@ process.on('unhandledRejection', err => {
8486
});
8587

8688
main(...process.argv.slice(2));
89+
90+
// [END retail_remove_fulfillment_places]

retail/interactive-tutorials/product/set-inventory.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
// [START retail_set_inventory]
1415

1516
'use strict';
1617

@@ -99,3 +100,4 @@ process.on('unhandledRejection', err => {
99100
});
100101

101102
main(...process.argv.slice(2));
103+
// [END retail_set_inventory]

retail/interactive-tutorials/search/search-with-query-expansion-spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
'use strict';
1616

17+
// [START retail_search_for_products_with_query_expansion_specification]
18+
1719
async function main() {
1820
// Imports the Google Cloud client library.
1921
const {SearchServiceClient} = require('@google-cloud/retail');
@@ -82,3 +84,5 @@ process.on('unhandledRejection', err => {
8284
});
8385

8486
main();
87+
88+
// [END retail_search_for_products_with_query_expansion_specification]

0 commit comments

Comments
 (0)