Skip to content

fix: bulk update retail region tags, lint #10118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

package events;

// [START retail_write_user_event]
import static setup.SetupCleanup.purgeUserEvent;

import com.google.cloud.ServiceOptions;
Expand Down Expand Up @@ -78,3 +79,4 @@ public static void writeUserEvent(String defaultCatalog, String visitorId)
purgeUserEvent(visitorId);
}
}
// [END retail_write_user_event]
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

// [START retail_add_fulfillment_places]

package product;

// [START retail_add_fulfillment_places]
import static setup.SetupCleanup.createProduct;
import static setup.SetupCleanup.deleteProduct;
import static setup.SetupCleanup.getProduct;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
/*
* Delete product from a catalog using Retail API
*/
// [START retail_delete_product]

package product;

// [START retail_delete_product]
import static setup.SetupCleanup.createProduct;

import com.google.cloud.retail.v2.DeleteProductRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

package product;

// [START retail_get_product]
import static setup.SetupCleanup.createProduct;
import static setup.SetupCleanup.deleteProduct;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

package product;

// [START retail_import_products_from_inline_source]
import com.google.api.gax.rpc.InvalidArgumentException;
import com.google.cloud.ServiceOptions;
import com.google.cloud.retail.v2.ColorInfo;
Expand Down Expand Up @@ -208,3 +209,4 @@ public static List<Product> getProducts() {
return products;
}
}
// [END retail_import_products_from_inline_source]
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package product;

// [START retail_remove_fulfillment_places]
import static setup.SetupCleanup.createProduct;
import static setup.SetupCleanup.deleteProduct;
import static setup.SetupCleanup.getProduct;
Expand Down Expand Up @@ -82,3 +83,4 @@ public static void removeFulfillmentPlaces(String productName, String storeId)
}
}
}
// [END retail_remove_fulfillment_places]
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

package search;

// [START retail_search_for_products_with_query_expansion_specification]
import com.google.cloud.ServiceOptions;
import com.google.cloud.retail.v2.SearchRequest;
import com.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec;
Expand Down Expand Up @@ -76,3 +77,4 @@ public static void searchResponse(String defaultSearchPlacementName) throws IOEx
}
}
}
// [END retail_search_for_products_with_query_expansion_specification]