You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: retail/interactive-tutorials/README.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ You can find the information about the Retail services in the [documentation](ht
39
39
If you would like to have a closer look at the Retail API features and try them yourself,
40
40
the best option is to use the [Interactive Tutorials](https://cloud.google.com/retail/docs/overview). In the documentation chapters find the "Guide me" button, the tutorials will be launched in the CloudShell environment, and you will be able to request the Retail services and check the response with minimum time and effort.
41
41
42
-
The code samples in the directory **java-retail/samples/interactive-tutorials** are explicitly created for use with the Retail Interactive Tutorials.
42
+
The code samples in the directory **java-docs-samples/retail/interactive-tutorials** are explicitly created for use with the Retail Interactive Tutorials.
43
43
44
44
If, for some reason, you have decided to proceed with these code samples without the tutorial, please go through the following steps and set up the required preconditions.
45
45
@@ -52,10 +52,10 @@ To prepare the work environment you should perform the following steps:
52
52
53
53
### There are two ways to set up your work environment:
54
54
55
-
- If you want to **speed up the process** of setting up the working environment, run the script java-retail/samples/interactive-tutorials/samples/interactive-tutorials/src/main/java/user_environment_setup.sh and skip the next **set up the work environment step-by-step** tutorial step:
55
+
- If you want to **speed up the process** of setting up the working environment, run the script java-docs-samples/retail/interactive-tutorials/src/main/java/user_environment_setup.sh and skip the next **set up the work environment step-by-step** tutorial step:
- If you want to perform the environment set up step by step along with getting the explanation you should proceed with the next tutorial step.
@@ -120,22 +120,22 @@ Learn more about the [Java Google Cloud Retail library](https://googleapis.dev/j
120
120
Go to the code samples directory, your starting point to run more commands.
121
121
122
122
```bash
123
-
cd java-retail/samples/interactive-tutorials/
123
+
cd java-docs-samples/retail/interactive-tutorials/
124
124
```
125
125
126
126
## Import catalog data
127
127
128
128
<i>This step is required if this is the first Retail API tutorial that you run.
129
129
Otherwise, you can skip it.</i>
130
130
131
-
There is a java-retail/samples/interactive-tutorials/src/main/resources/products.json file with valid products prepared in the `resources` directory.
131
+
There is a java-docs-samples/retail/interactive-tutorials/src/main/resources/products.json file with valid products prepared in the `resources` directory.
132
132
133
-
The other file, java-retail/samples/interactive-tutorials/src/main/resources/products_some_invalid.json, contains both valid and invalid products. You will use it to check the error handling.
133
+
The other file, java-docs-samples/retail/interactive-tutorials/src/main/resources/products_some_invalid.json, contains both valid and invalid products. You will use it to check the error handling.
134
134
135
135
- If you want to **speed up the process**, run the following script in the Terminal directory to import all products to catalog and skip the next **Prepare the catalog data step-by-step** tutorial step:
- If you want to upload products to the catalog step by step along with getting the explanation, you should proceed with the next tutorial step.
@@ -152,10 +152,10 @@ The bucket name must be unique. For convenience, you can name it `<YOUR_PROJECT_
152
152
Go to the code samples directory, your starting point to run more commands.
153
153
154
154
```bash
155
-
cd java-retail/samples/interactive-tutorials
155
+
cd java-docs-samples/retail/interactive-tutorials
156
156
```
157
157
158
-
1. To create the bucket and upload the JSON file, open java-retail/samples/interactive-tutorials/src/main/java/product/setup/ProductsCreateGcsBucket.java file
158
+
1. To create the bucket and upload the JSON file, open java-docs-samples/retail/interactive-tutorials/src/main/java/product/setup/ProductsCreateGcsBucket.java file
159
159
160
160
1. Go to the **product** directory and run the following commandin the Terminal:
161
161
@@ -180,7 +180,7 @@ The bucket name must be unique. For convenience, you can name it `<YOUR_PROJECT_
180
180
181
181
### Import products to the Retail Catalog
182
182
183
-
To import the prepared products to a catalog, open java-retail/samples/interactive-tutorials/src/main/java/product/ImportProductsGcs.java file and run the following commandin the Terminal:
183
+
To import the prepared products to a catalog, open java-docs-samples/retail/interactive-tutorials/src/main/java/product/ImportProductsGcs.java file and run the following commandin the Terminal:
0 commit comments