ส่วนเสริมของ Google Classroom พร้อมให้บริการแก่นักพัฒนาซอฟต์แวร์แล้ว โปรดดูข้อมูลเพิ่มเติมใน
เอกสารส่วนเสริม
REST Resource: userProfiles.guardians
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: Guardian
การเชื่อมโยงระหว่างนักเรียนกับผู้ปกครองของนักเรียน ผู้ปกครองอาจได้รับข้อมูลเกี่ยวกับงานในหลักสูตรของนักเรียน
การแสดง JSON |
{
"studentId": string,
"guardianId": string,
"guardianProfile": {
object (UserProfile )
},
"invitedEmailAddress": string
} |
ช่อง |
studentId |
string
ตัวระบุสำหรับนักเรียนที่มีความสัมพันธ์ในฐานะผู้ปกครอง
|
guardianId |
string
ตัวระบุของผู้ปกครอง
|
guardianProfile |
object (UserProfile )
โปรไฟล์ผู้ใช้สำหรับผู้ดูแล
|
invitedEmailAddress |
string
อีเมลที่ส่งคำเชิญผู้ปกครองครั้งแรก ช่องนี้จะมีเฉพาะผู้ดูแลระบบโดเมนเท่านั้นที่มองเห็น
|
เมธอด |
|
ลบผู้ปกครอง |
|
แสดงผลผู้ปกครองที่เฉพาะเจาะจง |
|
แสดงรายการผู้ปกครองที่ผู้ใช้ที่ส่งคำขอได้รับอนุญาตให้ดู โดยจำกัดไว้เฉพาะผู้ปกครองที่ตรงกับคำขอ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# REST Resource: userProfiles.guardians\n\n- [Resource: Guardian](#Guardian)\n - [JSON representation](#Guardian.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Guardian\n------------------\n\nAssociation between a student and a guardian of that student. The guardian may receive information about the student's course work.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"studentId\": string, \"guardianId\": string, \"guardianProfile\": { object (/workspace/classroom/reference/rest/v1/userProfiles#UserProfile) }, \"invitedEmailAddress\": string } ``` |\n\n| Fields ||\n|-----------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| `studentId` | `string` Identifier for the student to whom the guardian relationship applies. |\n| `guardianId` | `string` Identifier for the guardian. |\n| `guardianProfile` | `object (`[UserProfile](/workspace/classroom/reference/rest/v1/userProfiles#UserProfile)`)` User profile for the guardian. |\n| `invitedEmailAddress` | `string` The email address to which the initial guardian invitation was sent. This field is only visible to domain administrators. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|\n| ### [delete](/workspace/classroom/reference/rest/v1/userProfiles.guardians/delete) | Deletes a guardian. |\n| ### [get](/workspace/classroom/reference/rest/v1/userProfiles.guardians/get) | Returns a specific guardian. |\n| ### [list](/workspace/classroom/reference/rest/v1/userProfiles.guardians/list) | Returns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. |"]]