Google Business Performance API memiliki metode API
BARU yang memungkinkan pengambilan beberapa `DailyMetrics` dalam satu permintaan API.
Tinjau
jadwal penghentian dan petunjuk untuk bermigrasi dari metode API reportInsights v4 ke Google Business Profile Performance API.
Method: accounts.locations.reviews.get
Menampilkan ulasan tertentu. Operasi ini hanya valid jika lokasi yang ditentukan diverifikasi. Menampilkan NOT_FOUND
jika ulasan tidak ada atau telah dihapus.
Permintaan HTTP
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/reviews/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Nama ulasan yang akan diambil.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Review
.
Cakupan Otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-02 UTC.
[null,null,["Terakhir diperbarui pada 2023-12-02 UTC."],[[["Retrieves a specific review for a verified location using a `GET` request."],["Requires providing the review's name as a path parameter in the URL."],["Returns the review details in the response body if found, otherwise returns a `NOT_FOUND` error."],["Needs authorization with specific OAuth scopes for access."]]],["This describes retrieving a specific review via a `GET` request to a defined URL. The URL utilizes gRPC Transcoding syntax and requires a `name` path parameter, which is a string identifying the review. The request body must be empty. A successful request returns a `Review` instance in the response body. Access requires one of two specified OAuth authorization scopes. The operation is only possible if the location has been verified, if not it will return a not found response.\n"]]