Locations
class Locations extends Resource (View source)
The "locations" collection of methods.
Typical usage is:
$mybusinessbusinessinformationService = new Google\Service\MyBusinessBusinessInformation(...);
$locations = $mybusinessbusinessinformationService->locations;
Methods
Deletes a location. If this location cannot be deleted using the API and it
is marked so in the google.mybusiness.businessinformation.v1.LocationState
,
use the Google Business Profile
website. (locations.delete)
Looks up all the attributes set for a given location.
Gets the Google-updated version of the specified location.
Update attributes for a given location. (locations.updateAttributes)
Details
MybusinessbusinessinformationEmpty
delete(string $name, array $optParams = [])
Deletes a location. If this location cannot be deleted using the API and it
is marked so in the google.mybusiness.businessinformation.v1.LocationState
,
use the Google Business Profile
website. (locations.delete)
Location
get(string $name, array $optParams = [])
Returns the specified location. (locations.get)
Attributes
getAttributes(string $name, array $optParams = [])
Looks up all the attributes set for a given location.
(locations.getAttributes)
GoogleUpdatedLocation
getGoogleUpdated(string $name, array $optParams = [])
Gets the Google-updated version of the specified location.
(locations.getGoogleUpdated)
Location
patch(string $name, Location $postBody, array $optParams = [])
Updates the specified location. (locations.patch)
Attributes
updateAttributes(string $name, Attributes $postBody, array $optParams = [])
Update attributes for a given location. (locations.updateAttributes)