update all json files

This commit is contained in:
Sebastian Thiel
2020-04-12 18:55:37 +08:00
parent ea3b428364
commit aacc30f08d
260 changed files with 138411 additions and 26293 deletions

View File

@@ -71,12 +71,14 @@
"description": "Manages classes, rosters, and invitations in Google Classroom.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/classroom/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "classroom:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://classroom.mtls.googleapis.com/",
"name": "classroom",
"ownerDomain": "google.com",
"ownerName": "Google",
@@ -642,7 +644,7 @@
"type": "string"
},
"updateMask": {
"description": "Mask that identifies which fields on the announcement to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified. If a field supports empty values, it can be cleared\nby specifying it in the update mask and not in the Announcement object. If\na field that does not support empty values is included in the update mask\nand not set in the Announcement object, an `INVALID_ARGUMENT` error will be\nreturned.\n\nThe following fields may be specified by teachers:\n\n* `text`\n* `state`\n* `scheduled_time`",
"description": "Mask that identifies which fields on the announcement to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified. If a field supports empty values, it can be cleared\nby specifying it in the update mask and not in the Announcement object. If\na field that does not support empty values is included in the update mask\nand not set in the Announcement object, an `INVALID_ARGUMENT` error is\nreturned.\n\nThe following fields may be specified by teachers:\n\n* `text`\n* `state`\n* `scheduled_time`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
@@ -867,7 +869,7 @@
"type": "string"
},
"updateMask": {
"description": "Mask that identifies which fields on the course work to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified. If a field supports empty values, it can be cleared\nby specifying it in the update mask and not in the CourseWork object. If a\nfield that does not support empty values is included in the update mask and\nnot set in the CourseWork object, an `INVALID_ARGUMENT` error will be\nreturned.\n\nThe following fields may be specified by teachers:\n\n* `title`\n* `description`\n* `state`\n* `due_date`\n* `due_time`\n* `max_points`\n* `scheduled_time`\n* `submission_modification_mode`\n* `topic_id`",
"description": "Mask that identifies which fields on the course work to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified. If a field supports empty values, it can be cleared\nby specifying it in the update mask and not in the CourseWork object. If a\nfield that does not support empty values is included in the update mask and\nnot set in the CourseWork object, an `INVALID_ARGUMENT` error is\nreturned.\n\nThe following fields may be specified by teachers:\n\n* `title`\n* `description`\n* `state`\n* `due_date`\n* `due_time`\n* `max_points`\n* `scheduled_time`\n* `submission_modification_mode`\n* `topic_id`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
@@ -1652,7 +1654,7 @@
"type": "string"
},
"updateMask": {
"description": "Mask that identifies which fields on the topic to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified. If a field supports empty values, it can be cleared\nby specifying it in the update mask and not in the Topic object. If a\nfield that does not support empty values is included in the update mask and\nnot set in the Topic object, an `INVALID_ARGUMENT` error will be\nreturned.\n\nThe following fields may be specified:\n\n* `name`",
"description": "Mask that identifies which fields on the topic to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified. If a field supports empty values, it can be cleared\nby specifying it in the update mask and not in the Topic object. If a\nfield that does not support empty values is included in the update mask and\nnot set in the Topic object, an `INVALID_ARGUMENT` error is\nreturned.\n\nThe following fields may be specified:\n\n* `name`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
@@ -1954,7 +1956,7 @@
],
"parameters": {
"invitedEmailAddress": {
"description": "If specified, only results with the specified `invited_email_address`\nwill be returned.",
"description": "If specified, only results with the specified `invited_email_address`\nare returned.",
"location": "query",
"type": "string"
},
@@ -1965,12 +1967,12 @@
"type": "integer"
},
"pageToken": {
"description": "nextPageToken\nvalue returned from a previous\nlist call,\nindicating that the subsequent page of results should be returned.\n\nThe list request\nmust be otherwise identical to the one that resulted in this token.",
"description": "nextPageToken\nvalue returned from a previous\nlist\ncall, indicating that the subsequent page of results should be returned.\n\nThe list\nrequest must be otherwise identical to the one that resulted in this token.",
"location": "query",
"type": "string"
},
"states": {
"description": "If specified, only results with the specified `state` values will be\nreturned. Otherwise, results with a `state` of `PENDING` will be returned.",
"description": "If specified, only results with the specified `state` values are\nreturned. Otherwise, results with a `state` of `PENDING` are returned.",
"enum": [
"GUARDIAN_INVITATION_STATE_UNSPECIFIED",
"PENDING",
@@ -2019,7 +2021,7 @@
"type": "string"
},
"updateMask": {
"description": "Mask that identifies which fields on the course to update.\nThis field is required to do an update. The update will fail if invalid\nfields are specified. The following fields are valid:\n\n* `state`\n\nWhen set in a query parameter, this field should be specified as\n\n`updateMask=<field1>,<field2>,...`",
"description": "Mask that identifies which fields on the course to update.\nThis field is required to do an update. The update fails if invalid\nfields are specified. The following fields are valid:\n\n* `state`\n\nWhen set in a query parameter, this field should be specified as\n\n`updateMask=<field1>,<field2>,...`",
"format": "google-fieldmask",
"location": "query",
"type": "string"
@@ -2151,7 +2153,7 @@
}
}
},
"revision": "20190701",
"revision": "20200408",
"rootUrl": "https://classroom.googleapis.com/",
"schemas": {
"Announcement": {
@@ -2195,7 +2197,7 @@
},
"individualStudentsOptions": {
"$ref": "IndividualStudentsOptions",
"description": "Identifiers of students with access to the announcement.\nThis field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.\nIf the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students\nspecified in this field will be able to see the announcement."
"description": "Identifiers of students with access to the announcement.\nThis field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.\nIf the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students\nspecified in this field can see the announcement."
},
"materials": {
"description": "Additional materials.\n\nAnnouncements must have no more than 20 material items.",
@@ -2253,7 +2255,7 @@
"id": "AssignmentSubmission",
"properties": {
"attachments": {
"description": "Attachments added by the student.\nDrive files that correspond to materials with a share mode of\nSTUDENT_COPY may not exist yet if the student has not accessed the\nassignment in Classroom.\n\nSome attachment metadata is only populated if the requesting user has\npermission to access it. Identifier and alternate_link fields are always\navailable, but others (e.g. title) may not be.",
"description": "Attachments added by the student.\nDrive files that correspond to materials with a share mode of\nSTUDENT_COPY may not exist yet if the student has not accessed the\nassignment in Classroom.\n\nSome attachment metadata is only populated if the requesting user has\npermission to access it. Identifier and alternate_link fields are always\navailable, but others (for example, title) may not be.",
"items": {
"$ref": "Attachment"
},
@@ -2486,7 +2488,7 @@
"description": "Assignment details.\nThis is populated only when `work_type` is `ASSIGNMENT`.\n\nRead-only."
},
"associatedWithDeveloper": {
"description": "Whether this course work item is associated with the Developer Console\nproject making the request.\n\nSee google.classroom.Work.CreateCourseWork for more\ndetails.\n\nRead-only.",
"description": "Whether this course work item is associated with the Developer Console\nproject making the request.\n\nSee CreateCourseWork for more\ndetails.\n\nRead-only.",
"type": "boolean"
},
"courseId": {
@@ -2520,7 +2522,7 @@
},
"individualStudentsOptions": {
"$ref": "IndividualStudentsOptions",
"description": "Identifiers of students with access to the coursework.\nThis field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.\nIf the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students\nspecified in this field will be assigned the coursework."
"description": "Identifiers of students with access to the coursework.\nThis field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.\nIf the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students\nspecified in this field are assigned the coursework."
},
"materials": {
"description": "Additional materials.\n\nCourseWork must have no more than 20 material items.",
@@ -3142,7 +3144,7 @@
},
"link": {
"$ref": "Link",
"description": "Link material. On creation, will be upgraded to a more appropriate type\nif possible, and this will be reflected in the response."
"description": "Link material. On creation, this is upgraded to a more appropriate type\nif possible, and this is reflected in the response."
},
"youtubeVideo": {
"$ref": "YouTubeVideo",
@@ -3156,7 +3158,7 @@
"id": "ModifyAnnouncementAssigneesRequest",
"properties": {
"assigneeMode": {
"description": "Mode of the announcement describing whether it will be accessible by all\nstudents or specified individual students.",
"description": "Mode of the announcement describing whether it is accessible by all\nstudents or specified individual students.",
"enum": [
"ASSIGNEE_MODE_UNSPECIFIED",
"ALL_STUDENTS",
@@ -3220,14 +3222,14 @@
"id": "ModifyIndividualStudentsOptions",
"properties": {
"addStudentIds": {
"description": "Ids of students to be added as having access to this\ncoursework/announcement.",
"description": "IDs of students to be added as having access to this\ncoursework/announcement.",
"items": {
"type": "string"
},
"type": "array"
},
"removeStudentIds": {
"description": "Ids of students to be removed from having access to this\ncoursework/announcement.",
"description": "IDs of students to be removed from having access to this\ncoursework/announcement.",
"items": {
"type": "string"
},
@@ -3359,7 +3361,7 @@
"id": "StateHistory",
"properties": {
"actorUserId": {
"description": "The teacher or student who made the change",
"description": "The teacher or student who made the change.",
"type": "string"
},
"state": {
@@ -3422,16 +3424,16 @@
"type": "string"
},
"assignedGrade": {
"description": "Optional grade. If unset, no grade was set.\nThis value must be non-negative. Decimal (i.e. non-integer) values are\nallowed, but will be rounded to two decimal places.\n\nThis may be modified only by course teachers.",
"description": "Optional grade. If unset, no grade was set.\nThis value must be non-negative. Decimal (that is, non-integer) values are\nallowed, but are rounded to two decimal places.\n\nThis may be modified only by course teachers.",
"format": "double",
"type": "number"
},
"assignmentSubmission": {
"$ref": "AssignmentSubmission",
"description": "Submission content when course_work_type is ASSIGNMENT.\n\nStudents can modify this content using\ngoogle.classroom.Work.ModifyAttachments."
"description": "Submission content when course_work_type is ASSIGNMENT.\n\nStudents can modify this content using\nModifyAttachments."
},
"associatedWithDeveloper": {
"description": "Whether this student submission is associated with the Developer Console\nproject making the request.\n\nSee google.classroom.Work.CreateCourseWork for more\ndetails.\n\nRead-only.",
"description": "Whether this student submission is associated with the Developer Console\nproject making the request.\n\nSee CreateCourseWork for more\ndetails.\n\nRead-only.",
"type": "boolean"
},
"courseId": {
@@ -3464,7 +3466,7 @@
"type": "string"
},
"draftGrade": {
"description": "Optional pending grade. If unset, no grade was set.\nThis value must be non-negative. Decimal (i.e. non-integer) values are\nallowed, but will be rounded to two decimal places.\n\nThis is only visible to and modifiable by course teachers.",
"description": "Optional pending grade. If unset, no grade was set.\nThis value must be non-negative. Decimal (that is, non-integer) values are\nallowed, but are rounded to two decimal places.\n\nThis is only visible to and modifiable by course teachers.",
"format": "double",
"type": "number"
},
@@ -3593,7 +3595,7 @@
"type": "string"
},
"name": {
"description": "The name of the topic, generated by the user.\nLeading and trailing whitespaces, if any, will be trimmed. Also, multiple\nconsecutive whitespaces will be collapsed into one inside the name. The\nresult must be a non-empty string. Topic names are case sensitive, and must\nbe no longer than 100 characters.",
"description": "The name of the topic, generated by the user.\nLeading and trailing whitespaces, if any, are trimmed. Also, multiple\nconsecutive whitespaces are collapsed into one inside the name. The\nresult must be a non-empty string. Topic names are case sensitive, and must\nbe no longer than 100 characters.",
"type": "string"
},
"topicId": {
@@ -3642,7 +3644,7 @@
"type": "string"
},
"verifiedTeacher": {
"description": "Represents whether a G Suite for Education user's domain administrator has\nexplicitly verified them as being a teacher. If the user is not a member of\na G Suite for Education domain, than this field will always be false.\n\nRead-only",
"description": "Represents whether a G Suite for Education user's domain administrator has\nexplicitly verified them as being a teacher. If the user is not a member of\na G Suite for Education domain, than this field is always false.\n\nRead-only",
"type": "boolean"
}
},