Class NotificationSetting
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.
Implements
Inherited Members
Namespace: Google.Apis.MyBusinessNotificationSettings.v1.Data
Assembly: Google.Apis.MyBusinessNotificationSettings.v1.dll
Syntax
public class NotificationSetting : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. The resource name this setting is for. This is of the form
accounts/{account_id}/notificationSetting
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NotificationTypes
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.
Declaration
[JsonProperty("notificationTypes")]
public virtual IList<string> NotificationTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
PubsubTopic
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.
Declaration
[JsonProperty("pubsubTopic")]
public virtual string PubsubTopic { get; set; }
Property Value
Type | Description |
---|---|
string |