class ProjectsLocationsCatalogs extends Resource (View source)

The "catalogs" collection of methods.

Typical usage is:

 $recommendationengineService = new Google\Service\RecommendationsAI(...);
 $catalogs = $recommendationengineService->projects_locations_catalogs;

Methods

listProjectsLocationsCatalogs(string $parent, array $optParams = [])

Lists all the catalog configurations associated with the project.

patch(string $name, GoogleCloudRecommendationengineV1beta1Catalog $postBody, array $optParams = [])

Updates the catalog configuration. (catalogs.patch)

Details

GoogleCloudRecommendationengineV1beta1ListCatalogsResponse listProjectsLocationsCatalogs(string $parent, array $optParams = [])

Lists all the catalog configurations associated with the project.

(catalogs.listProjectsLocationsCatalogs)

Parameters

string $parent

Required. The account resource name with an associated location.

array $optParams

Optional parameters.

Return Value

GoogleCloudRecommendationengineV1beta1ListCatalogsResponse

Exceptions

Exception

GoogleCloudRecommendationengineV1beta1Catalog patch(string $name, GoogleCloudRecommendationengineV1beta1Catalog $postBody, array $optParams = [])

Updates the catalog configuration. (catalogs.patch)

Parameters

string $name

The fully qualified resource name of the catalog.

GoogleCloudRecommendationengineV1beta1Catalog $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudRecommendationengineV1beta1Catalog

Exceptions

Exception