require 'vendor/autoload.php';
use Google\Cloud\Retail\V2\CatalogServiceClient;
$client = new CatalogServiceClient();
$catalogs = $client->listCatalogs(
CatalogServiceClient::locationName('[MY_PROJECT_ID]', 'global')
);
foreach ($catalogs as $catalog) {
print 'Catalog: ' . $catalog->getName() . PHP_EOL;
}Repository navigation
V2
Directory actions
More options
Directory actions
More options
V2
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||