google-apis-classroom_v1 0.57.0 → 0.59.0
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 672192e4bbe338eed399c33dcc962375acd693dfbcd238163e0f7c53982bbc53
|
|
4
|
+
data.tar.gz: 3bdc8d1cc1af55bf9b367cac8ed1ce4cb623db6bfae339e99f32e8c70498d522
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2af684d8ec595adba6e708884fda27f8a2df4abd9e0dc40d9897535458c475f3346f79c62bfe472c20f6ad0d86c5754abc5357f025d4ee1c17ba50d0692b2ca9
|
|
7
|
+
data.tar.gz: 8ea1d02b7f98c57aac082610fd41ecf9181a9f8f7f17e59a94584f927eefbc4055610f051c11a7485841b01e3c528b8270342355fc060945cd3f479bf7534641
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-classroom_v1
|
|
2
2
|
|
|
3
|
+
### v0.59.0 (2026-10-21)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261014
|
|
6
|
+
* Regenerated using generator version 0.19.1
|
|
7
|
+
|
|
8
|
+
### v0.58.0 (2026-08-30)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260825
|
|
11
|
+
|
|
3
12
|
### v0.57.0 (2026-08-23)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260816
|
|
@@ -1779,6 +1779,32 @@ module Google
|
|
|
1779
1779
|
end
|
|
1780
1780
|
end
|
|
1781
1781
|
|
|
1782
|
+
# Response when listing student submissions for an add-on attachment.
|
|
1783
|
+
class ListAddOnAttachmentStudentSubmissionsResponse
|
|
1784
|
+
include Google::Apis::Core::Hashable
|
|
1785
|
+
|
|
1786
|
+
# Add-on attachment student submissions that match the request.
|
|
1787
|
+
# Corresponds to the JSON property `addOnAttachmentStudentSubmissions`
|
|
1788
|
+
# @return [Array<Google::Apis::ClassroomV1::AddOnAttachmentStudentSubmission>]
|
|
1789
|
+
attr_accessor :add_on_attachment_student_submissions
|
|
1790
|
+
|
|
1791
|
+
# A token, which can be sent as `pageToken` to retrieve the next page. If this
|
|
1792
|
+
# field is omitted, there are no subsequent pages.
|
|
1793
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1794
|
+
# @return [String]
|
|
1795
|
+
attr_accessor :next_page_token
|
|
1796
|
+
|
|
1797
|
+
def initialize(**args)
|
|
1798
|
+
update!(**args)
|
|
1799
|
+
end
|
|
1800
|
+
|
|
1801
|
+
# Update properties of this object
|
|
1802
|
+
def update!(**args)
|
|
1803
|
+
@add_on_attachment_student_submissions = args[:add_on_attachment_student_submissions] if args.key?(:add_on_attachment_student_submissions)
|
|
1804
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1805
|
+
end
|
|
1806
|
+
end
|
|
1807
|
+
|
|
1782
1808
|
# Response when listing add-on attachments.
|
|
1783
1809
|
class ListAddOnAttachmentsResponse
|
|
1784
1810
|
include Google::Apis::Core::Hashable
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.59.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261014"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -250,6 +250,12 @@ module Google
|
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
|
251
251
|
end
|
|
252
252
|
|
|
253
|
+
class ListAddOnAttachmentStudentSubmissionsResponse
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
+
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
+
end
|
|
258
|
+
|
|
253
259
|
class ListAddOnAttachmentsResponse
|
|
254
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
261
|
|
|
@@ -974,6 +980,15 @@ module Google
|
|
|
974
980
|
end
|
|
975
981
|
end
|
|
976
982
|
|
|
983
|
+
class ListAddOnAttachmentStudentSubmissionsResponse
|
|
984
|
+
# @private
|
|
985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
986
|
+
collection :add_on_attachment_student_submissions, as: 'addOnAttachmentStudentSubmissions', class: Google::Apis::ClassroomV1::AddOnAttachmentStudentSubmission, decorator: Google::Apis::ClassroomV1::AddOnAttachmentStudentSubmission::Representation
|
|
987
|
+
|
|
988
|
+
property :next_page_token, as: 'nextPageToken'
|
|
989
|
+
end
|
|
990
|
+
end
|
|
991
|
+
|
|
977
992
|
class ListAddOnAttachmentsResponse
|
|
978
993
|
# @private
|
|
979
994
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1380,13 +1380,15 @@ module Google
|
|
|
1380
1380
|
# CourseWork for details of which fields may be updated and who may change them.
|
|
1381
1381
|
# This request must be made by the Developer Console project of the [OAuth
|
|
1382
1382
|
# client ID](https://support.google.com/cloud/answer/6158849) used to create the
|
|
1383
|
-
# corresponding course work item
|
|
1384
|
-
#
|
|
1385
|
-
#
|
|
1386
|
-
#
|
|
1387
|
-
#
|
|
1388
|
-
#
|
|
1389
|
-
#
|
|
1383
|
+
# corresponding course work item or an add-on attachment on the corresponding
|
|
1384
|
+
# course work item. This method returns the following error codes: * `
|
|
1385
|
+
# PERMISSION_DENIED` if the requesting developer project did not create the
|
|
1386
|
+
# corresponding course work or an add-on attachment on the corresponding course
|
|
1387
|
+
# work, if the user is not permitted to make the requested modification to the
|
|
1388
|
+
# student submission, or for access errors. * `INVALID_ARGUMENT` if the request
|
|
1389
|
+
# is malformed. * `FAILED_PRECONDITION` if the requested course work has already
|
|
1390
|
+
# been deleted. * `NOT_FOUND` if the requested course or course work does not
|
|
1391
|
+
# exist.
|
|
1390
1392
|
# @param [String] course_id
|
|
1391
1393
|
# Identifier of the course. This identifier can be either the Classroom-assigned
|
|
1392
1394
|
# identifier or an alias.
|
|
@@ -1801,6 +1803,58 @@ module Google
|
|
|
1801
1803
|
execute_or_queue_command(command, &block)
|
|
1802
1804
|
end
|
|
1803
1805
|
|
|
1806
|
+
# Returns a list of student submissions that the requester is permitted to view.
|
|
1807
|
+
# This method returns the following error codes: * `PERMISSION_DENIED` for
|
|
1808
|
+
# access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND`
|
|
1809
|
+
# if one of the identified resources does not exist.
|
|
1810
|
+
# @param [String] course_id
|
|
1811
|
+
# Required. Identifier of the course.
|
|
1812
|
+
# @param [String] item_id
|
|
1813
|
+
# Required. Identifier of the `CourseWork` under which the attachment is
|
|
1814
|
+
# attached.
|
|
1815
|
+
# @param [String] attachment_id
|
|
1816
|
+
# Required. Identifier of the add-on attachment.
|
|
1817
|
+
# @param [Fixnum] page_size
|
|
1818
|
+
# Optional. Maximum number of submissions to return. Zero or unspecified
|
|
1819
|
+
# indicates that the server may assign a maximum. The server may return fewer
|
|
1820
|
+
# than the specified number of results.
|
|
1821
|
+
# @param [String] page_token
|
|
1822
|
+
# Optional. A page token, received from a previous `
|
|
1823
|
+
# ListAddOnAttachmentStudentSubmissions` call. Provide this to retrieve the
|
|
1824
|
+
# subsequent page. When paginating, all other parameters provided to `
|
|
1825
|
+
# ListAddOnAttachmentStudentSubmissions` must match the call that provided the
|
|
1826
|
+
# page token.
|
|
1827
|
+
# @param [String] fields
|
|
1828
|
+
# Selector specifying which fields to include in a partial response.
|
|
1829
|
+
# @param [String] quota_user
|
|
1830
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1831
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1832
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1833
|
+
# Request-specific options
|
|
1834
|
+
#
|
|
1835
|
+
# @yield [result, err] Result & error if block supplied
|
|
1836
|
+
# @yieldparam result [Google::Apis::ClassroomV1::ListAddOnAttachmentStudentSubmissionsResponse] parsed result object
|
|
1837
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1838
|
+
#
|
|
1839
|
+
# @return [Google::Apis::ClassroomV1::ListAddOnAttachmentStudentSubmissionsResponse]
|
|
1840
|
+
#
|
|
1841
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1842
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1843
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1844
|
+
def list_course_course_work_add_on_attachment_student_submissions(course_id, item_id, attachment_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1845
|
+
command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}/studentSubmissions', options)
|
|
1846
|
+
command.response_representation = Google::Apis::ClassroomV1::ListAddOnAttachmentStudentSubmissionsResponse::Representation
|
|
1847
|
+
command.response_class = Google::Apis::ClassroomV1::ListAddOnAttachmentStudentSubmissionsResponse
|
|
1848
|
+
command.params['courseId'] = course_id unless course_id.nil?
|
|
1849
|
+
command.params['itemId'] = item_id unless item_id.nil?
|
|
1850
|
+
command.params['attachmentId'] = attachment_id unless attachment_id.nil?
|
|
1851
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1852
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1853
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1854
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1855
|
+
execute_or_queue_command(command, &block)
|
|
1856
|
+
end
|
|
1857
|
+
|
|
1804
1858
|
# Updates data associated with an add-on attachment submission. Requires the add-
|
|
1805
1859
|
# on to have been the original creator of the attachment and the attachment to
|
|
1806
1860
|
# have a positive `max_points` value set. This method returns the following
|
|
@@ -2223,12 +2277,13 @@ module Google
|
|
|
2223
2277
|
# student submissions belonging to course work objects with a `workType` of `
|
|
2224
2278
|
# ASSIGNMENT`. This request must be made by the Developer Console project of the
|
|
2225
2279
|
# [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
|
|
2226
|
-
# create the corresponding course work item
|
|
2227
|
-
#
|
|
2228
|
-
#
|
|
2229
|
-
#
|
|
2230
|
-
#
|
|
2231
|
-
#
|
|
2280
|
+
# create the corresponding course work item or an add-on attachment on the
|
|
2281
|
+
# corresponding course work item. This method returns the following error codes:
|
|
2282
|
+
# * `PERMISSION_DENIED` if the requesting user is not permitted to access the
|
|
2283
|
+
# requested course or course work, if the user is not permitted to modify
|
|
2284
|
+
# attachments on the requested student submission, or for access errors. * `
|
|
2285
|
+
# INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested
|
|
2286
|
+
# course, course work, or student submission does not exist.
|
|
2232
2287
|
# @param [String] course_id
|
|
2233
2288
|
# Identifier of the course. This identifier can be either the Classroom-assigned
|
|
2234
2289
|
# identifier or an alias.
|
|
@@ -2272,12 +2327,14 @@ module Google
|
|
|
2272
2327
|
# StudentSubmission for details of which fields may be updated and who may
|
|
2273
2328
|
# change them. This request must be made by the Developer Console project of the
|
|
2274
2329
|
# [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
|
|
2275
|
-
# create the corresponding course work item
|
|
2276
|
-
#
|
|
2277
|
-
#
|
|
2278
|
-
#
|
|
2279
|
-
#
|
|
2280
|
-
#
|
|
2330
|
+
# create the corresponding course work item or an add-on attachment with Grade
|
|
2331
|
+
# Sync enabled on the corresponding course work item. This method returns the
|
|
2332
|
+
# following error codes: * `PERMISSION_DENIED` if the requesting developer
|
|
2333
|
+
# project did not create the corresponding course work or an add-on attachment
|
|
2334
|
+
# on the corresponding course work with Grade Sync enabled, if the user is not
|
|
2335
|
+
# permitted to make the requested modification to the student submission, or for
|
|
2336
|
+
# access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND`
|
|
2337
|
+
# if the requested course, course work, or student submission does not exist.
|
|
2281
2338
|
# @param [String] course_id
|
|
2282
2339
|
# Identifier of the course. This identifier can be either the Classroom-assigned
|
|
2283
2340
|
# identifier or an alias.
|
|
@@ -2329,11 +2386,12 @@ module Google
|
|
|
2329
2386
|
# requested student submission may call this method, and only for a student
|
|
2330
2387
|
# submission that has been turned in. This request must be made by the Developer
|
|
2331
2388
|
# Console project of the [OAuth client ID](https://support.google.com/cloud/
|
|
2332
|
-
# answer/6158849) used to create the corresponding course work item
|
|
2333
|
-
#
|
|
2334
|
-
#
|
|
2335
|
-
# the requested
|
|
2336
|
-
#
|
|
2389
|
+
# answer/6158849) used to create the corresponding course work item or an add-on
|
|
2390
|
+
# attachment on the corresponding course work item. This method returns the
|
|
2391
|
+
# following error codes: * `PERMISSION_DENIED` if the requesting user is not
|
|
2392
|
+
# permitted to access the requested course or course work, unsubmit the
|
|
2393
|
+
# requested student submission, or for access errors. * `FAILED_PRECONDITION` if
|
|
2394
|
+
# the student submission has not been turned in. * `INVALID_ARGUMENT` if the
|
|
2337
2395
|
# request is malformed. * `NOT_FOUND` if the requested course, course work, or
|
|
2338
2396
|
# student submission does not exist.
|
|
2339
2397
|
# @param [String] course_id
|
|
@@ -2382,12 +2440,13 @@ module Google
|
|
|
2382
2440
|
# of the course that contains the requested student submission may call this
|
|
2383
2441
|
# method. This request must be made by the Developer Console project of the [
|
|
2384
2442
|
# OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
|
|
2385
|
-
# create the corresponding course work item
|
|
2386
|
-
#
|
|
2387
|
-
#
|
|
2388
|
-
#
|
|
2389
|
-
#
|
|
2390
|
-
# submission does
|
|
2443
|
+
# create the corresponding course work item or an add-on attachment on the
|
|
2444
|
+
# corresponding course work item. This method returns the following error codes:
|
|
2445
|
+
# * `PERMISSION_DENIED` if the requesting user is not permitted to access the
|
|
2446
|
+
# requested course or course work, return the requested student submission, or
|
|
2447
|
+
# for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `
|
|
2448
|
+
# NOT_FOUND` if the requested course, course work, or student submission does
|
|
2449
|
+
# not exist.
|
|
2391
2450
|
# @param [String] course_id
|
|
2392
2451
|
# Identifier of the course. This identifier can be either the Classroom-assigned
|
|
2393
2452
|
# identifier or an alias.
|
|
@@ -2432,12 +2491,13 @@ module Google
|
|
|
2432
2491
|
# submission state. This may only be called by the student that owns the
|
|
2433
2492
|
# specified student submission. This request must be made by the Developer
|
|
2434
2493
|
# Console project of the [OAuth client ID](https://support.google.com/cloud/
|
|
2435
|
-
# answer/6158849) used to create the corresponding course work item
|
|
2436
|
-
#
|
|
2437
|
-
#
|
|
2438
|
-
# the requested
|
|
2439
|
-
#
|
|
2440
|
-
# work, or student
|
|
2494
|
+
# answer/6158849) used to create the corresponding course work item or an add-on
|
|
2495
|
+
# attachment on the corresponding course work item. This method returns the
|
|
2496
|
+
# following error codes: * `PERMISSION_DENIED` if the requesting user is not
|
|
2497
|
+
# permitted to access the requested course or course work, turn in the requested
|
|
2498
|
+
# student submission, or for access errors. * `INVALID_ARGUMENT` if the request
|
|
2499
|
+
# is malformed. * `NOT_FOUND` if the requested course, course work, or student
|
|
2500
|
+
# submission does not exist.
|
|
2441
2501
|
# @param [String] course_id
|
|
2442
2502
|
# Identifier of the course. This identifier can be either the Classroom-assigned
|
|
2443
2503
|
# identifier or an alias.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-classroom_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.59.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-classroom_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-classroom_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-classroom_v1/v0.59.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-classroom_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|