Class PubsubnotificationsettingsResource
The "pubsubnotificationsettings" collection of methods.
Inheritance
System.Object
PubsubnotificationsettingsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class PubsubnotificationsettingsResource
Constructors
PubsubnotificationsettingsResource(IClientService)
Constructs a new resource.
Declaration
public PubsubnotificationsettingsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(UInt64)
Retrieves a Merchant Center account's pubsub notification settings.
Declaration
public virtual PubsubnotificationsettingsResource.GetRequest Get(ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
System.UInt64 | merchantId | The ID of the account for which to get pubsub notification settings. |
Returns
Type | Description |
---|---|
PubsubnotificationsettingsResource.GetRequest |
Update(PubsubNotificationSettings, UInt64)
Register a Merchant Center account for pubsub notifications. Note that cloud topic name should not be provided as part of the request.
Declaration
public virtual PubsubnotificationsettingsResource.UpdateRequest Update(PubsubNotificationSettings body, ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
PubsubNotificationSettings | body | The body of the request. |
System.UInt64 | merchantId | The ID of the account. |
Returns
Type | Description |
---|---|
PubsubnotificationsettingsResource.UpdateRequest |