Index: discovery/googleapis/classroom__v1.json |
diff --git a/discovery/googleapis/classroom__v1.json b/discovery/googleapis/classroom__v1.json |
index a2888d01dedf7003d4f8d79c6be09dfd96b83ce4..8a3c4203c804de01eacfb2033f050b7db70b1836 100644 |
--- a/discovery/googleapis/classroom__v1.json |
+++ b/discovery/googleapis/classroom__v1.json |
@@ -50,7 +50,7 @@ |
"description": "Manages classes, rosters, and invitations in Google Classroom.", |
"discoveryVersion": "v1", |
"documentationLink": "https://developers.google.com/classroom/", |
- "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/YsDe4FXJlhWXueJei0_RXQqm_4I\"", |
+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/mk_oLjlaBwJ1BcBJ5yykCFb6u3w\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
@@ -277,6 +277,19 @@ |
"location": "query", |
"type": "string" |
}, |
+ "courseStates": { |
+ "description": "Restricts returned courses to those in one of the specified states", |
+ "enum": [ |
+ "COURSE_STATE_UNSPECIFIED", |
+ "ACTIVE", |
+ "ARCHIVED", |
+ "PROVISIONED", |
+ "DECLINED" |
+ ], |
+ "location": "query", |
+ "repeated": true, |
+ "type": "string" |
+ }, |
"pageSize": { |
"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", |
@@ -1148,7 +1161,7 @@ |
"guardianInvitations": { |
"methods": { |
"list": { |
- "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 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.", |
+ "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.", |
"httpMethod": "GET", |
"id": "classroom.userProfiles.guardianInvitations.list", |
"parameterOrder": [ |
@@ -1156,7 +1169,7 @@ |
], |
"parameters": { |
"studentId": { |
- "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", |
+ "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.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -1284,7 +1297,7 @@ |
"guardians": { |
"methods": { |
"list": { |
- "description": "Returns a list of guardians that the requesting user is permitted to view, restricted to those that match the request. 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 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.", |
+ "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.", |
"httpMethod": "GET", |
"id": "classroom.userProfiles.guardians.list", |
"parameterOrder": [ |
@@ -1292,7 +1305,7 @@ |
], |
"parameters": { |
"studentId": { |
- "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", |
+ "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.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -1503,7 +1516,7 @@ |
} |
} |
}, |
- "revision": "20160816", |
+ "revision": "20161006", |
"rootUrl": "https://classroom.googleapis.com/", |
"schemas": { |
"Course": { |
@@ -1583,6 +1596,10 @@ |
"$ref": "CourseMaterialSet" |
}, |
"type": "array" |
+ }, |
+ "guardiansEnabled": { |
+ "description": "Whether or not guardian notifications are enabled for this course. Read-only.", |
+ "type": "boolean" |
} |
}, |
"type": "object" |