google-apis-classroom_v1 0.58.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: 166b59069ffe4e8f45d92207d1de02fdb58c50e3920443de6320107c607af40a
4
- data.tar.gz: 0f5c1b404152c40b7f42c26599b2ee6500ae1cb5bc6447c12992412b00e01677
3
+ metadata.gz: 672192e4bbe338eed399c33dcc962375acd693dfbcd238163e0f7c53982bbc53
4
+ data.tar.gz: 3bdc8d1cc1af55bf9b367cac8ed1ce4cb623db6bfae339e99f32e8c70498d522
5
5
  SHA512:
6
- metadata.gz: ccb87ccf916ca4c4cbe3db606866d9a42bbdca5f394ee963afda9a3ba6bcbafee4303a0bf98e0c56ef2a50ba22bfa4be5f576ea68a0d003e107ba3df93a209a3
7
- data.tar.gz: a8fcf50299833d0b4496f1db14072c060dac345d54220af73e061b390625497e9cabb101597a57ac6a49d4bf032b0c11c40a9c1adc75707810fbb01a872997e8
6
+ metadata.gz: 2af684d8ec595adba6e708884fda27f8a2df4abd9e0dc40d9897535458c475f3346f79c62bfe472c20f6ad0d86c5754abc5357f025d4ee1c17ba50d0692b2ca9
7
+ data.tar.gz: 8ea1d02b7f98c57aac082610fd41ecf9181a9f8f7f17e59a94584f927eefbc4055610f051c11a7485841b01e3c528b8270342355fc060945cd3f479bf7534641
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.58.0 (2026-08-30)
4
9
 
5
10
  * Regenerated from discovery document revision 20260825
@@ -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.58.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.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260825"
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
@@ -1803,6 +1803,58 @@ module Google
1803
1803
  execute_or_queue_command(command, &block)
1804
1804
  end
1805
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
+
1806
1858
  # Updates data associated with an add-on attachment submission. Requires the add-
1807
1859
  # on to have been the original creator of the attachment and the attachment to
1808
1860
  # have a positive `max_points` value set. This method returns the following
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.58.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.58.0
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: