Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
REST Resource: locations.admins
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: ผู้ดูแลระบบ
ผู้ดูแลระบบของบัญชีหรือสถานที่
การแสดง JSON |
{
"name": string,
"admin": string,
"account": string,
"role": enum (AdminRole ),
"pendingInvitation": boolean
} |
ช่อง |
name |
string
เปลี่ยนแปลงไม่ได้ ชื่อทรัพยากร สำหรับผู้ดูแลบัญชี ข้อมูลนี้จะอยู่ในรูป: accounts/{account_id}/admins/{admin_id} สำหรับผู้ดูแลระบบสถานที่ตั้ง ข้อมูลนี้จะอยู่ในรูป: locations/{locationId}/admins/{admin_id} ระบบจะไม่สนใจช่องนี้หากตั้งค่าในระหว่างที่ผู้ดูแลระบบสร้าง
|
admin |
string
ไม่บังคับ ชื่อของผู้ดูแลระบบ เมื่อสร้างคำเชิญครั้งแรก นี่คืออีเมลของผู้ได้รับเชิญ ในการโทรของ GET ระบบจะแสดงผลอีเมลของผู้ใช้หากคำเชิญยังรอดำเนินการอยู่ หรือไม่ก็จะมีชื่อและนามสกุลของผู้ใช้ ต้องตั้งค่าช่องนี้ระหว่างการสร้างผู้ดูแลระบบเท่านั้น
|
account |
string
เปลี่ยนแปลงไม่ได้ ชื่อของทรัพยากรบัญชีที่ผู้ดูแลระบบรายนี้อ้างถึง ใช้เมื่อโทรหา locations.admins.create เพื่อเชิญ LocationGroup เป็นผู้ดูแลระบบ หากตั้งค่าทั้งช่องนี้และ admin ในคำขอ CREATE ช่องนี้จะมีความสำคัญสูงกว่าและระบบจะไม่สนใจอีเมลใน admin รูปแบบ: accounts/{account}
|
role |
enum (AdminRole )
ต้องระบุ ระบุบทบาทที่ผู้ดูแลระบบรายนี้ใช้กับบัญชีหรือสถานที่ตั้งที่ระบุ
|
pendingInvitation |
boolean
เอาต์พุตเท่านั้น ระบุว่าผู้ดูแลระบบรายนี้มีคำเชิญที่รอดำเนินการสำหรับทรัพยากรที่ระบุหรือไม่
|
เมธอด |
|
เชิญผู้ใช้ที่ระบุให้เป็นผู้ดูแลระบบของสถานที่ที่ระบุ |
|
นำผู้ดูแลระบบที่ระบุออกจากการเป็นผู้จัดการของสถานที่ที่ระบุ |
|
แสดงผู้ดูแลระบบทั้งหมดของสถานที่ที่ระบุ |
|
อัปเดตผู้ดูแลระบบของตำแหน่งที่ระบุ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eAn Admin is an administrator of an Account or a location, with an immutable resource name and a role specifying their access level.\u003c/p\u003e\n"],["\u003cp\u003eAdmins can be invited, removed, listed, and updated for specific locations using provided methods.\u003c/p\u003e\n"],["\u003cp\u003eAdmin creation requires the \u003ccode\u003erole\u003c/code\u003e field, while optional fields include the admin's name/email and associated account.\u003c/p\u003e\n"],["\u003cp\u003eA pending invitation status is indicated for each admin, along with whether it's for an Account or Location.\u003c/p\u003e\n"],["\u003cp\u003eAdmins for Accounts are in the form \u003ccode\u003eaccounts/{account_id}/admins/{admin_id}\u003c/code\u003e and for Locations are in the form \u003ccode\u003elocations/{locationId}/admins/{admin_id}\u003c/code\u003e.\u003c/p\u003e\n"]]],["Admins, representing administrators of an Account or location, are managed via various methods. Key actions include: `create`, which invites a user to be a location administrator; `delete`, which removes an admin; `list`, to view all location admins; and `patch`, to update admin details. An admin's JSON representation includes their name, role, account affiliation, and pending invitation status. Fields such as `name`, `admin`, `account`, `role`, and `pendingInvitation` are described with their type and usage.\n"],null,[]]