Skip to content

Commit e4d2fe9

Browse files
authored
fix(retail): add region tag for Java - Update CreateProduct.java (#10105)
* Update SearchWithPagination.java * Update CreateProduct.java * Update retail/interactive-tutorials/src/main/java/product/CreateProduct.java
1 parent 7484bb3 commit e4d2fe9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

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

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

2121
package product;
2222

23+
// [START retail_create_product]
24+
2325
import static setup.SetupCleanup.deleteProduct;
2426

2527
import com.google.cloud.ServiceOptions;
@@ -86,3 +88,5 @@ public static Product createProduct(String productId, String branchName) throws
8688
}
8789
}
8890
}
91+
92+
// [END retail_create_product]

retail/interactive-tutorials/src/main/java/search/SearchWithPagination.java

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

2323
package search;
2424

25+
// [START retail_search_for_products_with_pagination]
26+
2527
import com.google.cloud.ServiceOptions;
2628
import com.google.cloud.retail.v2.SearchRequest;
2729
import com.google.cloud.retail.v2.SearchResponse;
@@ -77,3 +79,5 @@ public static void searchResponse(String defaultSearchPlacementName) throws IOEx
7779
}
7880
}
7981
}
82+
83+
// [END retail_search_for_products_with_pagination]

0 commit comments

Comments
 (0)