@maxim_mazurok/gapi.client.classroom-v1 0.0.20240826 → 0.0.20240911

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.
Files changed (2) hide show
  1. package/index.d.ts +70 -70
  2. 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: 20240826
12
+ // Revision: 20240911
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -35,17 +35,17 @@ declare namespace gapi.client {
35
35
  dueTime?: TimeOfDay;
36
36
  /** Immutable. Classroom-assigned identifier for this attachment, unique per post. */
37
37
  id?: string;
38
- /** Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. Unique per course. */
38
+ /** Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. Unique per course. */
39
39
  itemId?: string;
40
40
  /** 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. */
41
41
  maxPoints?: number;
42
- /** Immutable. Deprecated, use item_id instead. */
42
+ /** Immutable. Deprecated, use `item_id` instead. */
43
43
  postId?: string;
44
- /** Required. URI to show the student view of the attachment. The URI will be opened in an iframe with the `courseId`, `postId`, and `attachmentId` query parameters set. */
44
+ /** Required. URI to show the student view of the attachment. The URI will be opened in an iframe with the `courseId`, `itemId`, `itemType`, and `attachmentId` query parameters set. */
45
45
  studentViewUri?: EmbedUri;
46
- /** URI for the teacher to see student work on the attachment, if applicable. The URI will be opened in an iframe with the `courseId`, `postId`, `attachmentId`, and `submissionId` query parameters set. This is the same `submissionId` returned by google.classroom.AddOns.GetAddOnContext when a student views the attachment. If the URI is omitted or removed, `max_points` will also be discarded. */
46
+ /** URI for the teacher to see student work on the attachment, if applicable. The URI will be opened in an iframe with the `courseId`, `itemId`, `itemType`, `attachmentId`, and `submissionId` query parameters set. This is the same `submissionId` returned in the [`AddOnContext.studentContext`](//devsite.google.com/classroom/reference/rest/v1/AddOnContext#StudentContext) field when a student views the attachment. If the URI is omitted or removed, `max_points` will also be discarded. */
47
47
  studentWorkReviewUri?: EmbedUri;
48
- /** Required. URI to show the teacher view of the attachment. The URI will be opened in an iframe with the `courseId`, `postId`, and `attachmentId` query parameters set. */
48
+ /** Required. URI to show the teacher view of the attachment. The URI will be opened in an iframe with the `courseId`, `itemId`, `itemType`, and `attachmentId` query parameters set. */
49
49
  teacherViewUri?: EmbedUri;
50
50
  /** Required. Title of this attachment. The title must be between 1 and 1000 characters. */
51
51
  title?: string;
@@ -59,9 +59,9 @@ declare namespace gapi.client {
59
59
  interface AddOnContext {
60
60
  /** Immutable. Identifier of the course. */
61
61
  courseId?: string;
62
- /** Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. */
62
+ /** Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. */
63
63
  itemId?: string;
64
- /** Immutable. Deprecated, use item_id instead. */
64
+ /** Immutable. Deprecated, use `item_id` instead. */
65
65
  postId?: string;
66
66
  /** Add-on context corresponding to the requesting user's role as a student. Its presence implies that the requesting user is a student in the course. */
67
67
  studentContext?: StudentContext;
@@ -123,9 +123,9 @@ declare namespace gapi.client {
123
123
  attachmentId?: string;
124
124
  /** Immutable. Identifier of the course. */
125
125
  courseId?: string;
126
- /** Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. */
126
+ /** Immutable. Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. */
127
127
  itemId?: string;
128
- /** Immutable. Deprecated, use item_id instead. */
128
+ /** Immutable. Deprecated, use `item_id` instead. */
129
129
  postId?: string;
130
130
  }
131
131
  interface Course {
@@ -804,13 +804,13 @@ declare namespace gapi.client {
804
804
  courseId: string;
805
805
  /** Selector specifying which fields to include in a partial response. */
806
806
  fields?: string;
807
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
807
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
808
808
  itemId: string;
809
809
  /** 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. */
810
810
  key?: string;
811
811
  /** OAuth 2.0 token for the current user. */
812
812
  oauth_token?: string;
813
- /** Optional. Deprecated, use item_id instead. */
813
+ /** Optional. Deprecated, use `item_id` instead. */
814
814
  postId?: string;
815
815
  /** Returns response with indentations and line breaks. */
816
816
  prettyPrint?: boolean;
@@ -839,13 +839,13 @@ declare namespace gapi.client {
839
839
  courseId: string;
840
840
  /** Selector specifying which fields to include in a partial response. */
841
841
  fields?: string;
842
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
842
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
843
843
  itemId: string;
844
844
  /** 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. */
845
845
  key?: string;
846
846
  /** OAuth 2.0 token for the current user. */
847
847
  oauth_token?: string;
848
- /** Optional. Deprecated, use item_id instead. */
848
+ /** Optional. Deprecated, use `item_id` instead. */
849
849
  postId?: string;
850
850
  /** Returns response with indentations and line breaks. */
851
851
  prettyPrint?: boolean;
@@ -874,13 +874,13 @@ declare namespace gapi.client {
874
874
  courseId: string;
875
875
  /** Selector specifying which fields to include in a partial response. */
876
876
  fields?: string;
877
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
877
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
878
878
  itemId: string;
879
879
  /** 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. */
880
880
  key?: string;
881
881
  /** OAuth 2.0 token for the current user. */
882
882
  oauth_token?: string;
883
- /** Optional. Deprecated, use item_id instead. */
883
+ /** Optional. Deprecated, use `item_id` instead. */
884
884
  postId?: string;
885
885
  /** Returns response with indentations and line breaks. */
886
886
  prettyPrint?: boolean;
@@ -907,13 +907,13 @@ declare namespace gapi.client {
907
907
  courseId: string;
908
908
  /** Selector specifying which fields to include in a partial response. */
909
909
  fields?: string;
910
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
910
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
911
911
  itemId: string;
912
912
  /** 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. */
913
913
  key?: string;
914
914
  /** OAuth 2.0 token for the current user. */
915
915
  oauth_token?: string;
916
- /** Optional. Deprecated, use item_id instead. */
916
+ /** Optional. Deprecated, use `item_id` instead. */
917
917
  postId?: string;
918
918
  /** Returns response with indentations and line breaks. */
919
919
  prettyPrint?: boolean;
@@ -938,7 +938,7 @@ declare namespace gapi.client {
938
938
  courseId: string;
939
939
  /** Selector specifying which fields to include in a partial response. */
940
940
  fields?: string;
941
- /** Identifier of the announcement, courseWork, or courseWorkMaterial whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id. */
941
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id. */
942
942
  itemId: string;
943
943
  /** 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. */
944
944
  key?: string;
@@ -948,7 +948,7 @@ declare namespace gapi.client {
948
948
  pageSize?: number;
949
949
  /** A page token, received from a previous `ListAddOnAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachments` must match the call that provided the page token. */
950
950
  pageToken?: string;
951
- /** Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use item_id instead. */
951
+ /** Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use `item_id` instead. */
952
952
  postId?: string;
953
953
  /** Returns response with indentations and line breaks. */
954
954
  prettyPrint?: boolean;
@@ -1169,13 +1169,13 @@ declare namespace gapi.client {
1169
1169
  courseId: string;
1170
1170
  /** Selector specifying which fields to include in a partial response. */
1171
1171
  fields?: string;
1172
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1172
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1173
1173
  itemId: string;
1174
1174
  /** 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. */
1175
1175
  key?: string;
1176
1176
  /** OAuth 2.0 token for the current user. */
1177
1177
  oauth_token?: string;
1178
- /** Optional. Deprecated, use item_id instead. */
1178
+ /** Optional. Deprecated, use `item_id` instead. */
1179
1179
  postId?: string;
1180
1180
  /** Returns response with indentations and line breaks. */
1181
1181
  prettyPrint?: boolean;
@@ -1368,13 +1368,13 @@ declare namespace gapi.client {
1368
1368
  courseId: string;
1369
1369
  /** Selector specifying which fields to include in a partial response. */
1370
1370
  fields?: string;
1371
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1371
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1372
1372
  itemId: string;
1373
1373
  /** 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. */
1374
1374
  key?: string;
1375
1375
  /** OAuth 2.0 token for the current user. */
1376
1376
  oauth_token?: string;
1377
- /** Optional. Deprecated, use item_id instead. */
1377
+ /** Optional. Deprecated, use `item_id` instead. */
1378
1378
  postId?: string;
1379
1379
  /** Returns response with indentations and line breaks. */
1380
1380
  prettyPrint?: boolean;
@@ -1403,13 +1403,13 @@ declare namespace gapi.client {
1403
1403
  courseId: string;
1404
1404
  /** Selector specifying which fields to include in a partial response. */
1405
1405
  fields?: string;
1406
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1406
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1407
1407
  itemId: string;
1408
1408
  /** 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. */
1409
1409
  key?: string;
1410
1410
  /** OAuth 2.0 token for the current user. */
1411
1411
  oauth_token?: string;
1412
- /** Optional. Deprecated, use item_id instead. */
1412
+ /** Optional. Deprecated, use `item_id` instead. */
1413
1413
  postId?: string;
1414
1414
  /** Returns response with indentations and line breaks. */
1415
1415
  prettyPrint?: boolean;
@@ -1442,13 +1442,13 @@ declare namespace gapi.client {
1442
1442
  courseId: string;
1443
1443
  /** Selector specifying which fields to include in a partial response. */
1444
1444
  fields?: string;
1445
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1445
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1446
1446
  itemId: string;
1447
1447
  /** 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. */
1448
1448
  key?: string;
1449
1449
  /** OAuth 2.0 token for the current user. */
1450
1450
  oauth_token?: string;
1451
- /** Optional. Deprecated, use item_id instead. */
1451
+ /** Optional. Deprecated, use `item_id` instead. */
1452
1452
  postId?: string;
1453
1453
  /** Returns response with indentations and line breaks. */
1454
1454
  prettyPrint?: boolean;
@@ -1483,13 +1483,13 @@ declare namespace gapi.client {
1483
1483
  courseId: string;
1484
1484
  /** Selector specifying which fields to include in a partial response. */
1485
1485
  fields?: string;
1486
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
1486
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
1487
1487
  itemId: string;
1488
1488
  /** 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. */
1489
1489
  key?: string;
1490
1490
  /** OAuth 2.0 token for the current user. */
1491
1491
  oauth_token?: string;
1492
- /** Optional. Deprecated, use item_id instead. */
1492
+ /** Optional. Deprecated, use `item_id` instead. */
1493
1493
  postId?: string;
1494
1494
  /** Returns response with indentations and line breaks. */
1495
1495
  prettyPrint?: boolean;
@@ -1518,13 +1518,13 @@ declare namespace gapi.client {
1518
1518
  courseId: string;
1519
1519
  /** Selector specifying which fields to include in a partial response. */
1520
1520
  fields?: string;
1521
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
1521
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
1522
1522
  itemId: string;
1523
1523
  /** 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. */
1524
1524
  key?: string;
1525
1525
  /** OAuth 2.0 token for the current user. */
1526
1526
  oauth_token?: string;
1527
- /** Optional. Deprecated, use item_id instead. */
1527
+ /** Optional. Deprecated, use `item_id` instead. */
1528
1528
  postId?: string;
1529
1529
  /** Returns response with indentations and line breaks. */
1530
1530
  prettyPrint?: boolean;
@@ -1553,13 +1553,13 @@ declare namespace gapi.client {
1553
1553
  courseId: string;
1554
1554
  /** Selector specifying which fields to include in a partial response. */
1555
1555
  fields?: string;
1556
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1556
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1557
1557
  itemId: string;
1558
1558
  /** 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. */
1559
1559
  key?: string;
1560
1560
  /** OAuth 2.0 token for the current user. */
1561
1561
  oauth_token?: string;
1562
- /** Optional. Deprecated, use item_id instead. */
1562
+ /** Optional. Deprecated, use `item_id` instead. */
1563
1563
  postId?: string;
1564
1564
  /** Returns response with indentations and line breaks. */
1565
1565
  prettyPrint?: boolean;
@@ -1586,13 +1586,13 @@ declare namespace gapi.client {
1586
1586
  courseId: string;
1587
1587
  /** Selector specifying which fields to include in a partial response. */
1588
1588
  fields?: string;
1589
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1589
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
1590
1590
  itemId: string;
1591
1591
  /** 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. */
1592
1592
  key?: string;
1593
1593
  /** OAuth 2.0 token for the current user. */
1594
1594
  oauth_token?: string;
1595
- /** Optional. Deprecated, use item_id instead. */
1595
+ /** Optional. Deprecated, use `item_id` instead. */
1596
1596
  postId?: string;
1597
1597
  /** Returns response with indentations and line breaks. */
1598
1598
  prettyPrint?: boolean;
@@ -1617,7 +1617,7 @@ declare namespace gapi.client {
1617
1617
  courseId: string;
1618
1618
  /** Selector specifying which fields to include in a partial response. */
1619
1619
  fields?: string;
1620
- /** Identifier of the announcement, courseWork, or courseWorkMaterial whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id. */
1620
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id. */
1621
1621
  itemId: string;
1622
1622
  /** 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. */
1623
1623
  key?: string;
@@ -1627,7 +1627,7 @@ declare namespace gapi.client {
1627
1627
  pageSize?: number;
1628
1628
  /** A page token, received from a previous `ListAddOnAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachments` must match the call that provided the page token. */
1629
1629
  pageToken?: string;
1630
- /** Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use item_id instead. */
1630
+ /** Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use `item_id` instead. */
1631
1631
  postId?: string;
1632
1632
  /** Returns response with indentations and line breaks. */
1633
1633
  prettyPrint?: boolean;
@@ -2255,13 +2255,13 @@ declare namespace gapi.client {
2255
2255
  courseId: string;
2256
2256
  /** Selector specifying which fields to include in a partial response. */
2257
2257
  fields?: string;
2258
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2258
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2259
2259
  itemId: string;
2260
2260
  /** 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. */
2261
2261
  key?: string;
2262
2262
  /** OAuth 2.0 token for the current user. */
2263
2263
  oauth_token?: string;
2264
- /** Optional. Deprecated, use item_id instead. */
2264
+ /** Optional. Deprecated, use `item_id` instead. */
2265
2265
  postId?: string;
2266
2266
  /** Returns response with indentations and line breaks. */
2267
2267
  prettyPrint?: boolean;
@@ -2455,13 +2455,13 @@ declare namespace gapi.client {
2455
2455
  courseId: string;
2456
2456
  /** Selector specifying which fields to include in a partial response. */
2457
2457
  fields?: string;
2458
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
2458
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
2459
2459
  itemId: string;
2460
2460
  /** 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. */
2461
2461
  key?: string;
2462
2462
  /** OAuth 2.0 token for the current user. */
2463
2463
  oauth_token?: string;
2464
- /** Optional. Deprecated, use item_id instead. */
2464
+ /** Optional. Deprecated, use `item_id` instead. */
2465
2465
  postId?: string;
2466
2466
  /** Returns response with indentations and line breaks. */
2467
2467
  prettyPrint?: boolean;
@@ -2490,13 +2490,13 @@ declare namespace gapi.client {
2490
2490
  courseId: string;
2491
2491
  /** Selector specifying which fields to include in a partial response. */
2492
2492
  fields?: string;
2493
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
2493
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
2494
2494
  itemId: string;
2495
2495
  /** 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. */
2496
2496
  key?: string;
2497
2497
  /** OAuth 2.0 token for the current user. */
2498
2498
  oauth_token?: string;
2499
- /** Optional. Deprecated, use item_id instead. */
2499
+ /** Optional. Deprecated, use `item_id` instead. */
2500
2500
  postId?: string;
2501
2501
  /** Returns response with indentations and line breaks. */
2502
2502
  prettyPrint?: boolean;
@@ -2525,13 +2525,13 @@ declare namespace gapi.client {
2525
2525
  courseId: string;
2526
2526
  /** Selector specifying which fields to include in a partial response. */
2527
2527
  fields?: string;
2528
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2528
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2529
2529
  itemId: string;
2530
2530
  /** 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. */
2531
2531
  key?: string;
2532
2532
  /** OAuth 2.0 token for the current user. */
2533
2533
  oauth_token?: string;
2534
- /** Optional. Deprecated, use item_id instead. */
2534
+ /** Optional. Deprecated, use `item_id` instead. */
2535
2535
  postId?: string;
2536
2536
  /** Returns response with indentations and line breaks. */
2537
2537
  prettyPrint?: boolean;
@@ -2558,13 +2558,13 @@ declare namespace gapi.client {
2558
2558
  courseId: string;
2559
2559
  /** Selector specifying which fields to include in a partial response. */
2560
2560
  fields?: string;
2561
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2561
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2562
2562
  itemId: string;
2563
2563
  /** 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. */
2564
2564
  key?: string;
2565
2565
  /** OAuth 2.0 token for the current user. */
2566
2566
  oauth_token?: string;
2567
- /** Optional. Deprecated, use item_id instead. */
2567
+ /** Optional. Deprecated, use `item_id` instead. */
2568
2568
  postId?: string;
2569
2569
  /** Returns response with indentations and line breaks. */
2570
2570
  prettyPrint?: boolean;
@@ -2589,7 +2589,7 @@ declare namespace gapi.client {
2589
2589
  courseId: string;
2590
2590
  /** Selector specifying which fields to include in a partial response. */
2591
2591
  fields?: string;
2592
- /** Identifier of the announcement, courseWork, or courseWorkMaterial whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id. */
2592
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id. */
2593
2593
  itemId: string;
2594
2594
  /** 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. */
2595
2595
  key?: string;
@@ -2599,7 +2599,7 @@ declare namespace gapi.client {
2599
2599
  pageSize?: number;
2600
2600
  /** A page token, received from a previous `ListAddOnAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachments` must match the call that provided the page token. */
2601
2601
  pageToken?: string;
2602
- /** Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use item_id instead. */
2602
+ /** Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use `item_id` instead. */
2603
2603
  postId?: string;
2604
2604
  /** Returns response with indentations and line breaks. */
2605
2605
  prettyPrint?: boolean;
@@ -2820,13 +2820,13 @@ declare namespace gapi.client {
2820
2820
  courseId: string;
2821
2821
  /** Selector specifying which fields to include in a partial response. */
2822
2822
  fields?: string;
2823
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2823
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2824
2824
  itemId: string;
2825
2825
  /** 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. */
2826
2826
  key?: string;
2827
2827
  /** OAuth 2.0 token for the current user. */
2828
2828
  oauth_token?: string;
2829
- /** Optional. Deprecated, use item_id instead. */
2829
+ /** Optional. Deprecated, use `item_id` instead. */
2830
2830
  postId?: string;
2831
2831
  /** Returns response with indentations and line breaks. */
2832
2832
  prettyPrint?: boolean;
@@ -2961,13 +2961,13 @@ declare namespace gapi.client {
2961
2961
  courseId: string;
2962
2962
  /** Selector specifying which fields to include in a partial response. */
2963
2963
  fields?: string;
2964
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2964
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2965
2965
  itemId?: string;
2966
2966
  /** 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. */
2967
2967
  key?: string;
2968
2968
  /** OAuth 2.0 token for the current user. */
2969
2969
  oauth_token?: string;
2970
- /** Optional. Deprecated, use item_id instead. */
2970
+ /** Optional. Deprecated, use `item_id` instead. */
2971
2971
  postId: string;
2972
2972
  /** Returns response with indentations and line breaks. */
2973
2973
  prettyPrint?: boolean;
@@ -2996,13 +2996,13 @@ declare namespace gapi.client {
2996
2996
  courseId: string;
2997
2997
  /** Selector specifying which fields to include in a partial response. */
2998
2998
  fields?: string;
2999
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
2999
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3000
3000
  itemId?: string;
3001
3001
  /** 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. */
3002
3002
  key?: string;
3003
3003
  /** OAuth 2.0 token for the current user. */
3004
3004
  oauth_token?: string;
3005
- /** Optional. Deprecated, use item_id instead. */
3005
+ /** Optional. Deprecated, use `item_id` instead. */
3006
3006
  postId: string;
3007
3007
  /** Returns response with indentations and line breaks. */
3008
3008
  prettyPrint?: boolean;
@@ -3035,13 +3035,13 @@ declare namespace gapi.client {
3035
3035
  courseId: string;
3036
3036
  /** Selector specifying which fields to include in a partial response. */
3037
3037
  fields?: string;
3038
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3038
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3039
3039
  itemId?: string;
3040
3040
  /** 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. */
3041
3041
  key?: string;
3042
3042
  /** OAuth 2.0 token for the current user. */
3043
3043
  oauth_token?: string;
3044
- /** Optional. Deprecated, use item_id instead. */
3044
+ /** Optional. Deprecated, use `item_id` instead. */
3045
3045
  postId: string;
3046
3046
  /** Returns response with indentations and line breaks. */
3047
3047
  prettyPrint?: boolean;
@@ -3076,13 +3076,13 @@ declare namespace gapi.client {
3076
3076
  courseId: string;
3077
3077
  /** Selector specifying which fields to include in a partial response. */
3078
3078
  fields?: string;
3079
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
3079
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
3080
3080
  itemId?: string;
3081
3081
  /** 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. */
3082
3082
  key?: string;
3083
3083
  /** OAuth 2.0 token for the current user. */
3084
3084
  oauth_token?: string;
3085
- /** Optional. Deprecated, use item_id instead. */
3085
+ /** Optional. Deprecated, use `item_id` instead. */
3086
3086
  postId: string;
3087
3087
  /** Returns response with indentations and line breaks. */
3088
3088
  prettyPrint?: boolean;
@@ -3111,13 +3111,13 @@ declare namespace gapi.client {
3111
3111
  courseId: string;
3112
3112
  /** Selector specifying which fields to include in a partial response. */
3113
3113
  fields?: string;
3114
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
3114
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which to create the attachment. This field is required, but is not marked as such while we are migrating from post_id. */
3115
3115
  itemId?: string;
3116
3116
  /** 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. */
3117
3117
  key?: string;
3118
3118
  /** OAuth 2.0 token for the current user. */
3119
3119
  oauth_token?: string;
3120
- /** Optional. Deprecated, use item_id instead. */
3120
+ /** Optional. Deprecated, use `item_id` instead. */
3121
3121
  postId: string;
3122
3122
  /** Returns response with indentations and line breaks. */
3123
3123
  prettyPrint?: boolean;
@@ -3146,13 +3146,13 @@ declare namespace gapi.client {
3146
3146
  courseId: string;
3147
3147
  /** Selector specifying which fields to include in a partial response. */
3148
3148
  fields?: string;
3149
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3149
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3150
3150
  itemId?: string;
3151
3151
  /** 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. */
3152
3152
  key?: string;
3153
3153
  /** OAuth 2.0 token for the current user. */
3154
3154
  oauth_token?: string;
3155
- /** Optional. Deprecated, use item_id instead. */
3155
+ /** Optional. Deprecated, use `item_id` instead. */
3156
3156
  postId: string;
3157
3157
  /** Returns response with indentations and line breaks. */
3158
3158
  prettyPrint?: boolean;
@@ -3179,13 +3179,13 @@ declare namespace gapi.client {
3179
3179
  courseId: string;
3180
3180
  /** Selector specifying which fields to include in a partial response. */
3181
3181
  fields?: string;
3182
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3182
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3183
3183
  itemId?: string;
3184
3184
  /** 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. */
3185
3185
  key?: string;
3186
3186
  /** OAuth 2.0 token for the current user. */
3187
3187
  oauth_token?: string;
3188
- /** Optional. Deprecated, use item_id instead. */
3188
+ /** Optional. Deprecated, use `item_id` instead. */
3189
3189
  postId: string;
3190
3190
  /** Returns response with indentations and line breaks. */
3191
3191
  prettyPrint?: boolean;
@@ -3210,7 +3210,7 @@ declare namespace gapi.client {
3210
3210
  courseId: string;
3211
3211
  /** Selector specifying which fields to include in a partial response. */
3212
3212
  fields?: string;
3213
- /** Identifier of the announcement, courseWork, or courseWorkMaterial whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id. */
3213
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose attachments should be enumerated. This field is required, but is not marked as such while we are migrating from post_id. */
3214
3214
  itemId?: string;
3215
3215
  /** 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. */
3216
3216
  key?: string;
@@ -3220,7 +3220,7 @@ declare namespace gapi.client {
3220
3220
  pageSize?: number;
3221
3221
  /** A page token, received from a previous `ListAddOnAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAddOnAttachments` must match the call that provided the page token. */
3222
3222
  pageToken?: string;
3223
- /** Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use item_id instead. */
3223
+ /** Optional. Identifier of the post under the course whose attachments to enumerate. Deprecated, use `item_id` instead. */
3224
3224
  postId: string;
3225
3225
  /** Returns response with indentations and line breaks. */
3226
3226
  prettyPrint?: boolean;
@@ -3326,13 +3326,13 @@ declare namespace gapi.client {
3326
3326
  courseId: string;
3327
3327
  /** Selector specifying which fields to include in a partial response. */
3328
3328
  fields?: string;
3329
- /** Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3329
+ /** Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under which the attachment is attached. This field is required, but is not marked as such while we are migrating from post_id. */
3330
3330
  itemId?: string;
3331
3331
  /** 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. */
3332
3332
  key?: string;
3333
3333
  /** OAuth 2.0 token for the current user. */
3334
3334
  oauth_token?: string;
3335
- /** Optional. Deprecated, use item_id instead. */
3335
+ /** Optional. Deprecated, use `item_id` instead. */
3336
3336
  postId: string;
3337
3337
  /** Returns response with indentations and line breaks. */
3338
3338
  prettyPrint?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.classroom-v1",
3
- "version": "0.0.20240826",
3
+ "version": "0.0.20240911",
4
4
  "description": "TypeScript typings for Google Classroom API v1",
5
5
  "repository": {
6
6
  "type": "git",