Dodatki do Google Classroom są teraz ogólnie dostępne dla programistów. Więcej informacji znajdziesz w
dokumentacji dodatków.
REST Resource: userProfiles.guardians
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: Guardian
Powiązanie między uczniem a jego opiekunem. Opiekun może otrzymywać informacje o pracy ucznia na zajęciach.
Zapis JSON |
{
"studentId": string,
"guardianId": string,
"guardianProfile": {
object (UserProfile )
},
"invitedEmailAddress": string
} |
Pola |
studentId |
string
Identyfikator ucznia, którego dotyczy relacja z opiekunem.
|
guardianId |
string
Identyfikator opiekuna.
|
guardianProfile |
object (UserProfile )
Profil użytkownika opiekuna.
|
invitedEmailAddress |
string
Adres e-mail, na który wysłano pierwsze zaproszenie dla opiekuna. To pole jest widoczne tylko dla administratorów domeny.
|
Metody |
|
Usuwa opiekuna. |
|
Zwraca konkretnego opiekuna. |
|
Zwraca listę opiekunów, których dane może wyświetlać użytkownik przesyłający żądanie, ograniczoną do tych, którzy pasują do żądania. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]