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.
REST Resource: accounts.locations.admins
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Resource: Admin
Representasi JSON |
{
"name": string,
"adminName": string,
"role": enum (AdminRole ),
"pendingInvitation": boolean
} |
Kolom |
name |
string
Nama resource. Untuk admin akun, ini dalam bentuk: accounts/{accountId}/admins/{adminId} Untuk admin lokasi, ini dalam bentuk: accounts/{accountId}/locations/{locationId}/admins/{adminId}
|
adminName |
string
Nama admin. Saat membuat undangan awal, alamat ini adalah alamat email pengguna yang diundang. Pada panggilan GET , alamat email pengguna akan ditampilkan jika undangan masih menunggu keputusan. Jika tidak, kolom akan berisi nama depan dan belakang pengguna.
|
role |
enum (AdminRole )
Menentukan AdminRole yang digunakan admin ini dengan resource Account atau Location yang ditentukan.
|
pendingInvitation |
boolean
Hanya output. Menunjukkan apakah admin ini memiliki undangan yang masih menunggu keputusan untuk resource yang ditentukan.
|
Metode |
create (deprecated)
|
Mengundang pengguna tertentu untuk menjadi administrator untuk lokasi yang ditentukan. |
delete (deprecated)
|
Menghapus admin tertentu sebagai pengelola lokasi tertentu. |
list (deprecated)
|
Menampilkan daftar semua admin untuk lokasi yang ditentukan. |
patch (deprecated)
|
Memperbarui Admin untuk Admin Lokasi yang ditentukan. |
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.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eAn Admin resource represents an administrator for a Google My Business Account or Location, with details such as name, role, and pending invitation status.\u003c/p\u003e\n"],["\u003cp\u003eAdmins have specific roles within an Account or Location, and their information is organized in a structured JSON format.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage Admins (inviting, removing, updating, or viewing them) using dedicated methods, although some methods like \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003epatch\u003c/code\u003e are currently deprecated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdmin\u003c/code\u003e resource includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003eadminName\u003c/code\u003e, \u003ccode\u003erole\u003c/code\u003e, and \u003ccode\u003ependingInvitation\u003c/code\u003e to provide comprehensive information about the administrator.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.locations.admins\n\n- [Resource: Admin](#Admin)\n - [JSON representation](#Admin.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Admin\n---------------\n\nAn administrator of an [Account](/my-business/reference/rest/v4/accounts#Account) or a [Location](/my-business/reference/rest/v4/accounts.locations#Location).\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"adminName\": string, \"role\": enum (/my-business/reference/rest/v4/AdminRole), \"pendingInvitation\": boolean } ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name. For account admins, this is in the form: `accounts/{accountId}/admins/{adminId}` For location admins, this is in the form: `accounts/{accountId}/locations/{locationId}/admins/{adminId}` |\n| `adminName` | `string` The name of the admin. When making the initial invitation, this is the invitee's email address. On `GET` calls, the user's email address is returned if the invitation is still pending. Otherwise, it contains the user's first and last names. |\n| `role` | `enum (`[AdminRole](/my-business/reference/rest/v4/AdminRole)`)` Specifies the [AdminRole](/my-business/reference/rest/v4/AdminRole) that this admin uses with the specified [Account](/my-business/reference/rest/v4/accounts#Account) or [Location](/my-business/reference/rest/v4/accounts.locations#Location) resource. |\n| `pendingInvitation` | `boolean` Output only. Indicates whether this admin has a pending invitation for the specified resource. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| ### [create](/my-business/reference/rest/v4/accounts.locations.admins/create)` ` **(deprecated)** | Invites the specified user to become an administrator for the specified location. |\n| ### [delete](/my-business/reference/rest/v4/accounts.locations.admins/delete)` ` **(deprecated)** | Removes the specified admin as a manager of the specified location. |\n| ### [list](/my-business/reference/rest/v4/accounts.locations.admins/list)` ` **(deprecated)** | Lists all of the admins for the specified location. |\n| ### [patch](/my-business/reference/rest/v4/accounts.locations.admins/patch)` ` **(deprecated)** | Updates the Admin for the specified Location Admin. |"]]