Skip to content

Commit aaf47a2

Browse files
dfirovaShabirmean
authored andcommitted
fix(samples): removed region tags (#531)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-retail/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> ☕️ If you write sample code, please follow the [samples format]( https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
1 parent 6f0697b commit aaf47a2

24 files changed

+0
-102
lines changed

retail/interactive-tutorials/src/main/java/events/ImportUserEventsBigQuery.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_import_user_events_from_big_query]
18-
1917
/*
2018
* Import user events into a catalog from GCS using Retail API
2119
*/
@@ -112,5 +110,3 @@ public static void importUserEventsFromBigQuery(
112110
}
113111
}
114112
}
115-
116-
// [END retail_import_user_events_from_big_query]

retail/interactive-tutorials/src/main/java/events/ImportUserEventsGcs.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_import_user_events_from_gcs]
18-
1917
/*
2018
* Import user events into a catalog from GCS using Retail API
2119
*/
@@ -122,5 +120,3 @@ public static void importUserEventsFromGcs(String gcsEventsObject, String defaul
122120
}
123121
}
124122
}
125-
126-
// [END retail_import_user_events_from_gcs]

retail/interactive-tutorials/src/main/java/events/ImportUserEventsInline.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_import_user_events_from_inline_source]
18-
1917
/*
2018
* Import user events into a catalog from inline source using Retail API
2119
*/
@@ -125,5 +123,3 @@ public static void importUserEventsFromInlineSource(String defaultCatalog)
125123
}
126124
}
127125
}
128-
129-
// [END retail_import_user_events_from_inline_source]

retail/interactive-tutorials/src/main/java/events/PurgeUserEvent.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_purge_user_event]
18-
1917
/*
2018
* Purge user events into a catalog from inline source using Retail API
2119
*/
@@ -72,5 +70,3 @@ public static void callPurgeUserEvents(String defaultCatalog, String visitorId)
7270
}
7371
}
7472
}
75-
76-
// [END retail_purge_user_event]

retail/interactive-tutorials/src/main/java/events/RejoinUserEvent.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_rejoin_user_event]
18-
1917
/*
2018
* Rejoin user events into a catalog from inline source using Retail API
2119
*/
@@ -74,5 +72,3 @@ public static void callRejoinUserEvents(String defaultCatalog, String visitorId)
7472
purgeUserEvent(visitorId);
7573
}
7674
}
77-
78-
// [END retail_rejoin_user_event]

retail/interactive-tutorials/src/main/java/events/WriteUserEvent.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_write_user_event]
18-
1917
/*
2018
* Write user events into a catalog from inline source using Retail API
2119
*/
@@ -79,5 +77,3 @@ public static void writeUserEvent(String defaultCatalog, String visitorId)
7977
purgeUserEvent(visitorId);
8078
}
8179
}
82-
83-
// [END retail_write_user_event]

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
/*
18-
* [START retail_add_fulfillment_places]
19-
*/
20-
2117
package product;
2218

2319
import static setup.SetupCleanup.createProduct;
@@ -82,5 +78,3 @@ public static void addFulfillmentPlaces(String productName, String placeId)
8278
}
8379
}
8480
}
85-
86-
// [END retail_add_fulfillment_places]

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_create_product]
18-
1917
/*
2018
* Create product in a catalog using Retail API
2119
*/
@@ -88,5 +86,3 @@ public static Product createProduct(String productId, String branchName) throws
8886
}
8987
}
9088
}
91-
92-
// [END retail_create_product]

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_crud_product]
18-
1917
/*
2018
* Create product in a catalog using Retail API
2119
*/
@@ -175,5 +173,3 @@ public static void deleteProduct(String productName) throws IOException {
175173
}
176174
}
177175
}
178-
179-
// [END retail_crud_product]

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
// [START retail_delete_product]
18-
1917
/*
2018
* Delete product from a catalog using Retail API
2119
*/
@@ -54,5 +52,3 @@ public static void deleteProduct(String productName) throws IOException {
5452
}
5553
}
5654
}
57-
58-
// [END retail_delete_product]

0 commit comments

Comments
 (0)