class Chains extends Resource (View source)

The "chains" collection of methods.

Typical usage is:

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

Methods

get(string $name, array $optParams = [])

Gets the specified chain. Returns NOT_FOUND if the chain does not exist.

search(array $optParams = [])

Searches the chain based on chain name. (chains.search)

Details

Chain get(string $name, array $optParams = [])

Gets the specified chain. Returns NOT_FOUND if the chain does not exist.

(chains.get)

Parameters

string $name

Required. The chain's resource name, in the format chains/{chain_place_id}.

array $optParams

Optional parameters.

Return Value

Chain

Exceptions

Exception

Searches the chain based on chain name. (chains.search)

Parameters

array $optParams

Optional parameters.

Return Value

SearchChainsResponse

Exceptions

Exception