Accounts
class Accounts extends Resource (View source)
The "accounts" collection of methods.
Typical usage is:
$mybusinessnotificationsService = new Google\Service\MyBusinessNotificationSettings(...);
$accounts = $mybusinessnotificationsService->accounts;
Methods
Returns the pubsub notification settings for the account.
Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types (accounts.updateNotificationSetting)
Details
NotificationSetting
getNotificationSetting(string $name, array $optParams = [])
Returns the pubsub notification settings for the account.
(accounts.getNotificationSetting)
NotificationSetting
updateNotificationSetting(string $name, NotificationSetting $postBody, array $optParams = [])
Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types (accounts.updateNotificationSetting)