gmb_notifications_accounts_updatenotificationsetting
Update an account's notification settings to set a Pub/Sub topic and choose which event types trigger notifications, or clear them to stop receiving notifications.
Instructions
PATCH v1/{+name}. Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body for this Google API method. | |
| name | Yes | Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`. | |
| fields | No | Selector specifying which fields to include in a partial response. | |
| $.xgafv | No | V1 error format. | |
| quotaUser | No | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
| updateMask | No | Required. The specific fields that should be updated. The only editable field is notification_setting. | |
| prettyPrint | No | Returns response with indentations and line breaks. |