google-apis-classroom_v1 0.52.0 → 0.53.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: 523bd302e57e1b71a274ca1129c1206e380ce8045021bbda438a19dec6adf603
|
|
4
|
+
data.tar.gz: 318ac7155390c8caa25364b85b29a54b734847f4f4bb838aae0c49feb2dad2de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93f98e736ac0e391ec5f3f297eb89017e117763fecaa03acc5753dffe6a2256d14d3db3c2178f68009db001131f68b9d43dcbb22619b02c3e312fa21d519455a
|
|
7
|
+
data.tar.gz: d5ff08d2a9ac78c428cda901ba0ce415f9883258a051038cb3d24657b9707bee6a6a194bc1abe0e5d2f50b214ed9fa1683a2b234a36e729cea2b5d05518f524e
|
data/CHANGELOG.md
CHANGED
|
@@ -128,6 +128,19 @@ module Google
|
|
|
128
128
|
class AddOnAttachmentStudentSubmission
|
|
129
129
|
include Google::Apis::Core::Hashable
|
|
130
130
|
|
|
131
|
+
# Output only. Identifier of the course work submission under which this
|
|
132
|
+
# attachment submission was made.
|
|
133
|
+
# Corresponds to the JSON property `courseWorkSubmissionId`
|
|
134
|
+
# @return [String]
|
|
135
|
+
attr_accessor :course_work_submission_id
|
|
136
|
+
|
|
137
|
+
# Output only. Classroom-assigned identifier for this student submission. This
|
|
138
|
+
# is unique among submissions for the relevant course work and add-on attachment
|
|
139
|
+
# combination.
|
|
140
|
+
# Corresponds to the JSON property `id`
|
|
141
|
+
# @return [String]
|
|
142
|
+
attr_accessor :id
|
|
143
|
+
|
|
131
144
|
# Student grade on this attachment. If unset, no grade was set.
|
|
132
145
|
# Corresponds to the JSON property `pointsEarned`
|
|
133
146
|
# @return [Float]
|
|
@@ -151,6 +164,8 @@ module Google
|
|
|
151
164
|
|
|
152
165
|
# Update properties of this object
|
|
153
166
|
def update!(**args)
|
|
167
|
+
@course_work_submission_id = args[:course_work_submission_id] if args.key?(:course_work_submission_id)
|
|
168
|
+
@id = args[:id] if args.key?(:id)
|
|
154
169
|
@points_earned = args[:points_earned] if args.key?(:points_earned)
|
|
155
170
|
@post_submission_state = args[:post_submission_state] if args.key?(:post_submission_state)
|
|
156
171
|
@user_id = args[:user_id] if args.key?(:user_id)
|
|
@@ -524,6 +539,14 @@ module Google
|
|
|
524
539
|
# @return [String]
|
|
525
540
|
attr_accessor :id
|
|
526
541
|
|
|
542
|
+
# Optional. Levels for the course. Examples: "9th grade", "Middle school", "4th -
|
|
543
|
+
# 5th", "K-2", "3000". If set, this field must be a valid UTF-8 string and
|
|
544
|
+
# fewer than 1000 characters. This field can only be cleared using the `
|
|
545
|
+
# PatchCourse` method.
|
|
546
|
+
# Corresponds to the JSON property `levels`
|
|
547
|
+
# @return [String]
|
|
548
|
+
attr_accessor :levels
|
|
549
|
+
|
|
527
550
|
# Name of the course. For example, "10th Grade Biology". The name is required.
|
|
528
551
|
# It must be between 1 and 750 characters and a valid UTF-8 string.
|
|
529
552
|
# Corresponds to the JSON property `name`
|
|
@@ -593,6 +616,7 @@ module Google
|
|
|
593
616
|
@gradebook_settings = args[:gradebook_settings] if args.key?(:gradebook_settings)
|
|
594
617
|
@guardians_enabled = args[:guardians_enabled] if args.key?(:guardians_enabled)
|
|
595
618
|
@id = args[:id] if args.key?(:id)
|
|
619
|
+
@levels = args[:levels] if args.key?(:levels)
|
|
596
620
|
@name = args[:name] if args.key?(:name)
|
|
597
621
|
@owner_id = args[:owner_id] if args.key?(:owner_id)
|
|
598
622
|
@room = args[:room] if args.key?(:room)
|
|
@@ -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.53.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260511"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -553,6 +553,8 @@ module Google
|
|
|
553
553
|
class AddOnAttachmentStudentSubmission
|
|
554
554
|
# @private
|
|
555
555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
556
|
+
property :course_work_submission_id, as: 'courseWorkSubmissionId'
|
|
557
|
+
property :id, as: 'id'
|
|
556
558
|
property :points_earned, as: 'pointsEarned'
|
|
557
559
|
property :post_submission_state, as: 'postSubmissionState'
|
|
558
560
|
property :user_id, as: 'userId'
|
|
@@ -657,6 +659,7 @@ module Google
|
|
|
657
659
|
|
|
658
660
|
property :guardians_enabled, as: 'guardiansEnabled'
|
|
659
661
|
property :id, as: 'id'
|
|
662
|
+
property :levels, as: 'levels'
|
|
660
663
|
property :name, as: 'name'
|
|
661
664
|
property :owner_id, as: 'ownerId'
|
|
662
665
|
property :room, as: 'room'
|
|
@@ -264,11 +264,11 @@ module Google
|
|
|
264
264
|
# Mask that identifies which fields on the course to update. This field is
|
|
265
265
|
# required to do an update. The update will fail if invalid fields are specified.
|
|
266
266
|
# The following fields are valid: * `courseState` * `description` * `
|
|
267
|
-
# descriptionHeading` * `name` * `ownerId` * `room` * `section` * `subject`
|
|
268
|
-
# patches to ownerId are treated as being effective immediately,
|
|
269
|
-
# practice it may take some time for the ownership transfer of all
|
|
270
|
-
# resources to complete. When set in a query parameter, this field
|
|
271
|
-
# specified as `updateMask=,,...`
|
|
267
|
+
# descriptionHeading` * `name` * `ownerId` * `room` * `section` * `subject` * `
|
|
268
|
+
# levels` Note: patches to ownerId are treated as being effective immediately,
|
|
269
|
+
# but in practice it may take some time for the ownership transfer of all
|
|
270
|
+
# affected resources to complete. When set in a query parameter, this field
|
|
271
|
+
# should be specified as `updateMask=,,...`
|
|
272
272
|
# @param [String] fields
|
|
273
273
|
# Selector specifying which fields to include in a partial response.
|
|
274
274
|
# @param [String] quota_user
|
|
@@ -299,11 +299,14 @@ module Google
|
|
|
299
299
|
execute_or_queue_command(command, &block)
|
|
300
300
|
end
|
|
301
301
|
|
|
302
|
-
# Updates a course.
|
|
303
|
-
#
|
|
304
|
-
#
|
|
305
|
-
#
|
|
306
|
-
#
|
|
302
|
+
# Updates a course. Note: Unlike other fields, `levels` is not cleared if
|
|
303
|
+
# omitted from the request. The `UpdateCourse` method only modifies `levels` if
|
|
304
|
+
# it is explicitly provided; otherwise, the existing value is preserved. Use the
|
|
305
|
+
# `PatchCourse` method to clear the `levels` field. This method returns the
|
|
306
|
+
# following error codes: * `PERMISSION_DENIED` if the requesting user is not
|
|
307
|
+
# permitted to modify the requested course or for access errors. * `NOT_FOUND`
|
|
308
|
+
# if no course exists with the requested ID. * `FAILED_PRECONDITION` for the
|
|
309
|
+
# following request errors: * CourseNotModifiable * CourseTitleCannotContainUrl
|
|
307
310
|
# @param [String] id
|
|
308
311
|
# Identifier of the course to update. This identifier can be either the
|
|
309
312
|
# Classroom-assigned 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.53.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.53.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:
|