Show / Hide Table of Contents

Class NotificationSubscription

Represents a notification subscription owned by a Merchant account.

Inheritance
object
NotificationSubscription
Implements
IMessage<NotificationSubscription>
IEquatable<NotificationSubscription>
IDeepCloneable<NotificationSubscription>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Notifications.V1
Assembly: Google.Shopping.Merchant.Notifications.V1.dll
Syntax
public sealed class NotificationSubscription : IMessage<NotificationSubscription>, IEquatable<NotificationSubscription>, IDeepCloneable<NotificationSubscription>, IBufferMessage, IMessage

Constructors

NotificationSubscription()

Declaration
public NotificationSubscription()

NotificationSubscription(NotificationSubscription)

Declaration
public NotificationSubscription(NotificationSubscription other)
Parameters
Type Name Description
NotificationSubscription other

Properties

AllManagedAccounts

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
Type Description
bool

CallBackUri

URL to be used to push the notification to the merchant.

Declaration
public string CallBackUri { get; set; }
Property Value
Type Description
string

HasAllManagedAccounts

Gets whether the "all_managed_accounts" field is set

Declaration
public bool HasAllManagedAccounts { get; }
Property Value
Type Description
bool

HasTargetAccount

Gets whether the "target_account" field is set

Declaration
public bool HasTargetAccount { get; }
Property Value
Type Description
bool

InterestedInCase

Declaration
public NotificationSubscription.InterestedInOneofCase InterestedInCase { get; }
Property Value
Type Description
NotificationSubscription.InterestedInOneofCase

Name

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
Type Description
string

NotificationSubscriptionName

NotificationSubscriptionName-typed view over the Name resource name property.

Declaration
public NotificationSubscriptionName NotificationSubscriptionName { get; set; }
Property Value
Type Description
NotificationSubscriptionName

RegisteredEvent

The event that the merchant wants to be notified about.

Declaration
public NotificationSubscription.Types.NotificationEventType RegisteredEvent { get; set; }
Property Value
Type Description
NotificationSubscription.Types.NotificationEventType

TargetAccount

The name of the account you want to receive notifications for. Format: accounts/{account}

Declaration
public string TargetAccount { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX