@maxim_mazurok/gapi.client.classroom-v1 0.3.20261012 → 0.3.20261014
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +42 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://classroom.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20261014
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -504,6 +504,12 @@ declare namespace gapi.client {
|
|
|
504
504
|
/** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
505
505
|
nextPageToken?: string;
|
|
506
506
|
}
|
|
507
|
+
interface ListAddOnAttachmentStudentSubmissionsResponse {
|
|
508
|
+
/** Add-on attachment student submissions that match the request. */
|
|
509
|
+
addOnAttachmentStudentSubmissions?: AddOnAttachmentStudentSubmission[];
|
|
510
|
+
/** A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
511
|
+
nextPageToken?: string;
|
|
512
|
+
}
|
|
507
513
|
interface ListAnnouncementsResponse {
|
|
508
514
|
/** Announcement items that match the request. */
|
|
509
515
|
announcements?: Announcement[];
|
|
@@ -1586,6 +1592,41 @@ declare namespace gapi.client {
|
|
|
1586
1592
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1587
1593
|
uploadType?: string;
|
|
1588
1594
|
}): Request<AddOnAttachmentStudentSubmission>;
|
|
1595
|
+
/** Returns a list of student submissions 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 one of the identified resources does not exist. */
|
|
1596
|
+
list(request?: {
|
|
1597
|
+
/** V1 error format. */
|
|
1598
|
+
'$.xgafv'?: '1' | '2';
|
|
1599
|
+
/** OAuth access token. */
|
|
1600
|
+
access_token?: string;
|
|
1601
|
+
/** Data format for response. */
|
|
1602
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1603
|
+
/** Required. Identifier of the add-on attachment. */
|
|
1604
|
+
attachmentId: string;
|
|
1605
|
+
/** JSONP */
|
|
1606
|
+
callback?: string;
|
|
1607
|
+
/** Required. Identifier of the course. */
|
|
1608
|
+
courseId: string;
|
|
1609
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1610
|
+
fields?: string;
|
|
1611
|
+
/** Required. Identifier of the `CourseWork` under which the attachment is attached. */
|
|
1612
|
+
itemId: string;
|
|
1613
|
+
/** 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. */
|
|
1614
|
+
key?: string;
|
|
1615
|
+
/** OAuth 2.0 token for the current user. */
|
|
1616
|
+
oauth_token?: string;
|
|
1617
|
+
/** Optional. Maximum number of submissions to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results. */
|
|
1618
|
+
pageSize?: number;
|
|
1619
|
+
/** Optional. A page token, received from a previous `ListAddOnAttachmentStudentSubmissions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachmentStudentSubmissions` must match the call that provided the page token. */
|
|
1620
|
+
pageToken?: string;
|
|
1621
|
+
/** Returns response with indentations and line breaks. */
|
|
1622
|
+
prettyPrint?: boolean;
|
|
1623
|
+
/** 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. */
|
|
1624
|
+
quotaUser?: string;
|
|
1625
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1626
|
+
upload_protocol?: string;
|
|
1627
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1628
|
+
uploadType?: string;
|
|
1629
|
+
}): Request<ListAddOnAttachmentStudentSubmissionsResponse>;
|
|
1589
1630
|
/** Updates data associated with an add-on attachment submission. Requires the add-on to have been the original creator of the attachment and the attachment to have a positive `max_points` value set. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist. */
|
|
1590
1631
|
patch(request: {
|
|
1591
1632
|
/** V1 error format. */
|