[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[[["\u003cp\u003ePubsubNotificationSettings allows you to configure Pub/Sub notifications for your Merchant Center account, requiring direct user access.\u003c/p\u003e\n"],["\u003cp\u003eThese settings define where notifications are sent (\u003ccode\u003ecloudTopicName\u003c/code\u003e) and which events trigger them (\u003ccode\u003eregisteredEvents\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve existing notification settings using the \u003ccode\u003eget\u003c/code\u003e method and register or update them with the \u003ccode\u003eupdate\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eorderPendingShipment\u003c/code\u003e event is a supported event type for triggering notifications.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of PubsubNotificationSettings includes \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003ecloudTopicName\u003c/code\u003e, and \u003ccode\u003eregisteredEvents\u003c/code\u003e fields.\u003c/p\u003e\n"]]],["Pub/Sub notification settings manage notifications for a Merchant Center account, requiring direct user access. Settings include a `kind`, a read-only `cloudTopicName`, and a list of `registeredEvents`. The only currently available registered event is `orderPendingShipment`. The `get` method retrieves notification settings, while the `update` method registers an account for these notifications. The settings use a specific JSON structure.\n"],null,["# REST Resource: pubsubnotificationsettings\n\n- [Resource: PubsubNotificationSettings](#PubsubNotificationSettings)\n - [JSON representation](#PubsubNotificationSettings.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: PubsubNotificationSettings\n------------------------------------\n\nSettings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"cloudTopicName\": string, \"registeredEvents\": [ string ] } ``` |\n\n| Fields ||\n|----------------------|-------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string \"`content#pubsubNotificationSettings`\" |\n| `cloudTopicName` | `string` Cloud pub/sub topic to which notifications are sent (read-only). |\n| `registeredEvents[]` | `string` List of event types. Acceptable values are: - \"`orderPendingShipment`\" \u003cbr /\u003e |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|---------------------------------------------------------------------|\n| ### [get](/shopping-content/reference/rest/v2.1/pubsubnotificationsettings/get) | Retrieves a Merchant Center account's pubsub notification settings. |\n| ### [update](/shopping-content/reference/rest/v2.1/pubsubnotificationsettings/update) | Register a Merchant Center account for pubsub notifications. |"]]