Class PubsubnotificationsettingsResource
The "pubsubnotificationsettings" collection of methods.
Inherited Members
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(ulong)
Retrieves a Merchant Center account's pubsub notification settings.
Declaration
public virtual PubsubnotificationsettingsResource.GetRequest Get(ulong merchantId)
Parameters
Type | Name | Description |
---|---|---|
ulong | merchantId | The ID of the account for which to get pubsub notification settings. |
Returns
Type | Description |
---|---|
PubsubnotificationsettingsResource.GetRequest |
Update(PubsubNotificationSettings, ulong)
Register a Merchant Center account for pubsub notifications. Note that cloud topic name shouldn't 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. |
ulong | merchantId | The ID of the account. |
Returns
Type | Description |
---|---|
PubsubnotificationsettingsResource.UpdateRequest |