Class NotificationSubscription
Represents a notification subscription owned by a Merchant account.
Inheritance
NotificationSubscription
Assembly: Google.Shopping.Merchant.Notifications.V1Beta.dll
public sealed class NotificationSubscription : IMessage<NotificationSubscription>, IEquatable<NotificationSubscription>, IDeepCloneable<NotificationSubscription>, IBufferMessage, IMessage
Constructors
Declaration
public NotificationSubscription()
Declaration
public NotificationSubscription(NotificationSubscription other)
Parameters
Properties
If this value is true, the requesting account is notified of the
specified event for all managed accounts (can be subaccounts or other
linked accounts) including newly added accounts on a daily basis.
Declaration
public bool AllManagedAccounts { get; set; }
Property Value
URL to be used to push the notification to the merchant.
Declaration
public string CallBackUri { get; set; }
Property Value
Gets whether the "all_managed_accounts" field is set
Declaration
public bool HasAllManagedAccounts { get; }
Property Value
Gets whether the "target_account" field is set
Declaration
public bool HasTargetAccount { get; }
Property Value
Declaration
public NotificationSubscription.InterestedInOneofCase InterestedInCase { get; }
Property Value
Output only. The name
of the notification configuration. Generated by the
Content API upon creation of a new NotificationSubscription
. The
account
represents the merchant ID of the merchant that owns the
configuration. Format:
accounts/{account}/notificationsubscriptions/{notification_subscription}
Declaration
public string Name { get; set; }
Property Value
Declaration
public NotificationSubscriptionName NotificationSubscriptionName { get; set; }
Property Value
The event that the merchant wants to be notified about.
Declaration
public NotificationSubscription.Types.NotificationEventType RegisteredEvent { get; set; }
Property Value
The name
of the account you want to receive notifications for.
Format: accounts/{account}
Declaration
public string TargetAccount { get; set; }
Property Value