* The My Business Notification Settings API enables managing notification * settings for business accounts.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class MyBusinessNotificationSettings extends \Google\Service { public $accounts; /** * Constructs the internal representation of the * MyBusinessNotificationSettings service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://mybusinessnotifications.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'mybusinessnotifications'; $this->accounts = new MyBusinessNotificationSettings\Resource\Accounts( $this, $this->serviceName, 'accounts', [ 'methods' => [ 'getNotificationSetting' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'updateNotificationSetting' => [ 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MyBusinessNotificationSettings::class, 'Google_Service_MyBusinessNotificationSettings');