vendor: update all dependencies
This commit is contained in:
+2271
-2222
File diff suppressed because it is too large
Load Diff
+68
-8
@@ -68,6 +68,16 @@ const (
|
||||
// classes you teach or administer
|
||||
ClassroomCourseworkStudentsReadonlyScope = "https://www.googleapis.com/auth/classroom.coursework.students.readonly"
|
||||
|
||||
// View your Google Classroom guardians
|
||||
ClassroomGuardianlinksMeReadonlyScope = "https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly"
|
||||
|
||||
// View and manage guardians for students in your Google Classroom
|
||||
// classes
|
||||
ClassroomGuardianlinksStudentsScope = "https://www.googleapis.com/auth/classroom.guardianlinks.students"
|
||||
|
||||
// View guardians for students in your Google Classroom classes
|
||||
ClassroomGuardianlinksStudentsReadonlyScope = "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"
|
||||
|
||||
// View the email addresses of people in your classes
|
||||
ClassroomProfileEmailsScope = "https://www.googleapis.com/auth/classroom.profile.emails"
|
||||
|
||||
@@ -346,6 +356,14 @@ type Course struct {
|
||||
// Read-only.
|
||||
AlternateLink string `json:"alternateLink,omitempty"`
|
||||
|
||||
// CalendarId: 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.
|
||||
//
|
||||
// Read-only.
|
||||
CalendarId string `json:"calendarId,omitempty"`
|
||||
|
||||
// CourseGroupEmail: 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
|
||||
@@ -757,6 +775,10 @@ type CourseWork struct {
|
||||
// set otherwise.
|
||||
MultipleChoiceQuestion *MultipleChoiceQuestion `json:"multipleChoiceQuestion,omitempty"`
|
||||
|
||||
// ScheduledTime: Optional timestamp when this course work is scheduled
|
||||
// to be published.
|
||||
ScheduledTime string `json:"scheduledTime,omitempty"`
|
||||
|
||||
// State: Status of this course work.
|
||||
// If unspecified, the default state is `DRAFT`.
|
||||
//
|
||||
@@ -2230,6 +2252,16 @@ type UserProfile struct {
|
||||
// Read-only.
|
||||
PhotoUrl string `json:"photoUrl,omitempty"`
|
||||
|
||||
// VerifiedTeacher: Represents whether a G Suite for Education user's
|
||||
// domain administrator has
|
||||
// explicitly verified them as being a teacher. If the user is not a
|
||||
// member of
|
||||
// a G Suite for Education domain, than this field will always be
|
||||
// false.
|
||||
//
|
||||
// Read-only
|
||||
VerifiedTeacher bool `json:"verifiedTeacher,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
@@ -4573,6 +4605,7 @@ func (r *CoursesCourseWorkService) Patch(courseId string, id string, coursework
|
||||
// * `due_date`
|
||||
// * `due_time`
|
||||
// * `max_points`
|
||||
// * `scheduled_time`
|
||||
// * `submission_modification_mode`
|
||||
func (c *CoursesCourseWorkPatchCall) UpdateMask(updateMask string) *CoursesCourseWorkPatchCall {
|
||||
c.urlParams_.Set("updateMask", updateMask)
|
||||
@@ -4688,7 +4721,7 @@ func (c *CoursesCourseWorkPatchCall) Do(opts ...googleapi.CallOption) (*CourseWo
|
||||
// "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* `title`\n* `description`\n* `state`\n* `due_date`\n* `due_time`\n* `max_points`\n* `submission_modification_mode`",
|
||||
// "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* `title`\n* `description`\n* `state`\n* `due_date`\n* `due_time`\n* `max_points`\n* `scheduled_time`\n* `submission_modification_mode`",
|
||||
// "format": "google-fieldmask",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
@@ -8525,7 +8558,10 @@ func (c *UserProfilesGuardianInvitationsCreateCall) Do(opts ...googleapi.CallOpt
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "GuardianInvitation"
|
||||
// }
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -8689,7 +8725,11 @@ func (c *UserProfilesGuardianInvitationsGetCall) Do(opts ...googleapi.CallOption
|
||||
// "path": "v1/userProfiles/{studentId}/guardianInvitations/{invitationId}",
|
||||
// "response": {
|
||||
// "$ref": "GuardianInvitation"
|
||||
// }
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students",
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -8921,7 +8961,11 @@ func (c *UserProfilesGuardianInvitationsListCall) Do(opts ...googleapi.CallOptio
|
||||
// "path": "v1/userProfiles/{studentId}/guardianInvitations",
|
||||
// "response": {
|
||||
// "$ref": "ListGuardianInvitationsResponse"
|
||||
// }
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students",
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -9131,7 +9175,10 @@ func (c *UserProfilesGuardianInvitationsPatchCall) Do(opts ...googleapi.CallOpti
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "GuardianInvitation"
|
||||
// }
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -9286,7 +9333,10 @@ func (c *UserProfilesGuardiansDeleteCall) Do(opts ...googleapi.CallOption) (*Emp
|
||||
// "path": "v1/userProfiles/{studentId}/guardians/{guardianId}",
|
||||
// "response": {
|
||||
// "$ref": "Empty"
|
||||
// }
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -9452,7 +9502,12 @@ func (c *UserProfilesGuardiansGetCall) Do(opts ...googleapi.CallOption) (*Guardi
|
||||
// "path": "v1/userProfiles/{studentId}/guardians/{guardianId}",
|
||||
// "response": {
|
||||
// "$ref": "Guardian"
|
||||
// }
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly",
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students",
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -9667,7 +9722,12 @@ func (c *UserProfilesGuardiansListCall) Do(opts ...googleapi.CallOption) (*ListG
|
||||
// "path": "v1/userProfiles/{studentId}/guardians",
|
||||
// "response": {
|
||||
// "$ref": "ListGuardiansResponse"
|
||||
// }
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly",
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students",
|
||||
// "https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user