Google Business Performance API에는 단일 API 요청으로 여러 'DailyMetrics'를 가져올 수 있는
새로운 API 메서드가 있습니다.
v4 reportInsights API 메서드에서 Google Business Profile Performance API로 이전하려면
지원 중단 일정 및 안내를 검토하세요.
Method: accounts.getNotifications
계정의 Pub/Sub 알림 설정을 반환합니다.
HTTP 요청
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
name |
string
알림 설정 리소스 이름입니다.
|
응답 본문
성공한 경우 응답 본문에 Notifications
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[null,null,["최종 업데이트: 2023-12-01(UTC)"],[[["This endpoint retrieves the pubsub notification settings for a Google My Business account, but it's deprecated and the Notifications API should be used instead."],["The request is a GET request with the account name as a path parameter and an empty request body."],["If successful, the response returns a `Notifications` object containing the settings."],["Authorization requires specific OAuth scopes like `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."]]],["This document details retrieving pubsub notification settings for an account using a `GET` request to the specified URL. The request requires a `name` parameter in the URL, representing the notification settings resource. The request body must be empty. A successful response returns a `Notifications` instance. This API is deprecated, replaced by the Notifications API. Access requires one of two listed OAuth scopes for authorization. It also provides the syntax to make the call by using the [gRPC Transcoding](https://google.aip.dev/127)\n"]]