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: locations.verifications.list
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Cantumkan verifikasi lokasi, yang diurutkan berdasarkan waktu pembuatan.
Permintaan HTTP
GET https://mybusinessverifications.googleapis.com/v1/{parent=locations/*}/verifications
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib diisi. Nama resource lokasi yang memiliki permintaan verifikasi.
|
Parameter kueri
Parameter |
pageSize |
integer
Berapa banyak verifikasi yang disertakan per halaman. Minimum 1, serta ukuran halaman default dan maksimum 100.
|
pageToken |
string
Jika ditentukan, menampilkan halaman verifikasi berikutnya.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Pesan respons untuk Verifications.ListVerifications.
Jika berhasil, isi respons memuat data dengan struktur berikut:
Representasi JSON |
{
"verifications": [
{
object (Verification )
}
],
"nextPageToken": string
} |
Kolom |
verifications[] |
object (Verification )
Daftar verifikasi.
|
nextPageToken |
string
Jika jumlah verifikasi melampaui ukuran halaman yang diminta, kolom ini akan diisi dengan token untuk mengambil halaman verifikasi berikutnya pada panggilan berikutnya. Jika tidak ada atribut lagi, kolom ini tidak akan ada dalam respons.
|
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
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 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eThis document outlines how to list verifications for a specific location using the Google My Business Verifications API.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve a list of verifications, ordered by creation time, by sending a GET request to the specified endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request allows for pagination using \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses will contain a list of verifications and a token for retrieving subsequent pages if available.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: locations.verifications.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListVerificationsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nList verifications of a location, ordered by create time.\n\n### HTTP request\n\n`GET https://mybusinessverifications.googleapis.com/v1/{parent=locations/*}/verifications`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------|\n| `parent` | `string` Required. Resource name of the location that verification requests belong to. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` How many verification to include per page. Minimum is 1, and the default and maximum page size is 100. |\n| `pageToken` | `string` If specified, returns the next page of verifications. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for Verifications.ListVerifications.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"verifications\": [ { object (/my-business/reference/verifications/rest/v1/Verification) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `verifications[]` | `object (`[Verification](/my-business/reference/verifications/rest/v1/Verification)`)` List of the verifications. |\n| `nextPageToken` | `string` If the number of verifications exceeded the requested page size, this field will be populated with a token to fetch the next page of verification on a subsequent call. If there are no more attributes, this field will not be present in the response. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]