# REST Resource: pubsubnotificationsettings

- [Resource: PubsubNotificationSettings](https://developers.google.com/shopping-content/reference/rest/v2.1/pubsubnotificationsettings#PubsubNotificationSettings)
  - [JSON representation](https://developers.google.com/shopping-content/reference/rest/v2.1/pubsubnotificationsettings#PubsubNotificationSettings.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/shopping-content/reference/rest/v2.1/pubsubnotificationsettings#METHODS_SUMMARY)

## Resource: PubsubNotificationSettings

Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.

| JSON representation |
|---|
| ``` { "kind": string, "cloudTopicName": string, "registeredEvents": [ string ] } ``` |

| Fields ||
|---|---|
| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string "`content#pubsubNotificationSettings`" |
| `cloudTopicName` | `string` Cloud pub/sub topic to which notifications are sent (read-only). |
| `registeredEvents[]` | `string` List of event types. Acceptable values are: - "`orderPendingShipment`" <br /> |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/shopping-content/reference/rest/v2.1/pubsubnotificationsettings/get` | Retrieves a Merchant Center account's pubsub notification settings. |
| ### `https://developers.google.com/shopping-content/reference/rest/v2.1/pubsubnotificationsettings/update` | Register a Merchant Center account for pubsub notifications. |