v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13215.9 KB
accounts

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

patch/v1/{+name}

Path parameters

namestring required

Required. The resource name this setting is for. This is of the form accounts/{account_id}/notificationSetting.

Query parameters

updateMaskstring

Required. The specific fields that should be updated. The only editable field is notification_setting.

Request body

notificationTypesstring[]

The types of notifications that will be sent to the Pub/Sub topic. To stop receiving notifications entirely, use NotificationSettings.UpdateNotificationSetting with an empty notification_types or set the pubsub_topic to an empty string.

pubsubTopicstring

Optional. The Google Pub/Sub topic that will receive notifications when locations managed by this account are updated. If unset, no notifications will be posted. The account mybusiness-api-pubsub@system.gserviceaccount.com must have at least Publish permissions on the Pub/Sub topic.

namestring

Required. The resource name this setting is for. This is of the form accounts/{account_id}/notificationSetting.

Response

Successful response