google-apis-classroom_v1 0.33.0 → 0.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92703c8d3b6c2d869028f3689ec05f7cc271b72aa89469826c8242848f2843b7
4
- data.tar.gz: '08cee27e3fafb8d1860d99218cd326d67a0bdc980cf070b5f1c57132a02d6b4d'
3
+ metadata.gz: 748f8ff5cde1f669afb7f962676055b95fa07ebe4e75a0dd9c4aab92b5bdb62a
4
+ data.tar.gz: 12416dcc35890f0e89a9c2895dd19de8594304b8bbd6bed0e1d51a3279278f23
5
5
  SHA512:
6
- metadata.gz: '094541ddb48afb59695d1a8f4e257929e43aed93f05f8e24d77e99a5e3e14737af5531a337ce871d95b4431179ee0a7ef98f476d44d25fbf7f2eb5020ff750a7'
7
- data.tar.gz: 861c1d377b953d18976202da0306f001757bd749073dfa2822e2d0dbe3cb602a9fe66659d07f3b362de8de43cbef922862cc98f9f60c80d4f542c6738481d57b
6
+ metadata.gz: bd701c149cb14a08706a235594e7a598e91ba6f2592172db271842361d5c034c36e2cfa38a62cec37cf61128c7c3ae083e7890f5c041ec8742871791e0cb75f7
7
+ data.tar.gz: 85ad25d17003de7c0b3a1950288de9592c89fda72d0311fa29db825e96bcf472ee712bcd871989527891a4ace2784fc6a5660a6ce9a0dfc062bdce13513495ab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-classroom_v1
2
2
 
3
+ ### v0.35.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240911
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.34.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240713
11
+
3
12
  ### v0.33.0 (2024-06-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20240626
@@ -63,8 +63,8 @@ module Google
63
63
  # @return [String]
64
64
  attr_accessor :id
65
65
 
66
- # Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial
67
- # under which the attachment is attached. Unique per course.
66
+ # Immutable. Identifier of the `Announcement`, `CourseWork`, or `
67
+ # CourseWorkMaterial` under which the attachment is attached. Unique per course.
68
68
  # Corresponds to the JSON property `itemId`
69
69
  # @return [String]
70
70
  attr_accessor :item_id
@@ -77,7 +77,7 @@ module Google
77
77
  # @return [Float]
78
78
  attr_accessor :max_points
79
79
 
80
- # Immutable. Deprecated, use item_id instead.
80
+ # Immutable. Deprecated, use `item_id` instead.
81
81
  # Corresponds to the JSON property `postId`
82
82
  # @return [String]
83
83
  attr_accessor :post_id
@@ -159,13 +159,13 @@ module Google
159
159
  # @return [String]
160
160
  attr_accessor :course_id
161
161
 
162
- # Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial
163
- # under which the attachment is attached.
162
+ # Immutable. Identifier of the `Announcement`, `CourseWork`, or `
163
+ # CourseWorkMaterial` under which the attachment is attached.
164
164
  # Corresponds to the JSON property `itemId`
165
165
  # @return [String]
166
166
  attr_accessor :item_id
167
167
 
168
- # Immutable. Deprecated, use item_id instead.
168
+ # Immutable. Deprecated, use `item_id` instead.
169
169
  # Corresponds to the JSON property `postId`
170
170
  # @return [String]
171
171
  attr_accessor :post_id
@@ -409,13 +409,13 @@ module Google
409
409
  # @return [String]
410
410
  attr_accessor :course_id
411
411
 
412
- # Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial
413
- # under which the attachment is attached.
412
+ # Immutable. Identifier of the `Announcement`, `CourseWork`, or `
413
+ # CourseWorkMaterial` under which the attachment is attached.
414
414
  # Corresponds to the JSON property `itemId`
415
415
  # @return [String]
416
416
  attr_accessor :item_id
417
417
 
418
- # Immutable. Deprecated, use item_id instead.
418
+ # Immutable. Deprecated, use `item_id` instead.
419
419
  # Corresponds to the JSON property `postId`
420
420
  # @return [String]
421
421
  attr_accessor :post_id
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ClassroomV1
18
18
  # Version of the google-apis-classroom_v1 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240626"
25
+ REVISION = "20240911"
26
26
  end
27
27
  end
28
28
  end
@@ -555,9 +555,9 @@ module Google
555
555
  # @param [String] course_id
556
556
  # Required. Identifier of the course.
557
557
  # @param [String] item_id
558
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
559
- # the attachment is attached. This field is required, but is not marked as such
560
- # while we are migrating from post_id.
558
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
559
+ # which the attachment is attached. This field is required, but is not marked as
560
+ # such while we are migrating from post_id.
561
561
  # @param [String] add_on_token
562
562
  # Optional. Token that authorizes the request. The token is passed as a query
563
563
  # parameter when the user is redirected from Classroom to the add-on's URL. The
@@ -565,11 +565,12 @@ module Google
565
565
  # add-on has attachments on the post. * The developer project issuing the
566
566
  # request is the same project that created the post.
567
567
  # @param [String] attachment_id
568
- # Optional. The identifier of the attachment. This field is required for student
569
- # users and optional for teacher users. If not provided in the student case, an
570
- # error is returned.
568
+ # Optional. The identifier of the attachment. This field is required for all
569
+ # requests except when the user is in the [Attachment Discovery iframe](https://
570
+ # developers.google.com/classroom/add-ons/get-started/iframes/attachment-
571
+ # discovery-iframe).
571
572
  # @param [String] post_id
572
- # Optional. Deprecated, use item_id instead.
573
+ # Optional. Deprecated, use `item_id` instead.
573
574
  # @param [String] fields
574
575
  # Selector specifying which fields to include in a partial response.
575
576
  # @param [String] quota_user
@@ -759,9 +760,9 @@ module Google
759
760
  # @param [String] course_id
760
761
  # Required. Identifier of the course.
761
762
  # @param [String] item_id
762
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
763
- # to create the attachment. This field is required, but is not marked as such
764
- # while we are migrating from post_id.
763
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
764
+ # which to create the attachment. This field is required, but is not marked as
765
+ # such while we are migrating from post_id.
765
766
  # @param [Google::Apis::ClassroomV1::AddOnAttachment] add_on_attachment_object
766
767
  # @param [String] add_on_token
767
768
  # Optional. Token that authorizes the request. The token is passed as a query
@@ -771,7 +772,7 @@ module Google
771
772
  # provided for partner-first attachment creation and the developer projects that
772
773
  # created the attachment and its parent stream item do not match.
773
774
  # @param [String] post_id
774
- # Optional. Deprecated, use item_id instead.
775
+ # Optional. Deprecated, use `item_id` instead.
775
776
  # @param [String] fields
776
777
  # Selector specifying which fields to include in a partial response.
777
778
  # @param [String] quota_user
@@ -811,13 +812,13 @@ module Google
811
812
  # @param [String] course_id
812
813
  # Required. Identifier of the course.
813
814
  # @param [String] item_id
814
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
815
- # the attachment is attached. This field is required, but is not marked as such
816
- # while we are migrating from post_id.
815
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
816
+ # which the attachment is attached. This field is required, but is not marked as
817
+ # such while we are migrating from post_id.
817
818
  # @param [String] attachment_id
818
819
  # Required. Identifier of the attachment.
819
820
  # @param [String] post_id
820
- # Optional. Deprecated, use item_id instead.
821
+ # Optional. Deprecated, use `item_id` instead.
821
822
  # @param [String] fields
822
823
  # Selector specifying which fields to include in a partial response.
823
824
  # @param [String] quota_user
@@ -856,13 +857,13 @@ module Google
856
857
  # @param [String] course_id
857
858
  # Required. Identifier of the course.
858
859
  # @param [String] item_id
859
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
860
- # the attachment is attached. This field is required, but is not marked as such
861
- # while we are migrating from post_id.
860
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
861
+ # which the attachment is attached. This field is required, but is not marked as
862
+ # such while we are migrating from post_id.
862
863
  # @param [String] attachment_id
863
864
  # Required. Identifier of the attachment.
864
865
  # @param [String] post_id
865
- # Optional. Deprecated, use item_id instead.
866
+ # Optional. Deprecated, use `item_id` instead.
866
867
  # @param [String] fields
867
868
  # Selector specifying which fields to include in a partial response.
868
869
  # @param [String] quota_user
@@ -901,7 +902,7 @@ module Google
901
902
  # @param [String] course_id
902
903
  # Required. Identifier of the course.
903
904
  # @param [String] item_id
904
- # Identifier of the announcement, courseWork, or courseWorkMaterial whose
905
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose
905
906
  # attachments should be enumerated. This field is required, but is not marked as
906
907
  # such while we are migrating from post_id.
907
908
  # @param [Fixnum] page_size
@@ -915,7 +916,7 @@ module Google
915
916
  # token.
916
917
  # @param [String] post_id
917
918
  # Optional. Identifier of the post under the course whose attachments to
918
- # enumerate. Deprecated, use item_id instead.
919
+ # enumerate. Deprecated, use `item_id` instead.
919
920
  # @param [String] fields
920
921
  # Selector specifying which fields to include in a partial response.
921
922
  # @param [String] quota_user
@@ -1137,9 +1138,9 @@ module Google
1137
1138
  # @param [String] course_id
1138
1139
  # Required. Identifier of the course.
1139
1140
  # @param [String] item_id
1140
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
1141
- # the attachment is attached. This field is required, but is not marked as such
1142
- # while we are migrating from post_id.
1141
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
1142
+ # which the attachment is attached. This field is required, but is not marked as
1143
+ # such while we are migrating from post_id.
1143
1144
  # @param [String] add_on_token
1144
1145
  # Optional. Token that authorizes the request. The token is passed as a query
1145
1146
  # parameter when the user is redirected from Classroom to the add-on's URL. The
@@ -1147,11 +1148,12 @@ module Google
1147
1148
  # add-on has attachments on the post. * The developer project issuing the
1148
1149
  # request is the same project that created the post.
1149
1150
  # @param [String] attachment_id
1150
- # Optional. The identifier of the attachment. This field is required for student
1151
- # users and optional for teacher users. If not provided in the student case, an
1152
- # error is returned.
1151
+ # Optional. The identifier of the attachment. This field is required for all
1152
+ # requests except when the user is in the [Attachment Discovery iframe](https://
1153
+ # developers.google.com/classroom/add-ons/get-started/iframes/attachment-
1154
+ # discovery-iframe).
1153
1155
  # @param [String] post_id
1154
- # Optional. Deprecated, use item_id instead.
1156
+ # Optional. Deprecated, use `item_id` instead.
1155
1157
  # @param [String] fields
1156
1158
  # Selector specifying which fields to include in a partial response.
1157
1159
  # @param [String] quota_user
@@ -1292,7 +1294,7 @@ module Google
1292
1294
  # modification to the student submission, or for access errors. * `
1293
1295
  # INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the
1294
1296
  # requested course work has already been deleted. * `NOT_FOUND` if the requested
1295
- # course, course work, or student submission does not exist.
1297
+ # course or course work does not exist.
1296
1298
  # @param [String] course_id
1297
1299
  # Identifier of the course. This identifier can be either the Classroom-assigned
1298
1300
  # identifier or an alias.
@@ -1308,7 +1310,9 @@ module Google
1308
1310
  # CourseWork` object, an `INVALID_ARGUMENT` error is returned. The following
1309
1311
  # fields may be specified by teachers: * `title` * `description` * `state` * `
1310
1312
  # due_date` * `due_time` * `max_points` * `scheduled_time` * `
1311
- # submission_modification_mode` * `topic_id`
1313
+ # submission_modification_mode` * `topic_id` * `grading_period_id` Available in [
1314
+ # V1_20240401_PREVIEW](https://developers.google.com/classroom/reference/preview)
1315
+ # and later.
1312
1316
  # @param [String] fields
1313
1317
  # Selector specifying which fields to include in a partial response.
1314
1318
  # @param [String] quota_user
@@ -1348,9 +1352,9 @@ module Google
1348
1352
  # @param [String] course_id
1349
1353
  # Required. Identifier of the course.
1350
1354
  # @param [String] item_id
1351
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
1352
- # to create the attachment. This field is required, but is not marked as such
1353
- # while we are migrating from post_id.
1355
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
1356
+ # which to create the attachment. This field is required, but is not marked as
1357
+ # such while we are migrating from post_id.
1354
1358
  # @param [Google::Apis::ClassroomV1::AddOnAttachment] add_on_attachment_object
1355
1359
  # @param [String] add_on_token
1356
1360
  # Optional. Token that authorizes the request. The token is passed as a query
@@ -1360,7 +1364,7 @@ module Google
1360
1364
  # provided for partner-first attachment creation and the developer projects that
1361
1365
  # created the attachment and its parent stream item do not match.
1362
1366
  # @param [String] post_id
1363
- # Optional. Deprecated, use item_id instead.
1367
+ # Optional. Deprecated, use `item_id` instead.
1364
1368
  # @param [String] fields
1365
1369
  # Selector specifying which fields to include in a partial response.
1366
1370
  # @param [String] quota_user
@@ -1400,13 +1404,13 @@ module Google
1400
1404
  # @param [String] course_id
1401
1405
  # Required. Identifier of the course.
1402
1406
  # @param [String] item_id
1403
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
1404
- # the attachment is attached. This field is required, but is not marked as such
1405
- # while we are migrating from post_id.
1407
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
1408
+ # which the attachment is attached. This field is required, but is not marked as
1409
+ # such while we are migrating from post_id.
1406
1410
  # @param [String] attachment_id
1407
1411
  # Required. Identifier of the attachment.
1408
1412
  # @param [String] post_id
1409
- # Optional. Deprecated, use item_id instead.
1413
+ # Optional. Deprecated, use `item_id` instead.
1410
1414
  # @param [String] fields
1411
1415
  # Selector specifying which fields to include in a partial response.
1412
1416
  # @param [String] quota_user
@@ -1445,13 +1449,13 @@ module Google
1445
1449
  # @param [String] course_id
1446
1450
  # Required. Identifier of the course.
1447
1451
  # @param [String] item_id
1448
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
1449
- # the attachment is attached. This field is required, but is not marked as such
1450
- # while we are migrating from post_id.
1452
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
1453
+ # which the attachment is attached. This field is required, but is not marked as
1454
+ # such while we are migrating from post_id.
1451
1455
  # @param [String] attachment_id
1452
1456
  # Required. Identifier of the attachment.
1453
1457
  # @param [String] post_id
1454
- # Optional. Deprecated, use item_id instead.
1458
+ # Optional. Deprecated, use `item_id` instead.
1455
1459
  # @param [String] fields
1456
1460
  # Selector specifying which fields to include in a partial response.
1457
1461
  # @param [String] quota_user
@@ -1490,7 +1494,7 @@ module Google
1490
1494
  # @param [String] course_id
1491
1495
  # Required. Identifier of the course.
1492
1496
  # @param [String] item_id
1493
- # Identifier of the announcement, courseWork, or courseWorkMaterial whose
1497
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose
1494
1498
  # attachments should be enumerated. This field is required, but is not marked as
1495
1499
  # such while we are migrating from post_id.
1496
1500
  # @param [Fixnum] page_size
@@ -1504,7 +1508,7 @@ module Google
1504
1508
  # token.
1505
1509
  # @param [String] post_id
1506
1510
  # Optional. Identifier of the post under the course whose attachments to
1507
- # enumerate. Deprecated, use item_id instead.
1511
+ # enumerate. Deprecated, use `item_id` instead.
1508
1512
  # @param [String] fields
1509
1513
  # Selector specifying which fields to include in a partial response.
1510
1514
  # @param [String] quota_user
@@ -1598,15 +1602,15 @@ module Google
1598
1602
  # @param [String] course_id
1599
1603
  # Required. Identifier of the course.
1600
1604
  # @param [String] item_id
1601
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
1602
- # the attachment is attached. This field is required, but is not marked as such
1603
- # while we are migrating from post_id.
1605
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
1606
+ # which the attachment is attached. This field is required, but is not marked as
1607
+ # such while we are migrating from post_id.
1604
1608
  # @param [String] attachment_id
1605
1609
  # Required. Identifier of the attachment.
1606
1610
  # @param [String] submission_id
1607
1611
  # Required. Identifier of the student’s submission.
1608
1612
  # @param [String] post_id
1609
- # Optional. Deprecated, use item_id instead.
1613
+ # Optional. Deprecated, use `item_id` instead.
1610
1614
  # @param [String] fields
1611
1615
  # Selector specifying which fields to include in a partial response.
1612
1616
  # @param [String] quota_user
@@ -1647,16 +1651,16 @@ module Google
1647
1651
  # @param [String] course_id
1648
1652
  # Required. Identifier of the course.
1649
1653
  # @param [String] item_id
1650
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
1651
- # the attachment is attached. This field is required, but is not marked as such
1652
- # while we are migrating from post_id.
1654
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
1655
+ # which the attachment is attached. This field is required, but is not marked as
1656
+ # such while we are migrating from post_id.
1653
1657
  # @param [String] attachment_id
1654
1658
  # Required. Identifier of the attachment.
1655
1659
  # @param [String] submission_id
1656
1660
  # Required. Identifier of the student's submission.
1657
1661
  # @param [Google::Apis::ClassroomV1::AddOnAttachmentStudentSubmission] add_on_attachment_student_submission_object
1658
1662
  # @param [String] post_id
1659
- # Optional. Deprecated, use item_id instead.
1663
+ # Optional. Deprecated, use `item_id` instead.
1660
1664
  # @param [String] update_mask
1661
1665
  # Required. Mask that identifies which fields on the attachment to update. The
1662
1666
  # update fails if invalid fields are specified. If a field supports empty values,
@@ -2197,9 +2201,9 @@ module Google
2197
2201
  # @param [String] course_id
2198
2202
  # Required. Identifier of the course.
2199
2203
  # @param [String] item_id
2200
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2201
- # the attachment is attached. This field is required, but is not marked as such
2202
- # while we are migrating from post_id.
2204
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2205
+ # which the attachment is attached. This field is required, but is not marked as
2206
+ # such while we are migrating from post_id.
2203
2207
  # @param [String] add_on_token
2204
2208
  # Optional. Token that authorizes the request. The token is passed as a query
2205
2209
  # parameter when the user is redirected from Classroom to the add-on's URL. The
@@ -2207,11 +2211,12 @@ module Google
2207
2211
  # add-on has attachments on the post. * The developer project issuing the
2208
2212
  # request is the same project that created the post.
2209
2213
  # @param [String] attachment_id
2210
- # Optional. The identifier of the attachment. This field is required for student
2211
- # users and optional for teacher users. If not provided in the student case, an
2212
- # error is returned.
2214
+ # Optional. The identifier of the attachment. This field is required for all
2215
+ # requests except when the user is in the [Attachment Discovery iframe](https://
2216
+ # developers.google.com/classroom/add-ons/get-started/iframes/attachment-
2217
+ # discovery-iframe).
2213
2218
  # @param [String] post_id
2214
- # Optional. Deprecated, use item_id instead.
2219
+ # Optional. Deprecated, use `item_id` instead.
2215
2220
  # @param [String] fields
2216
2221
  # Selector specifying which fields to include in a partial response.
2217
2222
  # @param [String] quota_user
@@ -2370,9 +2375,9 @@ module Google
2370
2375
  # @param [String] course_id
2371
2376
  # Required. Identifier of the course.
2372
2377
  # @param [String] item_id
2373
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2374
- # to create the attachment. This field is required, but is not marked as such
2375
- # while we are migrating from post_id.
2378
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2379
+ # which to create the attachment. This field is required, but is not marked as
2380
+ # such while we are migrating from post_id.
2376
2381
  # @param [Google::Apis::ClassroomV1::AddOnAttachment] add_on_attachment_object
2377
2382
  # @param [String] add_on_token
2378
2383
  # Optional. Token that authorizes the request. The token is passed as a query
@@ -2382,7 +2387,7 @@ module Google
2382
2387
  # provided for partner-first attachment creation and the developer projects that
2383
2388
  # created the attachment and its parent stream item do not match.
2384
2389
  # @param [String] post_id
2385
- # Optional. Deprecated, use item_id instead.
2390
+ # Optional. Deprecated, use `item_id` instead.
2386
2391
  # @param [String] fields
2387
2392
  # Selector specifying which fields to include in a partial response.
2388
2393
  # @param [String] quota_user
@@ -2422,13 +2427,13 @@ module Google
2422
2427
  # @param [String] course_id
2423
2428
  # Required. Identifier of the course.
2424
2429
  # @param [String] item_id
2425
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2426
- # the attachment is attached. This field is required, but is not marked as such
2427
- # while we are migrating from post_id.
2430
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2431
+ # which the attachment is attached. This field is required, but is not marked as
2432
+ # such while we are migrating from post_id.
2428
2433
  # @param [String] attachment_id
2429
2434
  # Required. Identifier of the attachment.
2430
2435
  # @param [String] post_id
2431
- # Optional. Deprecated, use item_id instead.
2436
+ # Optional. Deprecated, use `item_id` instead.
2432
2437
  # @param [String] fields
2433
2438
  # Selector specifying which fields to include in a partial response.
2434
2439
  # @param [String] quota_user
@@ -2467,13 +2472,13 @@ module Google
2467
2472
  # @param [String] course_id
2468
2473
  # Required. Identifier of the course.
2469
2474
  # @param [String] item_id
2470
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2471
- # the attachment is attached. This field is required, but is not marked as such
2472
- # while we are migrating from post_id.
2475
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2476
+ # which the attachment is attached. This field is required, but is not marked as
2477
+ # such while we are migrating from post_id.
2473
2478
  # @param [String] attachment_id
2474
2479
  # Required. Identifier of the attachment.
2475
2480
  # @param [String] post_id
2476
- # Optional. Deprecated, use item_id instead.
2481
+ # Optional. Deprecated, use `item_id` instead.
2477
2482
  # @param [String] fields
2478
2483
  # Selector specifying which fields to include in a partial response.
2479
2484
  # @param [String] quota_user
@@ -2512,7 +2517,7 @@ module Google
2512
2517
  # @param [String] course_id
2513
2518
  # Required. Identifier of the course.
2514
2519
  # @param [String] item_id
2515
- # Identifier of the announcement, courseWork, or courseWorkMaterial whose
2520
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose
2516
2521
  # attachments should be enumerated. This field is required, but is not marked as
2517
2522
  # such while we are migrating from post_id.
2518
2523
  # @param [Fixnum] page_size
@@ -2526,7 +2531,7 @@ module Google
2526
2531
  # token.
2527
2532
  # @param [String] post_id
2528
2533
  # Optional. Identifier of the post under the course whose attachments to
2529
- # enumerate. Deprecated, use item_id instead.
2534
+ # enumerate. Deprecated, use `item_id` instead.
2530
2535
  # @param [String] fields
2531
2536
  # Selector specifying which fields to include in a partial response.
2532
2537
  # @param [String] quota_user
@@ -2624,7 +2629,7 @@ module Google
2624
2629
  # @param [String] course_id
2625
2630
  # Required. Identifier of the course.
2626
2631
  # @param [String] post_id
2627
- # Optional. Deprecated, use item_id instead.
2632
+ # Optional. Deprecated, use `item_id` instead.
2628
2633
  # @param [String] add_on_token
2629
2634
  # Optional. Token that authorizes the request. The token is passed as a query
2630
2635
  # parameter when the user is redirected from Classroom to the add-on's URL. The
@@ -2632,13 +2637,14 @@ module Google
2632
2637
  # add-on has attachments on the post. * The developer project issuing the
2633
2638
  # request is the same project that created the post.
2634
2639
  # @param [String] attachment_id
2635
- # Optional. The identifier of the attachment. This field is required for student
2636
- # users and optional for teacher users. If not provided in the student case, an
2637
- # error is returned.
2640
+ # Optional. The identifier of the attachment. This field is required for all
2641
+ # requests except when the user is in the [Attachment Discovery iframe](https://
2642
+ # developers.google.com/classroom/add-ons/get-started/iframes/attachment-
2643
+ # discovery-iframe).
2638
2644
  # @param [String] item_id
2639
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2640
- # the attachment is attached. This field is required, but is not marked as such
2641
- # while we are migrating from post_id.
2645
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2646
+ # which the attachment is attached. This field is required, but is not marked as
2647
+ # such while we are migrating from post_id.
2642
2648
  # @param [String] fields
2643
2649
  # Selector specifying which fields to include in a partial response.
2644
2650
  # @param [String] quota_user
@@ -2678,7 +2684,7 @@ module Google
2678
2684
  # @param [String] course_id
2679
2685
  # Required. Identifier of the course.
2680
2686
  # @param [String] post_id
2681
- # Optional. Deprecated, use item_id instead.
2687
+ # Optional. Deprecated, use `item_id` instead.
2682
2688
  # @param [Google::Apis::ClassroomV1::AddOnAttachment] add_on_attachment_object
2683
2689
  # @param [String] add_on_token
2684
2690
  # Optional. Token that authorizes the request. The token is passed as a query
@@ -2688,9 +2694,9 @@ module Google
2688
2694
  # provided for partner-first attachment creation and the developer projects that
2689
2695
  # created the attachment and its parent stream item do not match.
2690
2696
  # @param [String] item_id
2691
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2692
- # to create the attachment. This field is required, but is not marked as such
2693
- # while we are migrating from post_id.
2697
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2698
+ # which to create the attachment. This field is required, but is not marked as
2699
+ # such while we are migrating from post_id.
2694
2700
  # @param [String] fields
2695
2701
  # Selector specifying which fields to include in a partial response.
2696
2702
  # @param [String] quota_user
@@ -2730,13 +2736,13 @@ module Google
2730
2736
  # @param [String] course_id
2731
2737
  # Required. Identifier of the course.
2732
2738
  # @param [String] post_id
2733
- # Optional. Deprecated, use item_id instead.
2739
+ # Optional. Deprecated, use `item_id` instead.
2734
2740
  # @param [String] attachment_id
2735
2741
  # Required. Identifier of the attachment.
2736
2742
  # @param [String] item_id
2737
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2738
- # the attachment is attached. This field is required, but is not marked as such
2739
- # while we are migrating from post_id.
2743
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2744
+ # which the attachment is attached. This field is required, but is not marked as
2745
+ # such while we are migrating from post_id.
2740
2746
  # @param [String] fields
2741
2747
  # Selector specifying which fields to include in a partial response.
2742
2748
  # @param [String] quota_user
@@ -2775,13 +2781,13 @@ module Google
2775
2781
  # @param [String] course_id
2776
2782
  # Required. Identifier of the course.
2777
2783
  # @param [String] post_id
2778
- # Optional. Deprecated, use item_id instead.
2784
+ # Optional. Deprecated, use `item_id` instead.
2779
2785
  # @param [String] attachment_id
2780
2786
  # Required. Identifier of the attachment.
2781
2787
  # @param [String] item_id
2782
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2783
- # the attachment is attached. This field is required, but is not marked as such
2784
- # while we are migrating from post_id.
2788
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2789
+ # which the attachment is attached. This field is required, but is not marked as
2790
+ # such while we are migrating from post_id.
2785
2791
  # @param [String] fields
2786
2792
  # Selector specifying which fields to include in a partial response.
2787
2793
  # @param [String] quota_user
@@ -2821,9 +2827,9 @@ module Google
2821
2827
  # Required. Identifier of the course.
2822
2828
  # @param [String] post_id
2823
2829
  # Optional. Identifier of the post under the course whose attachments to
2824
- # enumerate. Deprecated, use item_id instead.
2830
+ # enumerate. Deprecated, use `item_id` instead.
2825
2831
  # @param [String] item_id
2826
- # Identifier of the announcement, courseWork, or courseWorkMaterial whose
2832
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` whose
2827
2833
  # attachments should be enumerated. This field is required, but is not marked as
2828
2834
  # such while we are migrating from post_id.
2829
2835
  # @param [Fixnum] page_size
@@ -2928,15 +2934,15 @@ module Google
2928
2934
  # @param [String] course_id
2929
2935
  # Required. Identifier of the course.
2930
2936
  # @param [String] post_id
2931
- # Optional. Deprecated, use item_id instead.
2937
+ # Optional. Deprecated, use `item_id` instead.
2932
2938
  # @param [String] attachment_id
2933
2939
  # Required. Identifier of the attachment.
2934
2940
  # @param [String] submission_id
2935
2941
  # Required. Identifier of the student’s submission.
2936
2942
  # @param [String] item_id
2937
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2938
- # the attachment is attached. This field is required, but is not marked as such
2939
- # while we are migrating from post_id.
2943
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2944
+ # which the attachment is attached. This field is required, but is not marked as
2945
+ # such while we are migrating from post_id.
2940
2946
  # @param [String] fields
2941
2947
  # Selector specifying which fields to include in a partial response.
2942
2948
  # @param [String] quota_user
@@ -2977,16 +2983,16 @@ module Google
2977
2983
  # @param [String] course_id
2978
2984
  # Required. Identifier of the course.
2979
2985
  # @param [String] post_id
2980
- # Optional. Deprecated, use item_id instead.
2986
+ # Optional. Deprecated, use `item_id` instead.
2981
2987
  # @param [String] attachment_id
2982
2988
  # Required. Identifier of the attachment.
2983
2989
  # @param [String] submission_id
2984
2990
  # Required. Identifier of the student's submission.
2985
2991
  # @param [Google::Apis::ClassroomV1::AddOnAttachmentStudentSubmission] add_on_attachment_student_submission_object
2986
2992
  # @param [String] item_id
2987
- # Identifier of the announcement, courseWork, or courseWorkMaterial under which
2988
- # the attachment is attached. This field is required, but is not marked as such
2989
- # while we are migrating from post_id.
2993
+ # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
2994
+ # which the attachment is attached. This field is required, but is not marked as
2995
+ # such while we are migrating from post_id.
2990
2996
  # @param [String] update_mask
2991
2997
  # Required. Mask that identifies which fields on the attachment to update. The
2992
2998
  # update fails if invalid fields are specified. If a field supports empty values,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-classroom_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-30 00:00:00.000000000 Z
11
+ date: 2024-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-classroom_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-classroom_v1/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-classroom_v1/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-classroom_v1
63
63
  post_install_message:
64
64
  rdoc_options: []