{"openapi":"3.1.0","info":{"title":"Google Classroom API","version":"v1","description":"Manages classes, rosters, and invitations in Google Classroom."},"servers":[{"url":"https://www.googleapis.com/"}],"paths":{"/v1/userProfiles/{userId}":{"get":{"operationId":"classroom.userProfiles.get","x-executor-toolPath":"classroom.userProfiles.get","x-executor-pathTemplate":"/v1/userProfiles/{userId}","tags":["Google Classroom API"],"description":"Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile, if no profile exists with the requested ID, or for access errors.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"userId","in":"path","required":true,"description":"Identifier of the profile to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","schema":{"description":"Identifier of the profile to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_UserProfile"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.emails"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.photos"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.profile.emails","https://www.googleapis.com/auth/classroom.profile.photos","https://www.googleapis.com/auth/classroom.rosters"]}},"/v1/userProfiles/{studentId}/guardianInvitations/{invitationId}":{"get":{"operationId":"classroom.userProfiles.guardianInvitations.get","x-executor-toolPath":"classroom.userProfiles.guardianInvitations.get","x-executor-pathTemplate":"/v1/userProfiles/{studentId}/guardianInvitations/{invitationId}","tags":["Google Classroom API"],"description":"Returns a specific guardian invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view guardian invitations for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). * `NOT_FOUND` if Classroom cannot find any record of the given student or `invitation_id`. May also be returned if the student exists, but the requesting user does not have access to see that student.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"studentId","in":"path","required":true,"description":"The ID of the student whose guardian invitation is being requested.","schema":{"description":"The ID of the student whose guardian invitation is being requested.","type":"string"}},{"name":"invitationId","in":"path","required":true,"description":"The `id` field of the `GuardianInvitation` being requested.","schema":{"description":"The `id` field of the `GuardianInvitation` being requested.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_GuardianInvitation"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"]}},"/v1/userProfiles/{studentId}/guardianInvitations":{"get":{"operationId":"classroom.userProfiles.guardianInvitations.list","x-executor-toolPath":"classroom.userProfiles.guardianInvitations.list","x-executor-pathTemplate":"/v1/userProfiles/{studentId}/guardianInvitations","tags":["Google Classroom API"],"description":"Returns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian invitations for that student, if `\"-\"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"states","in":"query","required":false,"description":"If specified, only results with the specified `state` values are returned. Otherwise, results with a `state` of `PENDING` are returned.","schema":{"type":"array","items":{"description":"If specified, only results with the specified `state` values are returned. Otherwise, results with a `state` of `PENDING` are returned.","enum":["GUARDIAN_INVITATION_STATE_UNSPECIFIED","PENDING","COMPLETE"],"type":"string"}},"style":"form","explode":true},{"name":"invitedEmailAddress","in":"query","required":false,"description":"If specified, only results with the specified `invited_email_address` are returned.","schema":{"description":"If specified, only results with the specified `invited_email_address` are returned.","type":"string"},"style":"form","explode":false},{"name":"studentId","in":"path","required":true,"description":"The ID of the student whose guardian invitations are to be returned. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user is permitted to view guardian invitations.","schema":{"description":"The ID of the student whose guardian invitations are to be returned. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user is permitted to view guardian invitations.","type":"string"}},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListGuardianInvitationsResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"]}},"/v1/userProfiles/{studentId}/guardians/{guardianId}":{"get":{"operationId":"classroom.userProfiles.guardians.get","x-executor-toolPath":"classroom.userProfiles.guardians.get","x-executor-pathTemplate":"/v1/userProfiles/{studentId}/guardians/{guardianId}","tags":["Google Classroom API"],"description":"Returns a specific guardian. This method returns the following error codes: * `PERMISSION_DENIED` if no user that matches the provided `student_id` is visible to the requesting user, if the requesting user is not permitted to view guardian information for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). * `NOT_FOUND` if the requesting user is permitted to view guardians for the requested `student_id`, but no `Guardian` record exists for that student that matches the provided `guardian_id`.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"studentId","in":"path","required":true,"description":"The student whose guardian is being requested. One of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","schema":{"description":"The student whose guardian is being requested. One of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"}},{"name":"guardianId","in":"path","required":true,"description":"The `id` field from a `Guardian`.","schema":{"description":"The `id` field from a `Guardian`.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Guardian"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly","https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"]}},"/v1/userProfiles/{studentId}/guardians":{"get":{"operationId":"classroom.userProfiles.guardians.list","x-executor-toolPath":"classroom.userProfiles.guardians.list","x-executor-pathTemplate":"/v1/userProfiles/{studentId}/guardians","tags":["Google Classroom API"],"description":"Returns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. To list guardians for any student that the requesting user may view guardians for, use the literal character `-` for the student ID. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian information for that student, if `\"-\"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, if the `invited_email_address` filter is set by a user who is not a domain administrator, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"invitedEmailAddress","in":"query","required":false,"description":"Filter results by the email address that the original invitation was sent to, resulting in this guardian link. This filter can only be used by domain administrators.","schema":{"description":"Filter results by the email address that the original invitation was sent to, resulting in this guardian link. This filter can only be used by domain administrators.","type":"string"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"studentId","in":"path","required":true,"description":"Filter results by the student who the guardian is linked to. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user has access to view.","schema":{"description":"Filter results by the student who the guardian is linked to. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, indicating that results should be returned for all students that the requesting user has access to view.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListGuardiansResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly","https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"]}},"/v1/invitations":{"post":{"operationId":"classroom.invitations.create","x-executor-toolPath":"classroom.invitations.create","x-executor-pathTemplate":"/v1/invitations","tags":["Google Classroom API"],"description":"Creates an invitation. Only one invitation for a user and course may exist at a time. Delete and re-create an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course or for access errors. * `NOT_FOUND` if the course or the user does not exist. * `FAILED_PRECONDITION`: * if the requested user's account is disabled. * if the user already has this role or a role with greater permissions. * for the following request errors: * IneligibleOwner * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Invitation"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Invitation"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.rosters"]},"get":{"operationId":"classroom.invitations.list","x-executor-toolPath":"classroom.invitations.list","x-executor-pathTemplate":"/v1/invitations","tags":["Google Classroom API"],"description":"Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id` or `course_id` must be supplied. Both fields can be supplied. This method returns the following error codes: * `PERMISSION_DENIED` for access errors.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"query","required":false,"description":"Restricts returned invitations to those for a course with the specified identifier.","schema":{"description":"Restricts returned invitations to those for a course with the specified identifier.","type":"string"},"style":"form","explode":false},{"name":"userId","in":"query","required":false,"description":"Restricts returned invitations to those for a specific user. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","schema":{"description":"Restricts returned invitations to those for a specific user. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"},"style":"form","explode":false},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. The default is 500 if unspecified or `0`. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. The default is 500 if unspecified or `0`. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListInvitationsResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.rosters"]}},"/v1/invitations/{id}":{"delete":{"operationId":"classroom.invitations.delete","x-executor-toolPath":"classroom.invitations.delete","x-executor-pathTemplate":"/v1/invitations/{id}","tags":["Google Classroom API"],"description":"Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the invitation to delete.","schema":{"description":"Identifier of the invitation to delete.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.rosters"]},"get":{"operationId":"classroom.invitations.get","x-executor-toolPath":"classroom.invitations.get","x-executor-pathTemplate":"/v1/invitations/{id}","tags":["Google Classroom API"],"description":"Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the invitation to return.","schema":{"description":"Identifier of the invitation to return.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Invitation"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.rosters"]}},"/v1/invitations/{id}:accept":{"post":{"operationId":"classroom.invitations.accept","x-executor-toolPath":"classroom.invitations.accept","x-executor-pathTemplate":"/v1/invitations/{id}:accept","tags":["Google Classroom API"],"description":"Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to accept the requested invitation or for access errors. * `FAILED_PRECONDITION` for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached * UserGroupsMembershipLimitReached * `NOT_FOUND` if no invitation exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the invitation to accept.","schema":{"description":"Identifier of the invitation to accept.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.rosters"]}},"/v1/courses/{courseId}/gradingPeriodSettings":{"get":{"operationId":"classroom.courses.getGradingPeriodSettings","x-executor-toolPath":"classroom.courses.getGradingPeriodSettings","x-executor-pathTemplate":"/v1/courses/{courseId}/gradingPeriodSettings","tags":["Google Classroom API"],"description":"Returns the grading period settings in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to access the grading period settings in the requested course or for access errors. * `NOT_FOUND` if the requested course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Required. The identifier of the course.","schema":{"description":"Required. The identifier of the course.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_GradingPeriodSettings"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]},"patch":{"operationId":"classroom.courses.updateGradingPeriodSettings","x-executor-toolPath":"classroom.courses.updateGradingPeriodSettings","x-executor-pathTemplate":"/v1/courses/{courseId}/gradingPeriodSettings","tags":["Google Classroom API"],"description":"Updates grading period settings of a course. Individual grading periods can be added, removed, or modified using this method. The requesting user and course owner must be eligible to modify Grading Periods. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/grading-periods/manage-grading-periods#licensing_requirements). This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the grading period settings in a course or for access errors: * UserIneligibleToUpdateGradingPeriodSettings * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Required. The identifier of the course.","schema":{"description":"Required. The identifier of the course.","type":"string"}},{"name":"updateMask","in":"query","required":false,"description":"Mask that identifies which fields in the GradingPeriodSettings to update. The GradingPeriodSettings `grading_periods` list will be fully replaced by the grading periods specified in the update request. For example: * Grading periods included in the list without an ID are considered additions, and a new ID will be assigned when the request is made. * Grading periods that currently exist, but are missing from the request will be considered deletions. * Grading periods with an existing ID and modified data are considered edits. Unmodified data will be left as is. * Grading periods included with an unknown ID will result in an error. The following fields may be specified: * `grading_periods` * `apply_to_existing_coursework`","schema":{"description":"Mask that identifies which fields in the GradingPeriodSettings to update. The GradingPeriodSettings `grading_periods` list will be fully replaced by the grading periods specified in the update request. For example: * Grading periods included in the list without an ID are considered additions, and a new ID will be assigned when the request is made. * Grading periods that currently exist, but are missing from the request will be considered deletions. * Grading periods with an existing ID and modified data are considered edits. Unmodified data will be left as is. * Grading periods included with an unknown ID will result in an error. The following fields may be specified: * `grading_periods` * `apply_to_existing_coursework`","format":"google-fieldmask","type":"string"},"style":"form","explode":false}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_GradingPeriodSettings"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_GradingPeriodSettings"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]}},"/v1/courses":{"get":{"operationId":"classroom.courses.list","x-executor-toolPath":"classroom.courses.list","x-executor-pathTemplate":"/v1/courses","tags":["Google Classroom API"],"description":"Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. Returned courses are ordered by creation time, with the most recently created coming first. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"studentId","in":"query","required":false,"description":"Restricts returned courses to those having a student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user If specified, `teacher_id` must be empty.","schema":{"description":"Restricts returned courses to those having a student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user If specified, `teacher_id` must be empty.","type":"string"},"style":"form","explode":false},{"name":"courseStates","in":"query","required":false,"description":"Restricts returned courses to those in one of the specified states. If unspecified, Courses in any state are returned.","schema":{"type":"array","items":{"description":"Restricts returned courses to those in one of the specified states. If unspecified, Courses in any state are returned.","enum":["COURSE_STATE_UNSPECIFIED","ACTIVE","ARCHIVED","PROVISIONED","DECLINED","SUSPENDED"],"type":"string"}},"style":"form","explode":true},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"teacherId","in":"query","required":false,"description":"Restricts returned courses to those having a teacher with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user If specified, `student_id` must be empty.","schema":{"description":"Restricts returned courses to those having a teacher with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user If specified, `student_id` must be empty.","type":"string"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListCoursesResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]},"post":{"operationId":"classroom.courses.create","x-executor-toolPath":"classroom.courses.create","x-executor-pathTemplate":"/v1/courses","tags":["Google Classroom API"],"description":"Creates a course. The user specified in `ownerId` is the owner of the created course and added as a teacher. A non-admin requesting user can only create a course with themselves as the owner. Domain admins can create courses owned by any user within their domain. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course owner's account is disabled or for the following request errors: * UserCannotOwnCourse * UserGroupsMembershipLimitReached * CourseTitleCannotContainUrl * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Course"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Course"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]}},"/v1/courses/{id}":{"patch":{"operationId":"classroom.courses.patch","x-executor-toolPath":"classroom.courses.patch","x-executor-pathTemplate":"/v1/courses/{id}","tags":["Google Classroom API"],"description":"Updates one or more fields in a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner * CourseTitleCannotContainUrl","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"updateMask","in":"query","required":false,"description":"Mask that identifies which fields on the course to update. This field is required to do an update. The update will fail if invalid fields are specified. The following fields are valid: * `courseState` * `description` * `descriptionHeading` * `name` * `ownerId` * `room` * `section` * `subject` * `learningStandardSettings` * `levels` Note: patches to ownerId are treated as being effective immediately, but in practice it may take some time for the ownership transfer of all affected resources to complete. When set in a query parameter, this field should be specified as `updateMask=,,...`","schema":{"description":"Mask that identifies which fields on the course to update. This field is required to do an update. The update will fail if invalid fields are specified. The following fields are valid: * `courseState` * `description` * `descriptionHeading` * `name` * `ownerId` * `room` * `section` * `subject` * `learningStandardSettings` * `levels` Note: patches to ownerId are treated as being effective immediately, but in practice it may take some time for the ownership transfer of all affected resources to complete. When set in a query parameter, this field should be specified as `updateMask=,,...`","format":"google-fieldmask","type":"string"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Course"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Course"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]},"get":{"operationId":"classroom.courses.get","x-executor-toolPath":"classroom.courses.get","x-executor-pathTemplate":"/v1/courses/{id}","tags":["Google Classroom API"],"description":"Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the course to return. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course to return. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Course"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]},"delete":{"operationId":"classroom.courses.delete","x-executor-toolPath":"classroom.courses.delete","x-executor-pathTemplate":"/v1/courses/{id}","tags":["Google Classroom API"],"description":"Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the course to delete. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course to delete. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]},"put":{"operationId":"classroom.courses.update","x-executor-toolPath":"classroom.courses.update","x-executor-pathTemplate":"/v1/courses/{id}","tags":["Google Classroom API"],"description":"Updates a course. Note: Unlike other fields, `levels` is not cleared if omitted from the request. The `UpdateCourse` method only modifies `levels` if it is explicitly provided; otherwise, the existing value is preserved. Use the `PatchCourse` method to clear the `levels` field. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course or for access errors. * `NOT_FOUND` if no course exists with the requested ID. * `FAILED_PRECONDITION` for the following request errors: * CourseNotModifiable * CourseTitleCannotContainUrl","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Course"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Course"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]}},"/v1/courses/{courseId}/topics":{"get":{"operationId":"classroom.courses.topics.list","x-executor-toolPath":"classroom.courses.topics.list","x-executor-pathTemplate":"/v1/courses/{courseId}/topics","tags":["Google Classroom API"],"description":"Returns the list of topics that the requester is permitted to view. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListTopicResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.topics"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.topics"]},"post":{"operationId":"classroom.courses.topics.create","x-executor-toolPath":"classroom.courses.topics.create","x-executor-pathTemplate":"/v1/courses/{courseId}/topics","tags":["Google Classroom API"],"description":"Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create a topic in the requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `ALREADY_EXISTS` if there exists a topic in the course with the same name. * `FAILED_PRECONDITION` for the following request error: * CourseTopicLimitReached * `NOT_FOUND` if the requested course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Topic"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Topic"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.topics"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.topics"]}},"/v1/courses/{courseId}/topics/{id}":{"delete":{"operationId":"classroom.courses.topics.delete","x-executor-toolPath":"classroom.courses.topics.delete","x-executor-pathTemplate":"/v1/courses/{courseId}/topics/{id}","tags":["Google Classroom API"],"description":"Deletes a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not allowed to delete the requested topic or for access errors. * `FAILED_PRECONDITION` if the requested topic has already been deleted. * `NOT_FOUND` if no course or topic exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"id","in":"path","required":true,"description":"Identifier of the topic to delete.","schema":{"description":"Identifier of the topic to delete.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.topics"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.topics"]},"patch":{"operationId":"classroom.courses.topics.patch","x-executor-toolPath":"classroom.courses.topics.patch","x-executor-pathTemplate":"/v1/courses/{courseId}/topics/{id}","tags":["Google Classroom API"],"description":"Updates one or more fields of a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course or topic does not exist","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the topic.","schema":{"description":"Identifier of the topic.","type":"string"}},{"name":"updateMask","in":"query","required":false,"description":"Mask that identifies which fields on the topic to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the Topic object. If a field that does not support empty values is included in the update mask and not set in the Topic object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified: * `name`","schema":{"description":"Mask that identifies which fields on the topic to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the Topic object. If a field that does not support empty values is included in the update mask and not set in the Topic object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified: * `name`","format":"google-fieldmask","type":"string"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Topic"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Topic"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.topics"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.topics"]},"get":{"operationId":"classroom.courses.topics.get","x-executor-toolPath":"classroom.courses.topics.get","x-executor-pathTemplate":"/v1/courses/{courseId}/topics/{id}","tags":["Google Classroom API"],"description":"Returns a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or topic, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or topic does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course.","schema":{"description":"Identifier of the course.","type":"string"}},{"name":"id","in":"path","required":true,"description":"Identifier of the topic.","schema":{"description":"Identifier of the topic.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Topic"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.topics"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.topics"]}},"/v1/courses/{courseId}/aliases":{"post":{"operationId":"classroom.courses.aliases.create","x-executor-toolPath":"classroom.courses.aliases.create","x-executor-pathTemplate":"/v1/courses/{courseId}/aliases","tags":["Google Classroom API"],"description":"Creates an alias for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias or for access errors. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias already exists. * `FAILED_PRECONDITION` if the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to access a domain-scoped alias).","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course to alias. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course to alias. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseAlias"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseAlias"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]},"get":{"operationId":"classroom.courses.aliases.list","x-executor-toolPath":"classroom.courses.aliases.list","x-executor-pathTemplate":"/v1/courses/{courseId}/aliases","tags":["Google Classroom API"],"description":"Returns a list of aliases for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the course or for access errors. * `NOT_FOUND` if the course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"The identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"The identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListCourseAliasesResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]}},"/v1/courses/{courseId}/aliases/{alias}":{"delete":{"operationId":"classroom.courses.aliases.delete","x-executor-toolPath":"classroom.courses.aliases.delete","x-executor-pathTemplate":"/v1/courses/{courseId}/aliases/{alias}","tags":["Google Classroom API"],"description":"Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias or for access errors. * `NOT_FOUND` if the alias does not exist. * `FAILED_PRECONDITION` if the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to delete a domain-scoped alias).","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course whose alias should be deleted. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course whose alias should be deleted. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"alias","in":"path","required":true,"description":"Alias to delete. This may not be the Classroom-assigned identifier.","schema":{"description":"Alias to delete. This may not be the Classroom-assigned identifier.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courses"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courses"]}},"/v1/courses/{courseId}/students/{userId}":{"get":{"operationId":"classroom.courses.students.get","x-executor-toolPath":"classroom.courses.students.get","x-executor-pathTemplate":"/v1/courses/{courseId}/students/{userId}","tags":["Google Classroom API"],"description":"Returns a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view students of this course or for access errors. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"userId","in":"path","required":true,"description":"Identifier of the student to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","schema":{"description":"Identifier of the student to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Student"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.emails"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.photos"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.profile.emails","https://www.googleapis.com/auth/classroom.profile.photos","https://www.googleapis.com/auth/classroom.rosters"]},"delete":{"operationId":"classroom.courses.students.delete","x-executor-toolPath":"classroom.courses.students.delete","x-executor-pathTemplate":"/v1/courses/{courseId}/students/{userId}","tags":["Google Classroom API"],"description":"Deletes a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete students of this course or for access errors. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"userId","in":"path","required":true,"description":"Identifier of the student to delete. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","schema":{"description":"Identifier of the student to delete. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.rosters"]}},"/v1/courses/{courseId}/students":{"post":{"operationId":"classroom.courses.students.create","x-executor-toolPath":"classroom.courses.students.create","x-executor-pathTemplate":"/v1/courses/{courseId}/students","tags":["Google Classroom API"],"description":"Adds a user as a student of a course. Domain administrators are permitted to [directly add](https://developers.google.com/workspace/classroom/guides/manage-users) users within their domain as students to courses within their domain. Students are permitted to add themselves to a course using an enrollment code. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course or for access errors. * `NOT_FOUND` if the requested course ID does not exist. * `FAILED_PRECONDITION` if the requested user's account is disabled, for the following request errors: * CourseMemberLimitReached * CourseNotModifiable * UserGroupsMembershipLimitReached * InactiveCourseOwner * `ALREADY_EXISTS` if the user is already a student or teacher in the course.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"enrollmentCode","in":"query","required":false,"description":"Enrollment code of the course to create the student in. This code is required if userId corresponds to the requesting user; it may be omitted if the requesting user has administrative permissions to create students for any user.","schema":{"description":"Enrollment code of the course to create the student in. This code is required if userId corresponds to the requesting user; it may be omitted if the requesting user has administrative permissions to create students for any user.","type":"string"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course to create the student in. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course to create the student in. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Student"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Student"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.emails"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.photos"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.profile.emails","https://www.googleapis.com/auth/classroom.profile.photos","https://www.googleapis.com/auth/classroom.rosters"]},"get":{"operationId":"classroom.courses.students.list","x-executor-toolPath":"classroom.courses.students.list","x-executor-pathTemplate":"/v1/courses/{courseId}/students","tags":["Google Classroom API"],"description":"Returns a list of students of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for access errors.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. The default is 30 if unspecified or `0`. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. The default is 30 if unspecified or `0`. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListStudentsResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.emails"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.photos"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.profile.emails","https://www.googleapis.com/auth/classroom.profile.photos","https://www.googleapis.com/auth/classroom.rosters"]}},"/v1/courses/{courseId}/courseWork/{id}":{"get":{"operationId":"classroom.courses.courseWork.get","x-executor-toolPath":"classroom.courses.courseWork.get","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{id}","tags":["Google Classroom API"],"description":"Returns course work. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the course work.","schema":{"description":"Identifier of the course work.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWork"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students"]},"patch":{"operationId":"classroom.courses.courseWork.patch","x-executor-toolPath":"classroom.courses.courseWork.patch","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{id}","tags":["Google Classroom API"],"description":"Updates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item or an add-on attachment on the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work or an add-on attachment on the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if the requested course or course work does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"updateMask","in":"query","required":false,"description":"Mask that identifies which fields on the course work to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `CourseWork` object. If a field that does not support empty values is included in the update mask and not set in the `CourseWork` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `due_date` * `due_time` * `max_points` * `scheduled_time` * `submission_modification_mode` * `topic_id` * `grading_period_id` * `learning_goals`","schema":{"description":"Mask that identifies which fields on the course work to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `CourseWork` object. If a field that does not support empty values is included in the update mask and not set in the `CourseWork` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `due_date` * `due_time` * `max_points` * `scheduled_time` * `submission_modification_mode` * `topic_id` * `grading_period_id` * `learning_goals`","format":"google-fieldmask","type":"string"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the course work.","schema":{"description":"Identifier of the course work.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWork"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWork"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]},"delete":{"operationId":"classroom.courses.courseWork.delete","x-executor-toolPath":"classroom.courses.courseWork.delete","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{id}","tags":["Google Classroom API"],"description":"Deletes a course work. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"id","in":"path","required":true,"description":"Identifier of the course work to delete. This identifier is a Classroom-assigned identifier.","schema":{"description":"Identifier of the course work to delete. This identifier is a Classroom-assigned identifier.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubric":{"patch":{"operationId":"classroom.courses.courseWork.updateRubric","x-executor-toolPath":"classroom.courses.courseWork.updateRubric","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubric","tags":["Google Classroom API"],"description":"Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Required. Identifier of the course.","schema":{"description":"Required. Identifier of the course.","type":"string"}},{"name":"courseWorkId","in":"path","required":true,"description":"Required. Identifier of the course work.","schema":{"description":"Required. Identifier of the course work.","type":"string"}},{"name":"id","in":"query","required":false,"description":"Optional. Identifier of the rubric.","schema":{"description":"Optional. Identifier of the rubric.","type":"string"},"style":"form","explode":false},{"name":"updateMask","in":"query","required":false,"description":"Optional. Mask that identifies which fields on the rubric to update. This field is required to do an update. The update fails if invalid fields are specified. There are multiple options to define the criteria of a rubric: the `source_spreadsheet_id` and the `criteria` list. Only one of these can be used at a time to define a rubric. The rubric `criteria` list is fully replaced by the rubric criteria specified in the update request. For example, if a criterion or level is missing from the request, it is deleted. New criteria and levels are added and an ID is assigned. Existing criteria and levels retain the previously assigned ID if the ID is specified in the request. The following fields can be specified by teachers: * `criteria` * `source_spreadsheet_id`","schema":{"description":"Optional. Mask that identifies which fields on the rubric to update. This field is required to do an update. The update fails if invalid fields are specified. There are multiple options to define the criteria of a rubric: the `source_spreadsheet_id` and the `criteria` list. Only one of these can be used at a time to define a rubric. The rubric `criteria` list is fully replaced by the rubric criteria specified in the update request. For example, if a criterion or level is missing from the request, it is deleted. New criteria and levels are added and an ID is assigned. Existing criteria and levels retain the previously assigned ID if the ID is specified in the request. The following fields can be specified by teachers: * `criteria` * `source_spreadsheet_id`","format":"google-fieldmask","type":"string"},"style":"form","explode":false}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Rubric"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Rubric"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork":{"get":{"operationId":"classroom.courses.courseWork.list","x-executor-toolPath":"classroom.courses.courseWork.list","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork","tags":["Google Classroom API"],"description":"Returns a list of course work that the requester is permitted to view. Course students may only view `PUBLISHED` course work. Course teachers and domain administrators may view all course work. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseWorkStates","in":"query","required":false,"description":"Restriction on the work status to return. Only courseWork that matches is returned. If unspecified, items with a work status of `PUBLISHED` is returned.","schema":{"type":"array","items":{"description":"Restriction on the work status to return. Only courseWork that matches is returned. If unspecified, items with a work status of `PUBLISHED` is returned.","enum":["COURSE_WORK_STATE_UNSPECIFIED","PUBLISHED","DRAFT","DELETED"],"type":"string"}},"style":"form","explode":true},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false},{"name":"orderBy","in":"query","required":false,"description":"Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported fields are `updateTime` and `dueDate`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`","schema":{"description":"Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported fields are `updateTime` and `dueDate`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`","type":"string"},"style":"form","explode":false},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListCourseWorkResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students"]},"post":{"operationId":"classroom.courses.courseWork.create","x-executor-toolPath":"classroom.courses.courseWork.create","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork","tags":["Google Classroom API"],"description":"Creates course work. The resulting course work (and corresponding student submissions) are associated with the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to make the request. Classroom API requests to modify course work and student submissions must be made with an OAuth client ID from the associated Developer Console project. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create course work in the requested course, share a Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWork"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWork"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork/{id}:modifyAssignees":{"post":{"operationId":"classroom.courses.courseWork.modifyAssignees","x-executor-toolPath":"classroom.courses.courseWork.modifyAssignees","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{id}:modifyAssignees","tags":["Google Classroom API"],"description":"Modifies assignee mode and options of a coursework. Only a teacher of the course that contains the coursework may call this method. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist. * `FAILED_PRECONDITION` for the following request error: * EmptyAssignees","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"id","in":"path","required":true,"description":"Identifier of the coursework.","schema":{"description":"Identifier of the coursework.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ModifyCourseWorkAssigneesRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWork"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}":{"get":{"operationId":"classroom.courses.courseWork.studentSubmissions.get","x-executor-toolPath":"classroom.courses.courseWork.studentSubmissions.get","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}","tags":["Google Classroom API"],"description":"Returns a student submission. * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, course work, or student submission or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the student submission.","schema":{"description":"Identifier of the student submission.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"courseWorkId","in":"path","required":true,"description":"Identifier of the course work.","schema":{"description":"Identifier of the course work.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_StudentSubmission"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students"]},"patch":{"operationId":"classroom.courses.courseWork.studentSubmissions.patch","x-executor-toolPath":"classroom.courses.courseWork.studentSubmissions.patch","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}","tags":["Google Classroom API"],"description":"Updates one or more fields of a student submission. See google.classroom.v1.StudentSubmission for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item or an add-on attachment with Grade Sync enabled on the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work or an add-on attachment on the corresponding course work with Grade Sync enabled, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the student submission.","schema":{"description":"Identifier of the student submission.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"updateMask","in":"query","required":false,"description":"Mask that identifies which fields on the student submission to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields may be specified by teachers: * `draft_grade` * `assigned_grade`","schema":{"description":"Mask that identifies which fields on the student submission to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields may be specified by teachers: * `draft_grade` * `assigned_grade`","format":"google-fieldmask","type":"string"},"style":"form","explode":false},{"name":"courseWorkId","in":"path","required":true,"description":"Identifier of the course work.","schema":{"description":"Identifier of the course work.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_StudentSubmission"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_StudentSubmission"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions":{"get":{"operationId":"classroom.courses.courseWork.studentSubmissions.list","x-executor-toolPath":"classroom.courses.courseWork.studentSubmissions.list","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions","tags":["Google Classroom API"],"description":"Returns a list of student submissions that the requester is permitted to view, factoring in the OAuth scopes of the request. A hyphen (`-`) may be specified as the `course_work_id` to include student submissions for multiple course work items. Course students may only view their own work. Course teachers and domain administrators may view all student submissions. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false},{"name":"userId","in":"query","required":false,"description":"Optional argument to restrict returned student work to those owned by the student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","schema":{"description":"Optional argument to restrict returned student work to those owned by the student with the specified identifier. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"},"style":"form","explode":false},{"name":"courseWorkId","in":"path","required":true,"description":"Identifier of the student work to request. This may be set to the string literal `\"-\"` to request student work for all course work in the specified course.","schema":{"description":"Identifier of the student work to request. This may be set to the string literal `\"-\"` to request student work for all course work in the specified course.","type":"string"}},{"name":"late","in":"query","required":false,"description":"Requested lateness value. If specified, returned student submissions are restricted by the requested value. If unspecified, submissions are returned regardless of `late` value.","schema":{"description":"Requested lateness value. If specified, returned student submissions are restricted by the requested value. If unspecified, submissions are returned regardless of `late` value.","enum":["LATE_VALUES_UNSPECIFIED","LATE_ONLY","NOT_LATE_ONLY"],"type":"string"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"states","in":"query","required":false,"description":"Requested submission states. If specified, returned student submissions match one of the specified submission states.","schema":{"type":"array","items":{"description":"Requested submission states. If specified, returned student submissions match one of the specified submission states.","enum":["SUBMISSION_STATE_UNSPECIFIED","NEW","CREATED","TURNED_IN","RETURNED","RECLAIMED_BY_STUDENT"],"type":"string"}},"style":"form","explode":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListStudentSubmissionsResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim":{"post":{"operationId":"classroom.courses.courseWork.studentSubmissions.reclaim","x-executor-toolPath":"classroom.courses.courseWork.studentSubmissions.reclaim","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim","tags":["Google Classroom API"],"description":"Reclaims a student submission on behalf of the student that owns it. Reclaiming a student submission transfers ownership of attached Drive files to the student and updates the submission state. Only the student that owns the requested student submission may call this method, and only for a student submission that has been turned in. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item or an add-on attachment on the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, unsubmit the requested student submission, or for access errors. * `FAILED_PRECONDITION` if the student submission has not been turned in. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseWorkId","in":"path","required":true,"description":"Identifier of the course work.","schema":{"description":"Identifier of the course work.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"id","in":"path","required":true,"description":"Identifier of the student submission.","schema":{"description":"Identifier of the student submission.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ReclaimStudentSubmissionRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn":{"post":{"operationId":"classroom.courses.courseWork.studentSubmissions.turnIn","x-executor-toolPath":"classroom.courses.courseWork.studentSubmissions.turnIn","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn","tags":["Google Classroom API"],"description":"Turns in a student submission. Turning in a student submission transfers ownership of attached Drive files to the teacher and may also update the submission state. This may only be called by the student that owns the specified student submission. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item or an add-on attachment on the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, turn in the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the student submission.","schema":{"description":"Identifier of the student submission.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"courseWorkId","in":"path","required":true,"description":"Identifier of the course work.","schema":{"description":"Identifier of the course work.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_TurnInStudentSubmissionRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments":{"post":{"operationId":"classroom.courses.courseWork.studentSubmissions.modifyAttachments","x-executor-toolPath":"classroom.courses.courseWork.studentSubmissions.modifyAttachments","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments","tags":["Google Classroom API"],"description":"Modifies attachments of student submission. Attachments may only be added to student submissions belonging to course work objects with a `workType` of `ASSIGNMENT`. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item or an add-on attachment on the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, if the user is not permitted to modify attachments on the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"courseWorkId","in":"path","required":true,"description":"Identifier of the course work.","schema":{"description":"Identifier of the course work.","type":"string"}},{"name":"id","in":"path","required":true,"description":"Identifier of the student submission.","schema":{"description":"Identifier of the student submission.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ModifyAttachmentsRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_StudentSubmission"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return":{"post":{"operationId":"classroom.courses.courseWork.studentSubmissions.return","x-executor-toolPath":"classroom.courses.courseWork.studentSubmissions.return","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return","tags":["Google Classroom API"],"description":"Returns a student submission. Returning a student submission transfers ownership of attached Drive files to the student and may also update the submission state. Unlike the Classroom application, returning a student submission does not set assignedGrade to the draftGrade value. Only a teacher of the course that contains the requested student submission may call this method. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item or an add-on attachment on the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, return the requested student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the student submission.","schema":{"description":"Identifier of the student submission.","type":"string"}},{"name":"courseWorkId","in":"path","required":true,"description":"Identifier of the course work.","schema":{"description":"Identifier of the course work.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ReturnStudentSubmissionRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics":{"get":{"operationId":"classroom.courses.courseWork.rubrics.list","x-executor-toolPath":"classroom.courses.courseWork.rubrics.list","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics","tags":["Google Classroom API"],"description":"Returns a list of rubrics that the requester is permitted to view. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work doesn't exist or if the user doesn't have access to the corresponding course work.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Required. Identifier of the course.","schema":{"description":"Required. Identifier of the course.","type":"string"}},{"name":"courseWorkId","in":"path","required":true,"description":"Required. Identifier of the course work.","schema":{"description":"Required. Identifier of the course work.","type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of rubrics to return. If unspecified, at most 1 rubric is returned. The maximum value is 1; values above 1 are coerced to 1.","schema":{"description":"The maximum number of rubrics to return. If unspecified, at most 1 rubric is returned. The maximum value is 1; values above 1 are coerced to 1.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListRubricsResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students"]},"post":{"operationId":"classroom.courses.courseWork.rubrics.create","x-executor-toolPath":"classroom.courses.courseWork.rubrics.create","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics","tags":["Google Classroom API"],"description":"Creates a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). For further details, see [Rubrics structure and known limitations](/classroom/rubrics/limitations). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics for course work in the requested course. * `INTERNAL` if the request has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course or course work don't exist or the user doesn't have access to the course or course work. * `FAILED_PRECONDITION` for the following request error: * `AttachmentNotVisible`","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseWorkId","in":"path","required":true,"description":"Required. Identifier of the course work.","schema":{"description":"Required. Identifier of the course work.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Required. Identifier of the course.","schema":{"description":"Required. Identifier of the course.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Rubric"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Rubric"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}":{"delete":{"operationId":"classroom.courses.courseWork.rubrics.delete","x-executor-toolPath":"classroom.courses.courseWork.rubrics.delete","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}","tags":["Google Classroom API"],"description":"Deletes a rubric. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding rubric. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding rubric, or if the requesting user isn't permitted to delete the requested rubric. * `NOT_FOUND` if no rubric exists with the requested ID or the user does not have access to the course, course work, or rubric. * `INVALID_ARGUMENT` if grading has already started on the rubric.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Required. Identifier of the rubric.","schema":{"description":"Required. Identifier of the rubric.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Required. Identifier of the course.","schema":{"description":"Required. Identifier of the course.","type":"string"}},{"name":"courseWorkId","in":"path","required":true,"description":"Required. Identifier of the course work.","schema":{"description":"Required. Identifier of the course work.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]},"get":{"operationId":"classroom.courses.courseWork.rubrics.get","x-executor-toolPath":"classroom.courses.courseWork.rubrics.get","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}","tags":["Google Classroom API"],"description":"Returns a rubric. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Required. Identifier of the rubric.","schema":{"description":"Required. Identifier of the rubric.","type":"string"}},{"name":"courseWorkId","in":"path","required":true,"description":"Required. Identifier of the course work.","schema":{"description":"Required. Identifier of the course work.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Required. Identifier of the course.","schema":{"description":"Required. Identifier of the course.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Rubric"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.me"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students"]},"patch":{"operationId":"classroom.courses.courseWork.rubrics.patch","x-executor-toolPath":"classroom.courses.courseWork.rubrics.patch","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}","tags":["Google Classroom API"],"description":"Updates a rubric. See google.classroom.v1.Rubric for details of which fields can be updated. Rubric update capabilities are [limited](/classroom/rubrics/limitations) once grading has started. The requesting user and course owner must have rubrics creation capabilities. For details, see [licensing requirements](https://developers.google.com/workspace/classroom/rubrics/limitations#license-requirements). This request must be made by the Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the parent course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project didn't create the corresponding course work, if the user isn't permitted to make the requested modification to the rubric, or for access errors. This error code is also returned if grading has already started on the rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course, course work, or rubric doesn't exist or if the user doesn't have access to the corresponding course work. * `INTERNAL` if grading has already started on the rubric.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Optional. Identifier of the rubric.","schema":{"description":"Optional. Identifier of the rubric.","type":"string"}},{"name":"updateMask","in":"query","required":false,"description":"Optional. Mask that identifies which fields on the rubric to update. This field is required to do an update. The update fails if invalid fields are specified. There are multiple options to define the criteria of a rubric: the `source_spreadsheet_id` and the `criteria` list. Only one of these can be used at a time to define a rubric. The rubric `criteria` list is fully replaced by the rubric criteria specified in the update request. For example, if a criterion or level is missing from the request, it is deleted. New criteria and levels are added and an ID is assigned. Existing criteria and levels retain the previously assigned ID if the ID is specified in the request. The following fields can be specified by teachers: * `criteria` * `source_spreadsheet_id`","schema":{"description":"Optional. Mask that identifies which fields on the rubric to update. This field is required to do an update. The update fails if invalid fields are specified. There are multiple options to define the criteria of a rubric: the `source_spreadsheet_id` and the `criteria` list. Only one of these can be used at a time to define a rubric. The rubric `criteria` list is fully replaced by the rubric criteria specified in the update request. For example, if a criterion or level is missing from the request, it is deleted. New criteria and levels are added and an ID is assigned. Existing criteria and levels retain the previously assigned ID if the ID is specified in the request. The following fields can be specified by teachers: * `criteria` * `source_spreadsheet_id`","format":"google-fieldmask","type":"string"},"style":"form","explode":false},{"name":"courseWorkId","in":"path","required":true,"description":"Required. Identifier of the course work.","schema":{"description":"Required. Identifier of the course work.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Required. Identifier of the course.","schema":{"description":"Required. Identifier of the course.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Rubric"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Rubric"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.coursework.students"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.coursework.students"]}},"/v1/courses/{courseId}/courseWorkMaterials":{"get":{"operationId":"classroom.courses.courseWorkMaterials.list","x-executor-toolPath":"classroom.courses.courseWorkMaterials.list","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWorkMaterials","tags":["Google Classroom API"],"description":"Returns a list of course work material that the requester is permitted to view. Course students may only view `PUBLISHED` course work material. Course teachers and domain administrators may view all course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"orderBy","in":"query","required":false,"description":"Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported field is `updateTime`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `updateTime asc`, `updateTime`","schema":{"description":"Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported field is `updateTime`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `updateTime asc`, `updateTime`","type":"string"},"style":"form","explode":false},{"name":"materialDriveId","in":"query","required":false,"description":"Optional filtering for course work material with at least one Drive material whose ID matches the provided string. If `material_link` is also specified, course work material must have materials matching both filters.","schema":{"description":"Optional filtering for course work material with at least one Drive material whose ID matches the provided string. If `material_link` is also specified, course work material must have materials matching both filters.","type":"string"},"style":"form","explode":false},{"name":"courseWorkMaterialStates","in":"query","required":false,"description":"Restriction on the work status to return. Only course work material that matches is returned. If unspecified, items with a work status of `PUBLISHED` is returned.","schema":{"type":"array","items":{"description":"Restriction on the work status to return. Only course work material that matches is returned. If unspecified, items with a work status of `PUBLISHED` is returned.","enum":["COURSEWORK_MATERIAL_STATE_UNSPECIFIED","PUBLISHED","DRAFT","DELETED"],"type":"string"}},"style":"form","explode":true},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"materialLink","in":"query","required":false,"description":"Optional filtering for course work material with at least one link material whose URL partially matches the provided string.","schema":{"description":"Optional filtering for course work material with at least one link material whose URL partially matches the provided string.","type":"string"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListCourseWorkMaterialResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]},"post":{"operationId":"classroom.courses.courseWorkMaterials.create","x-executor-toolPath":"classroom.courses.courseWorkMaterials.create","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWorkMaterials","tags":["Google Classroom API"],"description":"Creates a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create course work material in the requested course, share a Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is malformed or if more than 20 * materials are provided. * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWorkMaterial"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWorkMaterial"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]}},"/v1/courses/{courseId}/courseWorkMaterials/{id}":{"delete":{"operationId":"classroom.courses.courseWorkMaterials.delete","x-executor-toolPath":"classroom.courses.courseWorkMaterials.delete","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWorkMaterials/{id}","tags":["Google Classroom API"],"description":"Deletes a course work material. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work material item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work material, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested course work material has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the course work material to delete. This identifier is a Classroom-assigned identifier.","schema":{"description":"Identifier of the course work material to delete. This identifier is a Classroom-assigned identifier.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]},"get":{"operationId":"classroom.courses.courseWorkMaterials.get","x-executor-toolPath":"classroom.courses.courseWorkMaterials.get","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWorkMaterials/{id}","tags":["Google Classroom API"],"description":"Returns a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work material, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work material does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"id","in":"path","required":true,"description":"Identifier of the course work material.","schema":{"description":"Identifier of the course work material.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWorkMaterial"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]},"patch":{"operationId":"classroom.courses.courseWorkMaterials.patch","x-executor-toolPath":"classroom.courses.courseWorkMaterials.patch","x-executor-pathTemplate":"/v1/courses/{courseId}/courseWorkMaterials/{id}","tags":["Google Classroom API"],"description":"Updates one or more fields of a course work material. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work material has already been deleted. * `NOT_FOUND` if the requested course or course work material does not exist","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the course work material.","schema":{"description":"Identifier of the course work material.","type":"string"}},{"name":"updateMask","in":"query","required":false,"description":"Mask that identifies which fields on the course work material to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the course work material object. If a field that does not support empty values is included in the update mask and not set in the course work material object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `scheduled_time` * `topic_id` * `learning_goals`","schema":{"description":"Mask that identifies which fields on the course work material to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the course work material object. If a field that does not support empty values is included in the update mask and not set in the course work material object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `scheduled_time` * `topic_id` * `learning_goals`","format":"google-fieldmask","type":"string"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWorkMaterial"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_CourseWorkMaterial"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.courseworkmaterials"]}},"/v1/courses/{courseId}/announcements/{id}":{"delete":{"operationId":"classroom.courses.announcements.delete","x-executor-toolPath":"classroom.courses.announcements.delete","x-executor-pathTemplate":"/v1/courses/{courseId}/announcements/{id}","tags":["Google Classroom API"],"description":"Deletes an announcement. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding announcement item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding announcement, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested announcement has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the announcement to delete. This identifier is a Classroom-assigned identifier.","schema":{"description":"Identifier of the announcement to delete. This identifier is a Classroom-assigned identifier.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.announcements"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.announcements"]},"patch":{"operationId":"classroom.courses.announcements.patch","x-executor-toolPath":"classroom.courses.announcements.patch","x-executor-pathTemplate":"/v1/courses/{courseId}/announcements/{id}","tags":["Google Classroom API"],"description":"Updates one or more fields of an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding announcement or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested announcement has already been deleted. * `NOT_FOUND` if the requested course or announcement does not exist","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the announcement.","schema":{"description":"Identifier of the announcement.","type":"string"}},{"name":"updateMask","in":"query","required":false,"description":"Mask that identifies which fields on the announcement to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the Announcement object. If a field that does not support empty values is included in the update mask and not set in the Announcement object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `text` * `state` * `scheduled_time`","schema":{"description":"Mask that identifies which fields on the announcement to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the Announcement object. If a field that does not support empty values is included in the update mask and not set in the Announcement object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `text` * `state` * `scheduled_time`","format":"google-fieldmask","type":"string"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Announcement"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Announcement"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.announcements"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.announcements"]},"get":{"operationId":"classroom.courses.announcements.get","x-executor-toolPath":"classroom.courses.announcements.get","x-executor-pathTemplate":"/v1/courses/{courseId}/announcements/{id}","tags":["Google Classroom API"],"description":"Returns an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or announcement, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or announcement does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the announcement.","schema":{"description":"Identifier of the announcement.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Announcement"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.announcements"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.announcements"]}},"/v1/courses/{courseId}/announcements":{"post":{"operationId":"classroom.courses.announcements.create","x-executor-toolPath":"classroom.courses.announcements.create","x-executor-pathTemplate":"/v1/courses/{courseId}/announcements","tags":["Google Classroom API"],"description":"Creates an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create announcements in the requested course, share a Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Announcement"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Announcement"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.announcements"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.announcements"]},"get":{"operationId":"classroom.courses.announcements.list","x-executor-toolPath":"classroom.courses.announcements.list","x-executor-pathTemplate":"/v1/courses/{courseId}/announcements","tags":["Google Classroom API"],"description":"Returns a list of announcements that the requester is permitted to view. Course students may only view `PUBLISHED` announcements. Course teachers and domain administrators may view all announcements. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"orderBy","in":"query","required":false,"description":"Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported field is `updateTime`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `updateTime asc`, `updateTime`","schema":{"description":"Optional sort ordering for results. A comma-separated list of fields with an optional sort direction keyword. Supported field is `updateTime`. Supported direction keywords are `asc` and `desc`. If not specified, `updateTime desc` is the default behavior. Examples: `updateTime asc`, `updateTime`","type":"string"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false},{"name":"announcementStates","in":"query","required":false,"description":"Restriction on the `state` of announcements returned. If this argument is left unspecified, the default value is `PUBLISHED`.","schema":{"type":"array","items":{"description":"Restriction on the `state` of announcements returned. If this argument is left unspecified, the default value is `PUBLISHED`.","enum":["ANNOUNCEMENT_STATE_UNSPECIFIED","PUBLISHED","DRAFT","DELETED"],"type":"string"}},"style":"form","explode":true},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListAnnouncementsResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.announcements"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.announcements"]}},"/v1/courses/{courseId}/announcements/{id}:modifyAssignees":{"post":{"operationId":"classroom.courses.announcements.modifyAssignees","x-executor-toolPath":"classroom.courses.announcements.modifyAssignees","x-executor-pathTemplate":"/v1/courses/{courseId}/announcements/{id}:modifyAssignees","tags":["Google Classroom API"],"description":"Modifies assignee mode and options of an announcement. Only a teacher of the course that contains the announcement may call this method. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist. * `FAILED_PRECONDITION` for the following request error: * EmptyAssignees","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"id","in":"path","required":true,"description":"Identifier of the announcement.","schema":{"description":"Identifier of the announcement.","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ModifyAnnouncementAssigneesRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Announcement"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.announcements"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.announcements"]}},"/v1/courses/{courseId}/teachers/{userId}":{"delete":{"operationId":"classroom.courses.teachers.delete","x-executor-toolPath":"classroom.courses.teachers.delete","x-executor-pathTemplate":"/v1/courses/{courseId}/teachers/{userId}","tags":["Google Classroom API"],"description":"Removes the specified teacher from the specified course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course. * `FAILED_PRECONDITION` if the requested ID belongs to the owner of the course Drive folder. * `FAILED_PRECONDITION` if the course no longer has an active owner.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"userId","in":"path","required":true,"description":"Identifier of the teacher to delete. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","schema":{"description":"Identifier of the teacher to delete. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"}},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Empty"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.rosters"]},"get":{"operationId":"classroom.courses.teachers.get","x-executor-toolPath":"classroom.courses.teachers.get","x-executor-pathTemplate":"/v1/courses/{courseId}/teachers/{userId}","tags":["Google Classroom API"],"description":"Returns a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view teachers of this course or for access errors. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"userId","in":"path","required":true,"description":"Identifier of the teacher to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","schema":{"description":"Identifier of the teacher to return. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_Teacher"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.emails"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.photos"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.profile.emails","https://www.googleapis.com/auth/classroom.profile.photos","https://www.googleapis.com/auth/classroom.rosters"]}},"/v1/courses/{courseId}/teachers":{"get":{"operationId":"classroom.courses.teachers.list","x-executor-toolPath":"classroom.courses.teachers.list","x-executor-pathTemplate":"/v1/courses/{courseId}/teachers","tags":["Google Classroom API"],"description":"Returns a list of teachers of this course that the requester is permitted to view. This method returns the following error codes: * `NOT_FOUND` if the course does not exist. * `PERMISSION_DENIED` for access errors.","servers":[{"url":"https://classroom.googleapis.com/"}],"parameters":[{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","schema":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"key","in":"query","required":false,"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","schema":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"courseId","in":"path","required":true,"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","schema":{"description":"Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.","type":"string"}},{"name":"pageSize","in":"query","required":false,"description":"Maximum number of items to return. The default is 30 if unspecified or `0`. The server may return fewer than the specified number of results.","schema":{"description":"Maximum number of items to return. The default is 30 if unspecified or `0`. The server may return fewer than the specified number of results.","format":"int32","type":"integer"},"style":"form","explode":false},{"name":"pageToken","in":"query","required":false,"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","schema":{"description":"nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.","type":"string"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/classroom_v1_ListTeachersResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.emails"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.profile.photos"]},{"googleOAuth2":["https://www.googleapis.com/auth/classroom.rosters"]}],"x-google-scopes":["https://www.googleapis.com/auth/classroom.profile.emails","https://www.googleapis.com/auth/classroom.profile.photos","https://www.googleapis.com/auth/classroom.rosters"]}}},"components":{"schemas":{"classroom_v1_TimeOfDay":{"description":"Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.","type":"object","properties":{"minutes":{"description":"Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.","format":"int32","type":"integer"},"seconds":{"description":"Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.","format":"int32","type":"integer"},"hours":{"description":"Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.","format":"int32","type":"integer"},"nanos":{"description":"Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.","format":"int32","type":"integer"}}},"classroom_v1_DriveFile":{"description":"Representation of a Google Drive file.","type":"object","properties":{"title":{"description":"Title of the Drive item. Read-only.","type":"string"},"alternateLink":{"description":"URL that can be used to access the Drive item. Read-only.","type":"string"},"thumbnailUrl":{"description":"URL of a thumbnail image of the Drive item. Read-only.","type":"string"},"id":{"description":"Drive API resource ID.","type":"string"}}},"classroom_v1_CourseRosterChangesInfo":{"description":"Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`.","type":"object","properties":{"courseId":{"description":"The `course_id` of the course to subscribe to roster changes for.","type":"string"}}},"classroom_v1_ListGuardianInvitationsResponse":{"description":"Response when listing guardian invitations.","type":"object","properties":{"guardianInvitations":{"description":"Guardian invitations that matched the list request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_GuardianInvitation"}},"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"}}},"classroom_v1_MultipleChoiceQuestion":{"description":"Additional details for multiple-choice questions.","type":"object","properties":{"choices":{"description":"Possible choices.","type":"array","items":{"type":"string"}}}},"classroom_v1_StudentSubmission":{"description":"Student submission for course work. `StudentSubmission` items are generated when a `CourseWork` item is created. Student submissions that have never been accessed (i.e. with `state` = NEW) may not have a creation time or update time.","type":"object","properties":{"assignedGrade":{"description":"Optional grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This may be modified only by course teachers.","format":"double","type":"number"},"late":{"description":"Whether this submission is late. Read-only.","type":"boolean"},"userId":{"description":"Identifier for the student that owns this submission. Read-only.","type":"string"},"multipleChoiceSubmission":{"$ref":"#/components/schemas/classroom_v1_MultipleChoiceSubmission"},"assignedRubricGrades":{"description":"Assigned rubric grades based on the rubric's Criteria. This map is empty if there is no rubric attached to this course work or if a rubric is attached, but no grades have been set on any Criteria. Entries are only populated for grades that have been set. Key: The rubric's criterion ID. Read-only.","type":"object","additionalProperties":{"$ref":"#/components/schemas/classroom_v1_RubricGrade"}},"alternateLink":{"description":"Absolute link to the submission in the Classroom web UI. Read-only.","type":"string"},"submissionHistory":{"description":"The history of the submission (includes state and grade histories). Read-only.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_SubmissionHistory"}},"id":{"description":"Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.","type":"string"},"courseWorkType":{"description":"Type of course work this submission is for. Read-only.","enum":["COURSE_WORK_TYPE_UNSPECIFIED","ASSIGNMENT","SHORT_ANSWER_QUESTION","MULTIPLE_CHOICE_QUESTION"],"type":"string"},"associatedWithDeveloper":{"description":"Whether this student submission is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only.","type":"boolean"},"draftRubricGrades":{"description":"Pending rubric grades based on the rubric's criteria. This map is empty if there is no rubric attached to this course work or if a rubric is attached, but no grades have been set on any criteria. Entries are only populated for grades that have been set. Key: The rubric's criterion ID. Read-only.","type":"object","additionalProperties":{"$ref":"#/components/schemas/classroom_v1_RubricGrade"}},"creationTime":{"description":"Creation time of this submission. This may be unset if the student has not accessed this item. Read-only.","format":"google-datetime","type":"string"},"courseWorkId":{"description":"Identifier for the course work this corresponds to. Read-only.","type":"string"},"updateTime":{"description":"Last update time of this submission. This may be unset if the student has not accessed this item. Read-only.","format":"google-datetime","type":"string"},"state":{"description":"State of this submission. Read-only.","enum":["SUBMISSION_STATE_UNSPECIFIED","NEW","CREATED","TURNED_IN","RETURNED","RECLAIMED_BY_STUDENT"],"type":"string"},"assignmentSubmission":{"$ref":"#/components/schemas/classroom_v1_AssignmentSubmission"},"shortAnswerSubmission":{"$ref":"#/components/schemas/classroom_v1_ShortAnswerSubmission"},"draftGrade":{"description":"Optional pending grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This is only visible to and modifiable by course teachers.","format":"double","type":"number"},"courseId":{"description":"Identifier of the course. Read-only.","type":"string"}}},"classroom_v1_ModifyCourseWorkAssigneesRequest":{"description":"Request to modify assignee mode and options of a coursework.","type":"object","properties":{"modifyIndividualStudentsOptions":{"$ref":"#/components/schemas/classroom_v1_ModifyIndividualStudentsOptions"},"assigneeMode":{"description":"Mode of the coursework describing whether it will be assigned to all students or specified individual students.","enum":["ASSIGNEE_MODE_UNSPECIFIED","ALL_STUDENTS","INDIVIDUAL_STUDENTS"],"type":"string"}}},"classroom_v1_SubmissionHistory":{"description":"The history of the submission. This currently includes state and grade histories.","type":"object","properties":{"stateHistory":{"$ref":"#/components/schemas/classroom_v1_StateHistory"},"gradeHistory":{"$ref":"#/components/schemas/classroom_v1_GradeHistory"}}},"classroom_v1_ListStudentGroupMembersResponse":{"description":"Response when listing students in a group.","type":"object","properties":{"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"},"studentGroupMembers":{"description":"The student group members.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_StudentGroupMember"}}}},"classroom_v1_GradingPeriodSettings":{"description":"Grading period settings that include all the individual grading periods in a course.","type":"object","properties":{"applyToExistingCoursework":{"description":"Supports toggling the application of grading periods on existing stream items. Once set, this value is persisted meaning that it does not need to be set in every request to update `GradingPeriodSettings`. If not previously set, the default is False.","type":"boolean"},"gradingPeriods":{"description":"The list of grading periods in a specific course. Grading periods must not have overlapping date ranges and must be listed in chronological order. Each grading period must have a unique title within a course.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_GradingPeriod"}}}},"classroom_v1_Link":{"description":"URL item.","type":"object","properties":{"title":{"description":"Title of the target of the URL. Read-only.","type":"string"},"thumbnailUrl":{"description":"URL of a thumbnail image of the target URL. Read-only.","type":"string"},"url":{"description":"URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.","type":"string"}}},"classroom_v1_Announcement":{"description":"Announcement created by a teacher for students of the course","type":"object","properties":{"individualStudentsOptions":{"$ref":"#/components/schemas/classroom_v1_IndividualStudentsOptions"},"courseId":{"description":"Identifier of the course. Read-only.","type":"string"},"alternateLink":{"description":"Absolute link to this announcement in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.","type":"string"},"id":{"description":"Classroom-assigned identifier of this announcement, unique per course. Read-only.","type":"string"},"scheduledTime":{"description":"Optional timestamp when this announcement is scheduled to be published.","format":"google-datetime","type":"string"},"materials":{"description":"Additional materials. Announcements must have no more than 20 material items.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Material"}},"state":{"description":"Status of this announcement. If unspecified, the default state is `DRAFT`.","enum":["ANNOUNCEMENT_STATE_UNSPECIFIED","PUBLISHED","DRAFT","DELETED"],"type":"string"},"updateTime":{"description":"Timestamp of the most recent change to this announcement. Read-only.","format":"google-datetime","type":"string"},"creationTime":{"description":"Timestamp when this announcement was created. Read-only.","format":"google-datetime","type":"string"},"text":{"description":"Description of this announcement. The text must be a valid UTF-8 string containing no more than 30,000 characters.","type":"string"},"assigneeMode":{"description":"Assignee mode of the announcement. If unspecified, the default value is `ALL_STUDENTS`.","enum":["ASSIGNEE_MODE_UNSPECIFIED","ALL_STUDENTS","INDIVIDUAL_STUDENTS"],"type":"string"},"creatorUserId":{"description":"Identifier for the user that created the announcement. Read-only.","type":"string"}}},"classroom_v1_EmbedUri":{"description":"URI to be iframed after being populated with query parameters.","type":"object","properties":{"uri":{"description":"Required. URI to be iframed after being populated with query parameters. This must be a valid UTF-8 string containing between 1 and 1800 characters.","type":"string"}}},"classroom_v1_Student":{"description":"Student in a course.","type":"object","properties":{"studentWorkFolder":{"$ref":"#/components/schemas/classroom_v1_DriveFolder"},"userId":{"description":"Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"},"profile":{"$ref":"#/components/schemas/classroom_v1_UserProfile"},"courseId":{"description":"Identifier of the course. Read-only.","type":"string"}}},"classroom_v1_CourseMaterial":{"description":"A material attached to a course as part of a material set.","type":"object","properties":{"link":{"$ref":"#/components/schemas/classroom_v1_Link"},"youTubeVideo":{"$ref":"#/components/schemas/classroom_v1_YouTubeVideo"},"driveFile":{"$ref":"#/components/schemas/classroom_v1_DriveFile"},"form":{"$ref":"#/components/schemas/classroom_v1_Form"}}},"classroom_v1_ListRubricsResponse":{"description":"Response when listing rubrics.","type":"object","properties":{"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"},"rubrics":{"description":"Rubrics that match the request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Rubric"}}}},"classroom_v1_GuardianInvitation":{"description":"An invitation to become the guardian of a specified user, sent to a specified email address.","type":"object","properties":{"invitationId":{"description":"Unique identifier for this invitation. Read-only.","type":"string"},"state":{"description":"The state that this invitation is in.","enum":["GUARDIAN_INVITATION_STATE_UNSPECIFIED","PENDING","COMPLETE"],"type":"string"},"invitedEmailAddress":{"description":"Email address that the invitation was sent to. This field is only visible to domain administrators.","type":"string"},"studentId":{"description":"ID of the student (in standard format)","type":"string"},"creationTime":{"description":"The time that this invitation was created. Read-only.","format":"google-datetime","type":"string"}}},"classroom_v1_CourseWork":{"description":"Course work created by a teacher for students of the course.","type":"object","properties":{"description":{"description":"Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters.","type":"string"},"topicId":{"description":"Identifier for the topic that this coursework is associated with. Must match an existing topic in the course.","type":"string"},"id":{"description":"Classroom-assigned identifier of this course work, unique per course. Read-only.","type":"string"},"alternateLink":{"description":"Absolute link to this course work in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.","type":"string"},"dueTime":{"$ref":"#/components/schemas/classroom_v1_TimeOfDay"},"multipleChoiceQuestion":{"$ref":"#/components/schemas/classroom_v1_MultipleChoiceQuestion"},"courseId":{"description":"Identifier of the course. Read-only.","type":"string"},"creatorUserId":{"description":"Identifier for the user that created the coursework. Read-only.","type":"string"},"state":{"description":"Status of this course work. If unspecified, the default state is `DRAFT`.","enum":["COURSE_WORK_STATE_UNSPECIFIED","PUBLISHED","DRAFT","DELETED"],"type":"string"},"submissionModificationMode":{"description":"Setting to determine when students are allowed to modify submissions. If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.","enum":["SUBMISSION_MODIFICATION_MODE_UNSPECIFIED","MODIFIABLE_UNTIL_TURNED_IN","MODIFIABLE"],"type":"string"},"updateTime":{"description":"Timestamp of the most recent change to this course work. Read-only.","format":"google-datetime","type":"string"},"assigneeMode":{"description":"Assignee mode of the coursework. If unspecified, the default value is `ALL_STUDENTS`.","enum":["ASSIGNEE_MODE_UNSPECIFIED","ALL_STUDENTS","INDIVIDUAL_STUDENTS"],"type":"string"},"title":{"description":"Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters.","type":"string"},"associatedWithDeveloper":{"description":"Whether this course work item is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only.","type":"boolean"},"creationTime":{"description":"Timestamp when this course work was created. Read-only.","format":"google-datetime","type":"string"},"dueDate":{"$ref":"#/components/schemas/classroom_v1_Date"},"individualStudentsOptions":{"$ref":"#/components/schemas/classroom_v1_IndividualStudentsOptions"},"assignment":{"$ref":"#/components/schemas/classroom_v1_Assignment"},"scheduledTime":{"description":"Optional timestamp when this course work is scheduled to be published.","format":"google-datetime","type":"string"},"maxPoints":{"description":"Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.","format":"double","type":"number"},"gradeCategory":{"$ref":"#/components/schemas/classroom_v1_GradeCategory"},"workType":{"description":"Type of this course work. The type is set when the course work is created and cannot be changed.","enum":["COURSE_WORK_TYPE_UNSPECIFIED","ASSIGNMENT","SHORT_ANSWER_QUESTION","MULTIPLE_CHOICE_QUESTION"],"type":"string"},"gradingPeriodId":{"description":"Identifier of the grading period associated with the coursework. * At creation, if unspecified, the grading period ID will be set based on the `dueDate` (or `scheduledTime` if no `dueDate` is set). * To indicate no association to any grading period, set this field to an empty string (\"\"). * If specified, it must match an existing grading period ID in the course.","type":"string"},"materials":{"description":"Additional materials. CourseWork must have no more than 20 material items.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Material"}}}},"classroom_v1_AddOnAttachment":{"description":"An add-on attachment on a post.","type":"object","properties":{"copyHistory":{"description":"Output only. Identifiers of attachments that were previous copies of this attachment. If the attachment was previously copied by virtue of its parent post being copied, this enumerates the identifiers of attachments that were its previous copies in ascending chronological order of copy.","readOnly":true,"type":"array","items":{"$ref":"#/components/schemas/classroom_v1_CopyHistory"}},"title":{"description":"Required. Title of this attachment. The title must be between 1 and 1000 characters.","type":"string"},"id":{"description":"Immutable. Classroom-assigned identifier for this attachment, unique per post.","type":"string"},"dueTime":{"$ref":"#/components/schemas/classroom_v1_TimeOfDay"},"maxPoints":{"description":"Maximum grade for this attachment. Can only be set if `studentWorkReviewUri` is set. Set to a non-zero value to indicate that the attachment supports grade passback. If set, this must be a non-negative integer value. When set to zero, the attachment will not support grade passback.","format":"double","type":"number"},"itemId":{"description":"Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. Unique per course.","type":"string"},"teacherViewUri":{"$ref":"#/components/schemas/classroom_v1_EmbedUri"},"studentViewUri":{"$ref":"#/components/schemas/classroom_v1_EmbedUri"},"courseId":{"description":"Immutable. Identifier of the course.","type":"string"},"studentWorkReviewUri":{"$ref":"#/components/schemas/classroom_v1_EmbedUri"},"postId":{"description":"Immutable. Deprecated, use `item_id` instead.","type":"string"},"dueDate":{"$ref":"#/components/schemas/classroom_v1_Date"}}},"classroom_v1_YouTubeVideo":{"description":"YouTube video item.","type":"object","properties":{"title":{"description":"Title of the YouTube video. Read-only.","type":"string"},"id":{"description":"YouTube API resource ID.","type":"string"},"alternateLink":{"description":"URL that can be used to view the YouTube video. Read-only.","type":"string"},"thumbnailUrl":{"description":"URL of a thumbnail image of the YouTube video. Read-only.","type":"string"}}},"classroom_v1_ReclaimStudentSubmissionRequest":{"description":"Request to reclaim a student submission.","type":"object"},"classroom_v1_ReturnStudentSubmissionRequest":{"description":"Request to return a student submission.","type":"object"},"classroom_v1_ListStudentSubmissionsResponse":{"description":"Response when listing student submissions.","type":"object","properties":{"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"},"studentSubmissions":{"description":"Student work that matches the request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_StudentSubmission"}}}},"classroom_v1_ModifyIndividualStudentsOptions":{"description":"Contains fields to add or remove students from a course work or announcement where the `assigneeMode` is set to `INDIVIDUAL_STUDENTS`.","type":"object","properties":{"removeStudentIds":{"description":"IDs of students to be removed from having access to this coursework/announcement.","type":"array","items":{"type":"string"}},"addStudentIds":{"description":"IDs of students to be added as having access to this coursework/announcement.","type":"array","items":{"type":"string"}}}},"classroom_v1_RubricGrade":{"description":"A rubric grade set for the student submission. There is at most one entry per rubric criterion.","type":"object","properties":{"levelId":{"description":"Optional. Optional level ID of the selected level. If empty, no level was selected.","type":"string"},"points":{"description":"Optional. Optional points assigned for this criterion, typically based on the level. Levels might or might not have points. If unset, no points were set for this criterion.","format":"double","type":"number"},"criterionId":{"description":"Optional. Criterion ID.","type":"string"}}},"classroom_v1_ListAddOnAttachmentsResponse":{"description":"Response when listing add-on attachments.","type":"object","properties":{"addOnAttachments":{"description":"Attachments under the given post.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_AddOnAttachment"}},"nextPageToken":{"description":"A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.","type":"string"}}},"classroom_v1_ModifyAttachmentsRequest":{"description":"Request to modify the attachments of a student submission.","type":"object","properties":{"addAttachments":{"description":"Attachments to add. A student submission may not have more than 20 attachments. Form attachments are not supported.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Attachment"}}}},"classroom_v1_Invitation":{"description":"An invitation to join a course.","type":"object","properties":{"id":{"description":"Identifier assigned by Classroom. Read-only.","type":"string"},"courseId":{"description":"Identifier of the course to invite the user to.","type":"string"},"userId":{"description":"Identifier of the invited user. When specified as a parameter of a request, this identifier can be set to one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"},"role":{"description":"Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.","enum":["COURSE_ROLE_UNSPECIFIED","STUDENT","TEACHER","OWNER"],"type":"string"}}},"classroom_v1_Attachment":{"description":"Attachment added to student assignment work. When creating attachments, setting the `form` field is not supported.","type":"object","properties":{"youTubeVideo":{"$ref":"#/components/schemas/classroom_v1_YouTubeVideo"},"link":{"$ref":"#/components/schemas/classroom_v1_Link"},"form":{"$ref":"#/components/schemas/classroom_v1_Form"},"driveFile":{"$ref":"#/components/schemas/classroom_v1_DriveFile"}}},"classroom_v1_ShortAnswerSubmission":{"description":"Student work for a short answer question.","type":"object","properties":{"answer":{"description":"Student response to a short-answer question.","type":"string"}}},"classroom_v1_ListCourseWorkResponse":{"description":"Response when listing course work.","type":"object","properties":{"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"},"courseWork":{"description":"Course work items that match the request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_CourseWork"}}}},"classroom_v1_ListStudentGroupsResponse":{"description":"Response when listing student groups.","type":"object","properties":{"studentGroups":{"description":"The student groups.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_StudentGroup"}},"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"}}},"classroom_v1_StudentGroup":{"description":"A student group in a course.","type":"object","properties":{"id":{"description":"The identifier of the student group.","type":"string"},"title":{"description":"The title of the student group.","type":"string"},"courseId":{"description":"The identifier of the course.","type":"string"}}},"classroom_v1_CourseWorkChangesInfo":{"description":"Information about a `Feed` with a `feed_type` of `COURSE_WORK_CHANGES`.","type":"object","properties":{"courseId":{"description":"The `course_id` of the course to subscribe to work changes for.","type":"string"}}},"classroom_v1_Material":{"description":"Material attached to course work. When creating attachments, setting the `form`, `gem`, or `notebook` field is not supported.","type":"object","properties":{"notebook":{"$ref":"#/components/schemas/classroom_v1_NotebookLmNotebook"},"youtubeVideo":{"$ref":"#/components/schemas/classroom_v1_YouTubeVideo"},"link":{"$ref":"#/components/schemas/classroom_v1_Link"},"driveFile":{"$ref":"#/components/schemas/classroom_v1_SharedDriveFile"},"gem":{"$ref":"#/components/schemas/classroom_v1_GeminiGem"},"form":{"$ref":"#/components/schemas/classroom_v1_Form"}}},"classroom_v1_StateHistory":{"description":"The history of each state this submission has been in.","type":"object","properties":{"stateTimestamp":{"description":"When the submission entered this state.","format":"google-datetime","type":"string"},"actorUserId":{"description":"The teacher or student who made the change.","type":"string"},"state":{"description":"The workflow pipeline stage.","enum":["STATE_UNSPECIFIED","CREATED","TURNED_IN","RETURNED","RECLAIMED_BY_STUDENT","STUDENT_EDITED_AFTER_TURN_IN"],"type":"string"}}},"classroom_v1_Rubric":{"description":"The rubric of the course work. A rubric is a scoring guide used to evaluate student work and give feedback. For further details, see [Rubrics structure and known limitations](/classroom/rubrics/limitations).","type":"object","properties":{"courseId":{"description":"Identifier of the course. Read-only.","type":"string"},"criteria":{"description":"List of criteria. Each criterion is a dimension on which performance is rated.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Criterion"}},"creationTime":{"description":"Output only. Timestamp when this rubric was created. Read-only.","format":"google-datetime","readOnly":true,"type":"string"},"courseWorkId":{"description":"Identifier for the course work this corresponds to. Read-only.","type":"string"},"sourceSpreadsheetId":{"description":"Input only. Immutable. Google Sheets ID of the spreadsheet. This spreadsheet must contain formatted rubric settings. See [Create or reuse a rubric for an assignment](https://support.google.com/edu/classroom/answer/9335069). Use of this field requires the `https://www.googleapis.com/auth/spreadsheets.readonly` or `https://www.googleapis.com/auth/spreadsheets` scope.","type":"string"},"id":{"description":"Classroom-assigned identifier for the rubric. This is unique among rubrics for the relevant course work. Read-only.","type":"string"},"updateTime":{"description":"Output only. Timestamp of the most recent change to this rubric. Read-only.","format":"google-datetime","readOnly":true,"type":"string"}}},"classroom_v1_ListStudentsResponse":{"description":"Response when listing students.","type":"object","properties":{"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"},"students":{"description":"Students who match the list request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Student"}}}},"classroom_v1_Date":{"description":"Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp","type":"object","properties":{"day":{"description":"Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.","format":"int32","type":"integer"},"year":{"description":"Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.","format":"int32","type":"integer"},"month":{"description":"Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.","format":"int32","type":"integer"}}},"classroom_v1_Form":{"description":"Google Forms item.","type":"object","properties":{"thumbnailUrl":{"description":"URL of a thumbnail image of the Form. Read-only.","type":"string"},"title":{"description":"Title of the Form. Read-only.","type":"string"},"responseUrl":{"description":"URL of the form responses document. Only set if responses have been recorded and only when the requesting user is an editor of the form. Read-only.","type":"string"},"formUrl":{"description":"URL of the form.","type":"string"}}},"classroom_v1_ListCourseWorkMaterialResponse":{"description":"Response when listing course work material.","type":"object","properties":{"courseWorkMaterial":{"description":"Course work material items that match the request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_CourseWorkMaterial"}},"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"}}},"classroom_v1_SharedDriveFile":{"description":"Drive file that is used as material for course work.","type":"object","properties":{"driveFile":{"$ref":"#/components/schemas/classroom_v1_DriveFile"},"shareMode":{"description":"Mechanism by which students access the Drive item.","enum":["UNKNOWN_SHARE_MODE","VIEW","EDIT","STUDENT_COPY"],"type":"string"}}},"classroom_v1_Name":{"description":"Details of the user's name.","type":"object","properties":{"familyName":{"description":"The user's last name. Read-only.","type":"string"},"fullName":{"description":"The user's full name formed by concatenating the first and last name values. Read-only.","type":"string"},"givenName":{"description":"The user's first name. Read-only.","type":"string"}}},"classroom_v1_ListInvitationsResponse":{"description":"Response when listing invitations.","type":"object","properties":{"invitations":{"description":"Invitations that match the list request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Invitation"}},"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"}}},"classroom_v1_StudentGroupMember":{"description":"A student member in a student group.","type":"object","properties":{"userId":{"description":"Identifier of the student.","type":"string"},"studentGroupId":{"description":"The identifier of the student group.","type":"string"},"courseId":{"description":"The identifier of the course.","type":"string"}}},"classroom_v1_GradeCategory":{"description":"Details for a grade category in a course. Coursework may have zero or one grade category, and the category may be used in computing the overall grade. See the [help center article](https://support.google.com/edu/classroom/answer/9184995) for details.","type":"object","properties":{"id":{"description":"ID of the grade category.","type":"string"},"defaultGradeDenominator":{"description":"Default value of denominator. Only applicable when grade calculation type is TOTAL_POINTS.","format":"int32","type":"integer"},"weight":{"description":"The weight of the category average as part of overall average. A weight of 12.34% is represented as 123400 (100% is 1,000,000). The last two digits should always be zero since we use two decimal precision. Only applicable when grade calculation type is WEIGHTED_CATEGORIES.","format":"int32","type":"integer"},"name":{"description":"Name of the grade category.","type":"string"}}},"classroom_v1_ListCourseAliasesResponse":{"description":"Response when listing course aliases.","type":"object","properties":{"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"},"aliases":{"description":"The course aliases.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_CourseAlias"}}}},"classroom_v1_Assignment":{"description":"Additional details for assignments.","type":"object","properties":{"studentWorkFolder":{"$ref":"#/components/schemas/classroom_v1_DriveFolder"}}},"classroom_v1_ListGuardiansResponse":{"description":"Response when listing guardians.","type":"object","properties":{"guardians":{"description":"Guardians on this page of results that met the criteria specified in the request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Guardian"}},"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"}}},"classroom_v1_Guardian":{"description":"Association between a student and a guardian of that student. The guardian may receive information about the student's course work.","type":"object","properties":{"guardianId":{"description":"Identifier for the guardian.","type":"string"},"invitedEmailAddress":{"description":"The email address to which the initial guardian invitation was sent. This field is only visible to domain administrators.","type":"string"},"studentId":{"description":"Identifier for the student to whom the guardian relationship applies.","type":"string"},"guardianProfile":{"$ref":"#/components/schemas/classroom_v1_UserProfile"}}},"classroom_v1_AddOnAttachmentStudentSubmission":{"description":"Payload for grade update requests.","type":"object","properties":{"pointsEarned":{"description":"Student grade on this attachment. If unset, no grade was set.","format":"double","type":"number"},"postSubmissionState":{"description":"Submission state of add-on attachment's parent post (i.e. assignment).","enum":["SUBMISSION_STATE_UNSPECIFIED","NEW","CREATED","TURNED_IN","RETURNED","RECLAIMED_BY_STUDENT"],"type":"string"},"courseWorkSubmissionId":{"description":"Output only. Identifier of the course work submission under which this attachment submission was made.","readOnly":true,"type":"string"},"id":{"description":"Output only. Classroom-assigned identifier for this student submission. This is unique among submissions for the relevant course work and add-on attachment combination.","readOnly":true,"type":"string"},"userId":{"description":"Identifier for the student that owns this submission. Requires the user to be a teacher in the course and have permission to read student submissions. See [`courseWork.studentSubmissions.get`](/workspace/classroom/reference/rest/v1/courses.courseWork.studentSubmissions/get#authorization-scopes) for the list of acceptable OAuth scopes for this field. Read-only.","type":"string"}}},"classroom_v1_ModifyAnnouncementAssigneesRequest":{"description":"Request to modify assignee mode and options of an announcement.","type":"object","properties":{"assigneeMode":{"description":"Mode of the announcement describing whether it is accessible by all students or specified individual students.","enum":["ASSIGNEE_MODE_UNSPECIFIED","ALL_STUDENTS","INDIVIDUAL_STUDENTS"],"type":"string"},"modifyIndividualStudentsOptions":{"$ref":"#/components/schemas/classroom_v1_ModifyIndividualStudentsOptions"}}},"classroom_v1_Teacher":{"description":"Teacher of a course.","type":"object","properties":{"userId":{"description":"Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user","type":"string"},"profile":{"$ref":"#/components/schemas/classroom_v1_UserProfile"},"courseId":{"description":"Identifier of the course. Read-only.","type":"string"}}},"classroom_v1_TeacherContext":{"description":"Role-specific context if the requesting user is a teacher.","type":"object"},"classroom_v1_CourseMaterialSet":{"description":"A set of materials that appears on the \"About\" page of the course. These materials might include a syllabus, schedule, or other background information relating to the course as a whole.","type":"object","properties":{"title":{"description":"Title for this set.","type":"string"},"materials":{"description":"Materials attached to this set.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_CourseMaterial"}}}},"classroom_v1_GradeHistory":{"description":"The history of each grade on this submission.","type":"object","properties":{"gradeTimestamp":{"description":"When the grade of the submission was changed.","format":"google-datetime","type":"string"},"pointsEarned":{"description":"The numerator of the grade at this time in the submission grade history.","format":"double","type":"number"},"gradeChangeType":{"description":"The type of grade change at this time in the submission grade history.","enum":["UNKNOWN_GRADE_CHANGE_TYPE","DRAFT_GRADE_POINTS_EARNED_CHANGE","ASSIGNED_GRADE_POINTS_EARNED_CHANGE","MAX_POINTS_CHANGE"],"type":"string"},"actorUserId":{"description":"The teacher who made the grade change.","type":"string"},"maxPoints":{"description":"The denominator of the grade at this time in the submission grade history.","format":"double","type":"number"}}},"classroom_v1_CourseWorkMaterial":{"description":"Course work material created by a teacher for students of the course","type":"object","properties":{"alternateLink":{"description":"Absolute link to this course work material in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.","type":"string"},"courseId":{"description":"Identifier of the course. Read-only.","type":"string"},"topicId":{"description":"Identifier for the topic that this course work material is associated with. Must match an existing topic in the course.","type":"string"},"materials":{"description":"Additional materials. A course work material must have no more than 20 material items.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Material"}},"scheduledTime":{"description":"Optional timestamp when this course work material is scheduled to be published.","format":"google-datetime","type":"string"},"state":{"description":"Status of this course work material. If unspecified, the default state is `DRAFT`.","enum":["COURSEWORK_MATERIAL_STATE_UNSPECIFIED","PUBLISHED","DRAFT","DELETED"],"type":"string"},"assigneeMode":{"description":"Assignee mode of the course work material. If unspecified, the default value is `ALL_STUDENTS`.","enum":["ASSIGNEE_MODE_UNSPECIFIED","ALL_STUDENTS","INDIVIDUAL_STUDENTS"],"type":"string"},"id":{"description":"Classroom-assigned identifier of this course work material, unique per course. Read-only.","type":"string"},"creationTime":{"description":"Timestamp when this course work material was created. Read-only.","format":"google-datetime","type":"string"},"individualStudentsOptions":{"$ref":"#/components/schemas/classroom_v1_IndividualStudentsOptions"},"title":{"description":"Title of this course work material. The title must be a valid UTF-8 string containing between 1 and 3000 characters.","type":"string"},"description":{"description":"Optional description of this course work material. The text must be a valid UTF-8 string containing no more than 30,000 characters.","type":"string"},"creatorUserId":{"description":"Identifier for the user that created the course work material. Read-only.","type":"string"},"updateTime":{"description":"Timestamp of the most recent change to this course work material. Read-only.","format":"google-datetime","type":"string"}}},"classroom_v1_ListTeachersResponse":{"description":"Response when listing teachers.","type":"object","properties":{"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"},"teachers":{"description":"Teachers who match the list request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Teacher"}}}},"classroom_v1_IndividualStudentsOptions":{"description":"Assignee details about a coursework/announcement. This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.","type":"object","properties":{"studentIds":{"description":"Identifiers for the students that have access to the coursework/announcement.","type":"array","items":{"type":"string"}}}},"classroom_v1_Course":{"description":"A Course in Classroom.","type":"object","properties":{"teacherFolder":{"$ref":"#/components/schemas/classroom_v1_DriveFolder"},"section":{"description":"Section of the course. For example, \"Period 2\". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.","type":"string"},"courseState":{"description":"State of the course. If unspecified, the default state is `PROVISIONED`.","enum":["COURSE_STATE_UNSPECIFIED","ACTIVE","ARCHIVED","PROVISIONED","DECLINED","SUSPENDED"],"type":"string"},"room":{"description":"Optional room location. For example, \"301\". If set, this field must be a valid UTF-8 string and no longer than 650 characters.","type":"string"},"calendarId":{"description":"The Calendar ID for a calendar that all course members can see, to which Classroom adds events for course work and announcements in the course. The Calendar for a course is created asynchronously when the course is set to `CourseState.ACTIVE` for the first time (at creation time or when it is updated to `ACTIVE` through the UI or the API). The Calendar ID will not be populated until the creation process is completed. Read-only.","type":"string"},"guardiansEnabled":{"description":"Whether or not guardian notifications are enabled for this course. Read-only.","type":"boolean"},"id":{"description":"Identifier for this course assigned by Classroom. When creating a course, you may optionally set this identifier to an alias string in the request to create a corresponding alias. The `id` is still assigned by Classroom and cannot be updated after the course is created. Specifying this field in a course update mask results in an error.","type":"string"},"description":{"description":"Optional description. For example, \"We'll be learning about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!\" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.","type":"string"},"teacherGroupEmail":{"description":"The email address of a Google group containing all teachers of the course. This group does not accept email and can only be used for permissions. Read-only.","type":"string"},"subject":{"description":"Optional. The subject of the course.","type":"string"},"levels":{"description":"Optional. Levels for the course. Examples: \"9th grade\", \"Middle school\", \"4th - 5th\", \"K-2\", \"3000\". If set, this field must be a valid UTF-8 string and fewer than 1000 characters. This field can only be cleared using the `PatchCourse` method.","type":"string"},"descriptionHeading":{"description":"Optional heading for the description. For example, \"Welcome to 10th Grade Biology.\" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.","type":"string"},"courseGroupEmail":{"description":"The email address of a Google group containing all members of the course. This group does not accept email and can only be used for permissions. Read-only.","type":"string"},"courseMaterialSets":{"description":"Sets of materials that appear on the \"about\" page of this course. Read-only.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_CourseMaterialSet"}},"updateTime":{"description":"Time of the most recent update to this course. Specifying this field in a course update mask results in an error. Read-only.","format":"google-datetime","type":"string"},"name":{"description":"Name of the course. For example, \"10th Grade Biology\". The name is required. It must be between 1 and 750 characters and a valid UTF-8 string.","type":"string"},"ownerId":{"description":"The identifier of the owner of a course. When specified as a parameter of a create course request, this field is required. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `\"me\"`, indicating the requesting user This must be set in a create request. Admins can also specify this field in a patch course request to transfer ownership. In other contexts, it is read-only.","type":"string"},"gradebookSettings":{"$ref":"#/components/schemas/classroom_v1_GradebookSettings"},"alternateLink":{"description":"Absolute link to this course in the Classroom web UI. Read-only.","type":"string"},"enrollmentCode":{"description":"Enrollment code to use when joining this course. Specifying this field in a course update mask results in an error. Read-only.","type":"string"},"creationTime":{"description":"Creation time of the course. Specifying this field in a course update mask results in an error. Read-only.","format":"google-datetime","type":"string"}}},"classroom_v1_Empty":{"description":"A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }","type":"object"},"classroom_v1_MultipleChoiceSubmission":{"description":"Student work for a multiple-choice question.","type":"object","properties":{"answer":{"description":"Student's select choice.","type":"string"}}},"classroom_v1_UserProfile":{"description":"Global information for a user.","type":"object","properties":{"photoUrl":{"description":"URL of user's profile photo. Must request `https://www.googleapis.com/auth/classroom.profile.photos` scope for this field to be populated in a response body. Read-only.","type":"string"},"emailAddress":{"description":"Email address of the user. Must request `https://www.googleapis.com/auth/classroom.profile.emails` scope for this field to be populated in a response body. Read-only.","type":"string"},"name":{"$ref":"#/components/schemas/classroom_v1_Name"},"id":{"description":"Identifier of the user. Read-only.","type":"string"},"permissions":{"description":"Global permissions of the user. Read-only.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_GlobalPermission"}},"verifiedTeacher":{"description":"Represents whether a Google Workspace for Education user's domain administrator has explicitly verified them as being a teacher. This field is always false if the user is not a member of a Google Workspace for Education domain. Read-only","type":"boolean"}}},"classroom_v1_Feed":{"description":"A class of notifications that an application can register to receive. For example: \"all roster changes for a domain\".","type":"object","properties":{"courseWorkChangesInfo":{"$ref":"#/components/schemas/classroom_v1_CourseWorkChangesInfo"},"courseRosterChangesInfo":{"$ref":"#/components/schemas/classroom_v1_CourseRosterChangesInfo"},"feedType":{"description":"The type of feed.","enum":["FEED_TYPE_UNSPECIFIED","DOMAIN_ROSTER_CHANGES","COURSE_ROSTER_CHANGES","COURSE_WORK_CHANGES"],"type":"string"}}},"classroom_v1_ListAnnouncementsResponse":{"description":"Response when listing course work.","type":"object","properties":{"announcements":{"description":"Announcement items that match the request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Announcement"}},"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"}}},"classroom_v1_CloudPubsubTopic":{"description":"A reference to a Cloud Pub/Sub topic. To register for notifications, the owner of the topic must grant `classroom-notifications@system.gserviceaccount.com` the `projects.topics.publish` permission.","type":"object","properties":{"topicName":{"description":"The `name` field of a Cloud Pub/Sub [Topic](https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic).","type":"string"}}},"classroom_v1_GeminiGem":{"description":"Gemini Gem link.","type":"object","properties":{"url":{"description":"URL that can be used to access the Gem.","type":"string"},"title":{"description":"Title of the Gem.","type":"string"},"id":{"description":"Gems resource id.","type":"string"}}},"classroom_v1_AddOnContext":{"description":"Attachment-relevant metadata for Classroom add-ons in the context of a specific post.","type":"object","properties":{"courseId":{"description":"Immutable. Identifier of the course.","type":"string"},"supportsStudentWork":{"description":"Optional. Whether the post allows the teacher to see student work and passback grades.","type":"boolean"},"studentContext":{"$ref":"#/components/schemas/classroom_v1_StudentContext"},"teacherContext":{"$ref":"#/components/schemas/classroom_v1_TeacherContext"},"itemId":{"description":"Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached.","type":"string"},"postId":{"description":"Immutable. Deprecated, use `item_id` instead.","type":"string"}}},"classroom_v1_CopyHistory":{"description":"Identifier of a previous copy of a given attachment.","type":"object","properties":{"attachmentId":{"description":"Immutable. Identifier of the attachment.","type":"string"},"itemId":{"description":"Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached.","type":"string"},"postId":{"description":"Immutable. Deprecated, use `item_id` instead.","type":"string"},"courseId":{"description":"Immutable. Identifier of the course.","type":"string"}}},"classroom_v1_DriveFolder":{"description":"Representation of a Google Drive folder.","type":"object","properties":{"alternateLink":{"description":"URL that can be used to access the Drive folder. Read-only.","type":"string"},"title":{"description":"Title of the Drive folder. Read-only.","type":"string"},"id":{"description":"Drive API resource ID.","type":"string"}}},"classroom_v1_Criterion":{"description":"A rubric criterion. Each criterion is a dimension on which performance is rated.","type":"object","properties":{"description":{"description":"The description of the criterion.","type":"string"},"levels":{"description":"The list of levels within this criterion.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Level"}},"title":{"description":"The title of the criterion.","type":"string"},"id":{"description":"The criterion ID. On creation, an ID is assigned.","type":"string"}}},"classroom_v1_StudentContext":{"description":"Role-specific context if the requesting user is a student.","type":"object","properties":{"submissionId":{"description":"Requesting user's submission id to be used for grade passback and to identify the student when showing student work to the teacher. This is set exactly when `supportsStudentWork` is `true`.","type":"string"}}},"classroom_v1_Level":{"description":"A level of the criterion.","type":"object","properties":{"description":{"description":"The description of the level.","type":"string"},"title":{"description":"The title of the level. If the level has no points set, title must be set.","type":"string"},"points":{"description":"Optional points associated with this level. If set, all levels within the rubric must specify points and the value must be distinct across all levels within a single criterion. 0 is distinct from no points.","format":"double","type":"number"},"id":{"description":"The level ID. On creation, an ID is assigned.","type":"string"}}},"classroom_v1_GradebookSettings":{"description":"The gradebook settings for a course. See the [help center article](https://support.google.com/edu/classroom/answer/9184995) for details.","type":"object","properties":{"displaySetting":{"description":"Indicates who can see the overall grade..","enum":["DISPLAY_SETTING_UNSPECIFIED","SHOW_OVERALL_GRADE","HIDE_OVERALL_GRADE","SHOW_TEACHERS_ONLY"],"type":"string"},"calculationType":{"description":"Indicates how the overall grade is calculated.","enum":["CALCULATION_TYPE_UNSPECIFIED","TOTAL_POINTS","WEIGHTED_CATEGORIES"],"type":"string"},"gradeCategories":{"description":"Grade categories that are available for coursework in the course.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_GradeCategory"}}}},"classroom_v1_NotebookLmNotebook":{"description":"NotebookLM Notebook link.","type":"object","properties":{"title":{"description":"Title of the Notebook.","type":"string"},"url":{"description":"URL that can be used to access the Notebook.","type":"string"},"id":{"description":"Notebook resource id.","type":"string"}}},"classroom_v1_Registration":{"description":"An instruction to Classroom to send notifications from the `feed` to the provided destination.","type":"object","properties":{"expiryTime":{"description":"The time until which the `Registration` is effective. This is a read-only field assigned by the server.","format":"google-datetime","type":"string"},"registrationId":{"description":"A server-generated unique identifier for this `Registration`. Read-only.","type":"string"},"feed":{"$ref":"#/components/schemas/classroom_v1_Feed"},"cloudPubsubTopic":{"$ref":"#/components/schemas/classroom_v1_CloudPubsubTopic"}}},"classroom_v1_ListTopicResponse":{"description":"Response when listing topics.","type":"object","properties":{"topic":{"description":"Topic items that match the request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Topic"}},"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"}}},"classroom_v1_GradingPeriod":{"description":"An individual grading period. Grading periods must not have overlapping date ranges and must be listed in chronological order. For example, if the end_date of a grading period is 2024-01-25, then the start_date of the next grading period must be 2024-01-26 or later. Each grading period must have a unique title within a course.","type":"object","properties":{"endDate":{"$ref":"#/components/schemas/classroom_v1_Date"},"id":{"description":"Output only. System generated grading period ID. Read-only.","readOnly":true,"type":"string"},"startDate":{"$ref":"#/components/schemas/classroom_v1_Date"},"title":{"description":"Required. Title of the grading period. For example, “Semester 1”.","type":"string"}}},"classroom_v1_GlobalPermission":{"description":"Global user permission description.","type":"object","properties":{"permission":{"description":"Permission value.","enum":["PERMISSION_UNSPECIFIED","CREATE_COURSE"],"type":"string"}}},"classroom_v1_CourseAlias":{"description":"Alternative identifier for a course. An alias uniquely identifies a course. It must be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and can be created only by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console project ID that created the alias and can be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return `ALREADY_EXISTS` if a previous one has succeeded.","type":"object","properties":{"alias":{"description":"Alias string. The format of the string indicates the desired alias scoping. * `d:` indicates a domain-scoped alias. Example: `d:math_101` * `p:` indicates a project-scoped alias. Example: `p:abc123` This field has a maximum length of 256 characters.","type":"string"}}},"classroom_v1_Topic":{"description":"Topic created by a teacher for the course","type":"object","properties":{"courseId":{"description":"Identifier of the course. Read-only.","type":"string"},"topicId":{"description":"Unique identifier for the topic. Read-only.","type":"string"},"updateTime":{"description":"The time the topic was last updated by the system. Read-only.","format":"google-datetime","type":"string"},"name":{"description":"The name of the topic, generated by the user. Leading and trailing whitespaces, if any, are trimmed. Also, multiple consecutive whitespaces are collapsed into one inside the name. The result must be a non-empty string. Topic names are case sensitive, and must be no longer than 100 characters.","type":"string"}}},"classroom_v1_TurnInStudentSubmissionRequest":{"description":"Request to turn in a student submission.","type":"object"},"classroom_v1_AssignmentSubmission":{"description":"Student work for an assignment.","type":"object","properties":{"attachments":{"description":"Attachments added by the student. Drive files that correspond to materials with a share mode of STUDENT_COPY may not exist yet if the student has not accessed the assignment in Classroom. Some attachment metadata is only populated if the requesting user has permission to access it. Identifier and alternate_link fields are always available, but others (for example, title) may not be.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Attachment"}}}},"classroom_v1_ListCoursesResponse":{"description":"Response when listing courses.","type":"object","properties":{"nextPageToken":{"description":"Token identifying the next page of results to return. If empty, no further results are available.","type":"string"},"courses":{"description":"Courses that match the list request.","type":"array","items":{"$ref":"#/components/schemas/classroom_v1_Course"}}}}},"securitySchemes":{"googleOAuth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://accounts.google.com/o/oauth2/v2/auth","tokenUrl":"https://oauth2.googleapis.com/token","scopes":{"openid":"","email":"","profile":"","https://www.googleapis.com/auth/classroom.announcements":"","https://www.googleapis.com/auth/classroom.courses":"","https://www.googleapis.com/auth/classroom.coursework.me":"","https://www.googleapis.com/auth/classroom.coursework.students":"","https://www.googleapis.com/auth/classroom.courseworkmaterials":"","https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly":"","https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly":"","https://www.googleapis.com/auth/classroom.profile.emails":"","https://www.googleapis.com/auth/classroom.profile.photos":"","https://www.googleapis.com/auth/classroom.rosters":"","https://www.googleapis.com/auth/classroom.topics":""}}}}}},"security":[{"googleOAuth2":["openid","email","profile","https://www.googleapis.com/auth/classroom.announcements","https://www.googleapis.com/auth/classroom.courses","https://www.googleapis.com/auth/classroom.coursework.me","https://www.googleapis.com/auth/classroom.coursework.students","https://www.googleapis.com/auth/classroom.courseworkmaterials","https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly","https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly","https://www.googleapis.com/auth/classroom.profile.emails","https://www.googleapis.com/auth/classroom.profile.photos","https://www.googleapis.com/auth/classroom.rosters","https://www.googleapis.com/auth/classroom.topics"]}],"x-executor-origin":{"kind":"googleDiscoveryBundle","services":[{"discoveryUrl":"https://www.googleapis.com/discovery/v1/apis/classroom/v1/rest","service":"classroom","version":"v1"}]}}