View Source GoogleApi.MyBusinessNotifications.V1.Model.NotificationSetting (google_api_my_business_notifications v0.2.1)

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.

Attributes

  • name (type: String.t, default: nil) - Required. The resource name this setting is for. This is of the form accounts/{account_id}/notificationSetting.
  • notificationTypes (type: list(String.t), default: nil) - 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.
  • pubsubTopic (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MyBusinessNotifications.V1.Model.NotificationSetting{
  name: String.t() | nil,
  notificationTypes: [String.t()] | nil,
  pubsubTopic: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.