Method: accounts.getNotificationSetting

  • This document describes how to retrieve pubsub notification settings for a Google My Business account using the GET method.

  • The request requires the name path parameter, representing the resource name of the notification setting.

  • Upon successful execution, the response returns a NotificationSetting object containing the account's notification settings.

  • To authorize, include the https://www.googleapis.com/auth/business.manage OAuth 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

string

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.