class Locations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $mybusinessaccountmanagementService = new Google\Service\MyBusinessAccountManagement(...);
 $locations = $mybusinessaccountmanagementService->locations;

Methods

transfer(string $name, TransferLocationRequest $postBody, array $optParams = [])

Moves a location from an account that the user owns to another account that the same user administers. The user must be an owner of the account the location is currently associated with and must also be at least a manager of the destination account. (locations.transfer)

Details

MybusinessaccountmanagementEmpty transfer(string $name, TransferLocationRequest $postBody, array $optParams = [])

Moves a location from an account that the user owns to another account that the same user administers. The user must be an owner of the account the location is currently associated with and must also be at least a manager of the destination account. (locations.transfer)

Parameters

string $name

Required. The name of the location to transfer. locations/{location_id}.

TransferLocationRequest $postBody
array $optParams

Optional parameters.

Return Value

MybusinessaccountmanagementEmpty

Exceptions

Exception