Skip to content

Commit 9f863a9

Browse files
rebeccaellisgemini-code-assist[bot]glasnt
authored
fix(retail): add region tag for Java - Update setInventory.java (#10120)
* Update SearchWithPagination.java * Update SetInventory.java * Update retail/interactive-tutorials/src/main/java/product/SetInventory.java Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update retail/interactive-tutorials/src/main/java/product/SetInventory.java Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Remove excess comments --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Katie McLaughlin <[email protected]>
1 parent 23b1a5a commit 9f863a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

retail/interactive-tutorials/src/main/java/product/SetInventory.java

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

1717
package product;
1818

19+
// [START retail_set_inventory]
20+
1921
import static setup.SetupCleanup.createProduct;
2022
import static setup.SetupCleanup.deleteProduct;
2123
import static setup.SetupCleanup.getProduct;
@@ -93,6 +95,8 @@ public static void setInventory(String productName) throws IOException, Interrup
9395
.build();
9496
System.out.printf("Set inventory request: %s%n", setInventoryRequest);
9597

98+
// [END retail_set_inventory]
99+
96100
// To send an out-of-order request assign the invalid SetTime here:
97101
// Instant instant = LocalDateTime.now().minusDays(1).toInstant(ZoneOffset.UTC);
98102
// Timestamp previousDay = Timestamp.newBuilder()

0 commit comments

Comments
 (0)