AI-generated Key Takeaways
-
This document describes how to retrieve pubsub notification settings for a Google My Business account using the
GETmethod. -
The request requires the
namepath parameter, representing the resource name of the notification setting. -
Upon successful execution, the response returns a
NotificationSettingobject containing the account's notification settings. -
To authorize, include the
https://www.googleapis.com/auth/business.manageOAuth scope.
Returns the pubsub notification settings for the account.
HTTP request
GET https://mybusinessnotifications.googleapis.com/v1/{name=accounts/*/notificationSetting}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The resource name of the notification setting we are trying to fetch. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of NotificationSetting.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.