MyBusinessNotifications
import { MyBusinessNotifications } from "https://googleapis.deno.dev/v1/mybusinessnotifications:v1.ts";
The My Business Notification Settings API enables managing notification settings for business accounts. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.
§Methods
Returns the pubsub notification settings for the account.
Required. The resource name of the notification setting we are trying to fetch.
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
Required. The resource name this setting is for. This is of the form accounts/{account_id}/notificationSetting
.