class Categories extends Resource (View source)

The "categories" collection of methods.

Typical usage is:

 $mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
 $categories = $mybusinessbusinessinformationService->categories;

Methods

batchGet(array $optParams = [])

Returns a list of business categories for the provided language and GConcept ids. (categories.batchGet)

listCategories(array $optParams = [])

Returns a list of business categories. Search will match the category name but not the category ID. Search only matches the front of a category name (that is, 'food' may return 'Food Court' but not 'Fast Food Restaurant').

Details

BatchGetCategoriesResponse batchGet(array $optParams = [])

Returns a list of business categories for the provided language and GConcept ids. (categories.batchGet)

Parameters

array $optParams

Optional parameters.

Return Value

BatchGetCategoriesResponse

Exceptions

Exception

ListCategoriesResponse listCategories(array $optParams = [])

Returns a list of business categories. Search will match the category name but not the category ID. Search only matches the front of a category name (that is, 'food' may return 'Food Court' but not 'Fast Food Restaurant').

(categories.listCategories)

Parameters

array $optParams

Optional parameters.

Return Value

ListCategoriesResponse

Exceptions

Exception