NotificationSetting
import type { NotificationSetting } from "https://googleapis.deno.dev/v1/mybusinessnotifications:v1.ts";
A Google Pub/Sub topic where notifications can be published when a location is updated or has a new review. There will be only one notification setting resource per-account.
§Properties
Required. The resource name this setting is for. This is of the form
accounts/{account_id}/notificationSetting
.
The types of notifications that will be sent to the Pub/Sub topic. To stop receiving notifications entirely, use NotificationSettings.UpdateNotificationSetting with an empty notification_types or set the pubsub_topic to an empty string.
Optional. The Google Pub/Sub topic that will receive notifications when locations managed by this account are updated. If unset, no notifications will be posted. The account mybusiness-api-pubsub@system.gserviceaccount.com must have at least Publish permissions on the Pub/Sub topic.