Google Classroom 外掛程式現已全面開放開發人員使用!詳情請參閱
外掛程式說明文件。
REST Resource: userProfiles.guardians
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:監護人
學生與監護人之間的關聯。監護人可能會收到學生課程作業的相關資訊。
JSON 表示法 |
{
"studentId": string,
"guardianId": string,
"guardianProfile": {
object (UserProfile )
},
"invitedEmailAddress": string
} |
欄位 |
studentId |
string
適用監護人關係的學生 ID。
|
guardianId |
string
監護人的 ID。
|
guardianProfile |
object (UserProfile )
監護人的使用者個人資料。
|
invitedEmailAddress |
string
系統傳送初始監護人邀請函的電子郵件地址。這個欄位僅供網域管理員查看。
|
方法 |
|
刪除監護人。 |
|
傳回特定監護人。 |
|
傳回要求使用者可查看的監護人清單,且僅限於符合要求的監護人。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],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. |"]]