Google Business Performance API에는 단일 API 요청으로 여러 'DailyMetrics'를 가져올 수 있는
새로운 API 메서드가 있습니다.
v4 reportInsights API 메서드에서 Google Business Profile Performance API로 이전하려면
지원 중단 일정 및 안내를 검토하세요.
Notifications
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
위치가 업데이트되거나 새로운 리뷰가 있을 때 알림을 게시할 수 있는 Google Cloud Pub/Sub 주제 알림 설정 리소스는 계정당 하나만 있습니다.
JSON 표현 |
{
"name": string,
"topicName": string,
"notificationTypes": [
enum (NotificationType )
]
} |
NotificationType
Cloud Pub/Sub 주제로 전송되는 알림 유형입니다.
열거형 |
NOTIFICATION_TYPE_UNSPECIFIED |
알림 유형이 없습니다. 일치하는 알림이 없습니다. |
GOOGLE_UPDATE |
위치에 검토를 위한 Google 업데이트가 있습니다. 알림의 locationName 필드는 Google 업데이트가 있는 위치의 리소스 이름을 제공합니다. |
NEW_REVIEW |
위치에 새 리뷰가 추가되었습니다. 알림의 reviewName 필드는 추가된 리뷰의 리소스 이름을 제공하며 locationName에는 위치의 리소스 이름이 포함됩니다. |
UPDATED_REVIEW |
위치에 대한 리뷰가 업데이트되었습니다. 알림의 reviewName 필드는 추가된 리뷰의 리소스 이름을 제공하며 locationName에는 위치의 리소스 이름이 포함됩니다. |
NEW_CUSTOMER_MEDIA |
Google 지도 사용자가 위치에 새 미디어 항목을 추가했습니다. 알림은 새 미디어 항목의 리소스 이름을 제공합니다. |
NEW_QUESTION |
위치에 새 질문이 추가됩니다. 알림에 질문의 리소스 이름이 표시됩니다. |
UPDATED_QUESTION |
위치 질문이 업데이트됩니다. 알림에 질문의 리소스 이름이 표시됩니다. |
NEW_ANSWER |
위치에 새 답변이 추가됩니다. 알림에는 질문과 답변의 리소스 이름이 표시됩니다. |
UPDATED_ANSWER |
위치에 대한 답변이 업데이트됩니다. 알림에는 질문과 답변의 리소스 이름이 표시됩니다. |
UPDATED_LOCATION_STATE |
위치의 LocationState가 업데이트되었습니다. 알림에는 업데이트된 LocationState 필드의 필드 마스크가 포함됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eGoogle Cloud Pub/Sub topic allows business accounts to receive notifications about location updates and new reviews.\u003c/p\u003e\n"],["\u003cp\u003eEach account has a single notification settings resource which can be configured to receive different types of notifications.\u003c/p\u003e\n"],["\u003cp\u003eNotifications can be triggered by various events including Google updates, new/updated reviews, customer media, questions, answers, and location state changes.\u003c/p\u003e\n"],["\u003cp\u003eTo receive notifications, the 'mybusiness-api-pubsub@system.gserviceaccount.com' must have publish permissions on the specified Cloud Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eBusinesses can stop receiving notifications completely using the \u003ccode\u003eaccounts.deleteNotifications\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# Notifications\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [NotificationType](#NotificationType)\n\nA Google Cloud Pub/Sub topic where notifications can be published when a location is updated or has a new review. There will be only one notification settings resource per-account.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"topicName\": string, \"notificationTypes\": [ enum (/my-business/reference/rest/v4/Notifications#NotificationType) ] } ``` |\n\n| Fields ||\n|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The notifications resource name. |\n| `topicName` | `string` The Google Cloud 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](mailto:mybusiness-api-pubsub@system.gserviceaccount.com) must have at least Publish permissions on the Cloud Pub/Sub topic. |\n| `notificationTypes[]` | `enum (`[NotificationType](/my-business/reference/rest/v4/Notifications#NotificationType)`)` The types of notifications that will be sent to the Cloud Pub/Sub topic. At least one must be specified. To stop receiving notifications entirely, use [accounts.deleteNotifications](/my-business/reference/rest/v4/accounts/deleteNotifications#google.mybusiness.v4.Accounts.DeleteNotifications). |\n\nNotificationType\n----------------\n\nType of notification sent to the Cloud Pub/Sub topic.\n\n| Enums ||\n|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `NOTIFICATION_TYPE_UNSPECIFIED` | No notification type. Will not match any notifications. |\n| `GOOGLE_UPDATE` | The location has Google updates for review. The locationName field on the notification will provide the resource name of the location with Google updates. |\n| `NEW_REVIEW` | A new review has been added to the location. The reviewName field on the notification will provide the resource name of the review that was added, and locationName will have the location's resource name. |\n| `UPDATED_REVIEW` | A review on the location has been updated. The reviewName field on the notification will provide the resource name of the review that was added, and locationName will have the location's resource name. |\n| `NEW_CUSTOMER_MEDIA` | A new media item has been added to the location by a Google Maps user. The notification will provide the resource name of the new media item. |\n| `NEW_QUESTION` | A new question is added to the location. The notification will provide the resource name of question. |\n| `UPDATED_QUESTION` | A question of the location is updated. The notification will provide the resource name of question. |\n| `NEW_ANSWER` | A new answer is added to the location. The notification will provide the resource name of question and answer. |\n| `UPDATED_ANSWER` | An answer of the location is updated. The notification will provide the resource name of question and answer. |\n| `UPDATED_LOCATION_STATE` | The LocationState of the Location was updated. The Notification will contain the field mask of the updated LocationState fields. |"]]