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.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 akun yang ditentukan. |
delete (deprecated)
|
Menghapus admin tertentu dari akun yang ditentukan. |
list (deprecated)
|
Menampilkan daftar admin untuk akun yang ditentukan. |
patch (deprecated)
|
Memperbarui Admin untuk Admin Akun 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, managing permissions and access.\u003c/p\u003e\n"],["\u003cp\u003eAdmins have roles, names (initially email addresses, later full names), and can have pending invitations.\u003c/p\u003e\n"],["\u003cp\u003eJSON representation includes name, adminName, role, and pendingInvitation fields detailing admin properties.\u003c/p\u003e\n"],["\u003cp\u003eDeprecated methods like \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003epatch\u003c/code\u003e were previously used for managing Admins.\u003c/p\u003e\n"]]],["Admins manage accounts or locations. Key attributes include `name` (resource identifier), `adminName` (email/user's name), `role` (admin's function), and `pendingInvitation` (invitation status). Methods, all deprecated, allow for inviting a user as an administrator (`create`), removing an admin (`delete`), listing admins (`list`), and updating an admin's information (`patch`). The JSON representation contains these fields for managing Admin resources.\n"],null,["# REST Resource: accounts.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.admins/create)` ` **(deprecated)** | Invites the specified user to become an administrator for the specified account. |\n| ### [delete](/my-business/reference/rest/v4/accounts.admins/delete)` ` **(deprecated)** | Removes the specified admin from the specified account. |\n| ### [list](/my-business/reference/rest/v4/accounts.admins/list)` ` **(deprecated)** | Lists the admins for the specified account. |\n| ### [patch](/my-business/reference/rest/v4/accounts.admins/patch)` ` **(deprecated)** | Updates the Admin for the specified Account Admin. |"]]