Skip to content

Commit

Permalink
fix: [RecommendationEngine] Fix recommendationengine resource name co…
Browse files Browse the repository at this point in the history
…nfiguration (#5494)

* fix: Fix recommendationengine resource name configuration

PiperOrigin-RevId: 473779245

Source-Link: googleapis/googleapis@ee05df9

Source-Link: googleapis/googleapis-gen@d151c13
Copy-Tag: eyJwIjoiUmVjb21tZW5kYXRpb25FbmdpbmUvLk93bEJvdC55YW1sIiwiaCI6ImQxNTFjMTM2YjdkZTY2YjdiNTI0ODE3MzYwYzYzOWQwMTFlZjAwM2QifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and vishwarajanand committed Nov 8, 2022
1 parent 9ad9cfe commit a6e92d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private static function getCatalogNameTemplate()
private static function getCatalogItemPathNameTemplate()
{
if (self::$catalogItemPathNameTemplate == null) {
self::$catalogItemPathNameTemplate = new PathTemplate('projects/{project}/locations/{location}/catalogs/{catalog}/catalogItems/{catalog_item_path=**}');
self::$catalogItemPathNameTemplate = new PathTemplate('projects/{project}/locations/{location}/catalogs/{catalog}/catalogItems/{catalog_item_path}');
}

return self::$catalogItemPathNameTemplate;
Expand Down Expand Up @@ -214,7 +214,7 @@ public static function catalogItemPathName($project, $location, $catalog, $catal
* The following name formats are supported:
* Template: Pattern
* - catalog: projects/{project}/locations/{location}/catalogs/{catalog}
* - catalogItemPath: projects/{project}/locations/{location}/catalogs/{catalog}/catalogItems/{catalog_item_path=**}
* - catalogItemPath: projects/{project}/locations/{location}/catalogs/{catalog}/catalogItems/{catalog_item_path}
*
* The optional $template argument can be supplied to specify a particular pattern,
* and must match one of the templates listed above. If no $template argument is
Expand Down

0 comments on commit a6e92d5

Please sign in to comment.