diff --git a/retail/interactive-tutorials/src/main/java/product/SetInventory.java b/retail/interactive-tutorials/src/main/java/product/SetInventory.java index 5a5f1441037..416d2946a7b 100644 --- a/retail/interactive-tutorials/src/main/java/product/SetInventory.java +++ b/retail/interactive-tutorials/src/main/java/product/SetInventory.java @@ -16,6 +16,11 @@ package product; +/* + * Region Tag: retail_set_inventory + */ +// [START retail_set_inventory] + import static setup.SetupCleanup.createProduct; import static setup.SetupCleanup.deleteProduct; import static setup.SetupCleanup.getProduct; @@ -93,6 +98,11 @@ public static void setInventory(String productName) throws IOException, Interrup .build(); System.out.printf("Set inventory request: %s%n", setInventoryRequest); + /* + * Region Tag: retail_set_inventory + */ + // [END retail_set_inventory] + // To send an out-of-order request assign the invalid SetTime here: // Instant instant = LocalDateTime.now().minusDays(1).toInstant(ZoneOffset.UTC); // Timestamp previousDay = Timestamp.newBuilder()