Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions src/MyBusinessBusinessInformation/Resource/Locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ public function delete($name, $optParams = [])
return $this->call('delete', [$params], MybusinessbusinessinformationEmpty::class);
}
/**
* Returns the specified location. (locations.get)
* Returns the specified location as last set by the merchant. It may not
* reflect updates from Google or user-generated content that are live on Google
* Maps. (locations.get)
*
* @param string $name Required. The name of the location to fetch.
* @param array $optParams Optional parameters.
Expand All @@ -67,8 +69,9 @@ public function get($name, $optParams = [])
return $this->call('get', [$params], Location::class);
}
/**
* Looks up all the attributes set for a given location.
* (locations.getAttributes)
* Retrieves attributes for a location as last set by the merchant. It may not
* reflect updates from Google or user-generated content that are live on Google
* Maps. (locations.getAttributes)
*
* @param string $name Required. Google identifier for this location in the form
* of `locations/{location_id}/attributes`.
Expand All @@ -83,10 +86,11 @@ public function getAttributes($name, $optParams = [])
return $this->call('getAttributes', [$params], AttributesModel::class);
}
/**
* Gets the version of the specified location, returning a
* `GoogleUpdatedLocation` that provides the location view as it appears to
* consumers and masks indicating which fields are different than the merchant's
* information. (locations.getGoogleUpdated)
* Returns the specified location as it appears live on Google Maps and Search.
* This consumer-facing view may have been updated by Google or user-generated
* content and may differ from the merchant's version. The returned
* GoogleUpdatedLocation contains masks that indicate which fields differ from
* the merchant's information. (locations.getGoogleUpdated)
*
* @param string $name Required. The name of the location to fetch.
* @param array $optParams Optional parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
class LocationsAttributes extends \Google\Service\Resource
{
/**
* Gets the version of the specified location, returning an `Attributes` message
* that provides the attributes view as it appears to consumers, which may be
* different than the merchant's information. (attributes.getGoogleUpdated)
* Retrieves attributes for a location as they appear live on Google Maps and
* Search. This consumer-facing view may have been updated by Google or user-
* generated content and may differ from the merchant's version.
* (attributes.getGoogleUpdated)
*
* @param string $name Required. Google identifier for this location in the form
* of `locations/{location_id}/attributes`.
Expand Down
Loading