google-apis-classroom_v1 0.10.0 → 0.11.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f0f20afb3445ea1a6bc2505015acb6f94decba603b79560f40fa4c326941c66
|
4
|
+
data.tar.gz: 0a08a25898250427a05ceebd90e22e269bd5aaf90eaf6c957766ea16c726c15b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: accad60bb7c2ddd248d3e12a24c0251ef4812d47cbd571297cbcfdcabbe3ac9dde33620659406f4636b26af26e238c5beeb134d36f46c43ab4fd4bb28632aa97
|
7
|
+
data.tar.gz: 9a9a7edbbd06ff80d4ad024f9d33c17072fe8450be42a664198bb505add0116b208881e2c38000e976b72dec1695d328a619988f919cdf816353beaec86c6f75
|
data/CHANGELOG.md
CHANGED
@@ -274,6 +274,12 @@ module Google
|
|
274
274
|
# @return [String]
|
275
275
|
attr_accessor :enrollment_code
|
276
276
|
|
277
|
+
# The gradebook settings for a course. See the [help center article](https://
|
278
|
+
# support.google.com/edu/classroom/answer/9184995) for details.
|
279
|
+
# Corresponds to the JSON property `gradebookSettings`
|
280
|
+
# @return [Google::Apis::ClassroomV1::GradebookSettings]
|
281
|
+
attr_accessor :gradebook_settings
|
282
|
+
|
277
283
|
# Whether or not guardian notifications are enabled for this course. Read-only.
|
278
284
|
# Corresponds to the JSON property `guardiansEnabled`
|
279
285
|
# @return [Boolean]
|
@@ -350,6 +356,7 @@ module Google
|
|
350
356
|
@description = args[:description] if args.key?(:description)
|
351
357
|
@description_heading = args[:description_heading] if args.key?(:description_heading)
|
352
358
|
@enrollment_code = args[:enrollment_code] if args.key?(:enrollment_code)
|
359
|
+
@gradebook_settings = args[:gradebook_settings] if args.key?(:gradebook_settings)
|
353
360
|
@guardians_enabled = args[:guardians_enabled] if args.key?(:guardians_enabled)
|
354
361
|
@id = args[:id] if args.key?(:id)
|
355
362
|
@name = args[:name] if args.key?(:name)
|
@@ -530,10 +537,10 @@ module Google
|
|
530
537
|
# day and time zone are either specified elsewhere or are insignificant. The
|
531
538
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
532
539
|
# following: * A full date, with non-zero year, month, and day values * A month
|
533
|
-
# and day
|
534
|
-
#
|
535
|
-
#
|
536
|
-
# google.protobuf.Timestamp
|
540
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
541
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
542
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
543
|
+
# DateTime * google.protobuf.Timestamp
|
537
544
|
# Corresponds to the JSON property `dueDate`
|
538
545
|
# @return [Google::Apis::ClassroomV1::Date]
|
539
546
|
attr_accessor :due_date
|
@@ -545,6 +552,14 @@ module Google
|
|
545
552
|
# @return [Google::Apis::ClassroomV1::TimeOfDay]
|
546
553
|
attr_accessor :due_time
|
547
554
|
|
555
|
+
# Details for a grade category in a course. Coursework may have zero or one
|
556
|
+
# grade category, and the category may be used in computing the overall grade.
|
557
|
+
# See the [help center article](https://support.google.com/edu/classroom/answer/
|
558
|
+
# 9184995) for details.
|
559
|
+
# Corresponds to the JSON property `gradeCategory`
|
560
|
+
# @return [Google::Apis::ClassroomV1::GradeCategory]
|
561
|
+
attr_accessor :grade_category
|
562
|
+
|
548
563
|
# Classroom-assigned identifier of this course work, unique per course. Read-
|
549
564
|
# only.
|
550
565
|
# Corresponds to the JSON property `id`
|
@@ -628,6 +643,7 @@ module Google
|
|
628
643
|
@description = args[:description] if args.key?(:description)
|
629
644
|
@due_date = args[:due_date] if args.key?(:due_date)
|
630
645
|
@due_time = args[:due_time] if args.key?(:due_time)
|
646
|
+
@grade_category = args[:grade_category] if args.key?(:grade_category)
|
631
647
|
@id = args[:id] if args.key?(:id)
|
632
648
|
@individual_students_options = args[:individual_students_options] if args.key?(:individual_students_options)
|
633
649
|
@materials = args[:materials] if args.key?(:materials)
|
@@ -772,10 +788,10 @@ module Google
|
|
772
788
|
# day and time zone are either specified elsewhere or are insignificant. The
|
773
789
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
774
790
|
# following: * A full date, with non-zero year, month, and day values * A month
|
775
|
-
# and day
|
776
|
-
#
|
777
|
-
#
|
778
|
-
# google.protobuf.Timestamp
|
791
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
792
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
793
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
794
|
+
# DateTime * google.protobuf.Timestamp
|
779
795
|
class Date
|
780
796
|
include Google::Apis::Core::Hashable
|
781
797
|
|
@@ -983,6 +999,50 @@ module Google
|
|
983
999
|
end
|
984
1000
|
end
|
985
1001
|
|
1002
|
+
# Details for a grade category in a course. Coursework may have zero or one
|
1003
|
+
# grade category, and the category may be used in computing the overall grade.
|
1004
|
+
# See the [help center article](https://support.google.com/edu/classroom/answer/
|
1005
|
+
# 9184995) for details.
|
1006
|
+
class GradeCategory
|
1007
|
+
include Google::Apis::Core::Hashable
|
1008
|
+
|
1009
|
+
# Default value of denominator. Only applicable when grade calculation type is
|
1010
|
+
# TOTAL_POINTS.
|
1011
|
+
# Corresponds to the JSON property `defaultGradeDenominator`
|
1012
|
+
# @return [Fixnum]
|
1013
|
+
attr_accessor :default_grade_denominator
|
1014
|
+
|
1015
|
+
# ID of the grade category.
|
1016
|
+
# Corresponds to the JSON property `id`
|
1017
|
+
# @return [String]
|
1018
|
+
attr_accessor :id
|
1019
|
+
|
1020
|
+
# Name of the grade category.
|
1021
|
+
# Corresponds to the JSON property `name`
|
1022
|
+
# @return [String]
|
1023
|
+
attr_accessor :name
|
1024
|
+
|
1025
|
+
# The weight of the category average as part of overall average. A weight of 12.
|
1026
|
+
# 34% is represented as 123400 (100% is 1,000,000). The last two digits should
|
1027
|
+
# always be zero since we use two decimal precision. Only applicable when grade
|
1028
|
+
# calculation type is WEIGHTED_CATEGORIES.
|
1029
|
+
# Corresponds to the JSON property `weight`
|
1030
|
+
# @return [Fixnum]
|
1031
|
+
attr_accessor :weight
|
1032
|
+
|
1033
|
+
def initialize(**args)
|
1034
|
+
update!(**args)
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# Update properties of this object
|
1038
|
+
def update!(**args)
|
1039
|
+
@default_grade_denominator = args[:default_grade_denominator] if args.key?(:default_grade_denominator)
|
1040
|
+
@id = args[:id] if args.key?(:id)
|
1041
|
+
@name = args[:name] if args.key?(:name)
|
1042
|
+
@weight = args[:weight] if args.key?(:weight)
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
986
1046
|
# The history of each grade on this submission.
|
987
1047
|
class GradeHistory
|
988
1048
|
include Google::Apis::Core::Hashable
|
@@ -1026,6 +1086,38 @@ module Google
|
|
1026
1086
|
end
|
1027
1087
|
end
|
1028
1088
|
|
1089
|
+
# The gradebook settings for a course. See the [help center article](https://
|
1090
|
+
# support.google.com/edu/classroom/answer/9184995) for details.
|
1091
|
+
class GradebookSettings
|
1092
|
+
include Google::Apis::Core::Hashable
|
1093
|
+
|
1094
|
+
# Indicates how the overall grade is calculated.
|
1095
|
+
# Corresponds to the JSON property `calculationType`
|
1096
|
+
# @return [String]
|
1097
|
+
attr_accessor :calculation_type
|
1098
|
+
|
1099
|
+
# Indicates who can see the overall grade..
|
1100
|
+
# Corresponds to the JSON property `displaySetting`
|
1101
|
+
# @return [String]
|
1102
|
+
attr_accessor :display_setting
|
1103
|
+
|
1104
|
+
# Grade categories that are available for coursework in the course.
|
1105
|
+
# Corresponds to the JSON property `gradeCategories`
|
1106
|
+
# @return [Array<Google::Apis::ClassroomV1::GradeCategory>]
|
1107
|
+
attr_accessor :grade_categories
|
1108
|
+
|
1109
|
+
def initialize(**args)
|
1110
|
+
update!(**args)
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
# Update properties of this object
|
1114
|
+
def update!(**args)
|
1115
|
+
@calculation_type = args[:calculation_type] if args.key?(:calculation_type)
|
1116
|
+
@display_setting = args[:display_setting] if args.key?(:display_setting)
|
1117
|
+
@grade_categories = args[:grade_categories] if args.key?(:grade_categories)
|
1118
|
+
end
|
1119
|
+
end
|
1120
|
+
|
1029
1121
|
# Association between a student and a guardian of that student. The guardian may
|
1030
1122
|
# receive information about the student's course work.
|
1031
1123
|
class Guardian
|
@@ -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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220131"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -142,12 +142,24 @@ module Google
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
+
class GradeCategory
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
145
151
|
class GradeHistory
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
153
|
|
148
154
|
include Google::Apis::Core::JsonObjectSupport
|
149
155
|
end
|
150
156
|
|
157
|
+
class GradebookSettings
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
151
163
|
class Guardian
|
152
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
165
|
|
@@ -458,6 +470,8 @@ module Google
|
|
458
470
|
property :description, as: 'description'
|
459
471
|
property :description_heading, as: 'descriptionHeading'
|
460
472
|
property :enrollment_code, as: 'enrollmentCode'
|
473
|
+
property :gradebook_settings, as: 'gradebookSettings', class: Google::Apis::ClassroomV1::GradebookSettings, decorator: Google::Apis::ClassroomV1::GradebookSettings::Representation
|
474
|
+
|
461
475
|
property :guardians_enabled, as: 'guardiansEnabled'
|
462
476
|
property :id, as: 'id'
|
463
477
|
property :name, as: 'name'
|
@@ -524,6 +538,8 @@ module Google
|
|
524
538
|
|
525
539
|
property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation
|
526
540
|
|
541
|
+
property :grade_category, as: 'gradeCategory', class: Google::Apis::ClassroomV1::GradeCategory, decorator: Google::Apis::ClassroomV1::GradeCategory::Representation
|
542
|
+
|
527
543
|
property :id, as: 'id'
|
528
544
|
property :individual_students_options, as: 'individualStudentsOptions', class: Google::Apis::ClassroomV1::IndividualStudentsOptions, decorator: Google::Apis::ClassroomV1::IndividualStudentsOptions::Representation
|
529
545
|
|
@@ -633,6 +649,16 @@ module Google
|
|
633
649
|
end
|
634
650
|
end
|
635
651
|
|
652
|
+
class GradeCategory
|
653
|
+
# @private
|
654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
655
|
+
property :default_grade_denominator, as: 'defaultGradeDenominator'
|
656
|
+
property :id, as: 'id'
|
657
|
+
property :name, as: 'name'
|
658
|
+
property :weight, as: 'weight'
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
636
662
|
class GradeHistory
|
637
663
|
# @private
|
638
664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -644,6 +670,16 @@ module Google
|
|
644
670
|
end
|
645
671
|
end
|
646
672
|
|
673
|
+
class GradebookSettings
|
674
|
+
# @private
|
675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
676
|
+
property :calculation_type, as: 'calculationType'
|
677
|
+
property :display_setting, as: 'displaySetting'
|
678
|
+
collection :grade_categories, as: 'gradeCategories', class: Google::Apis::ClassroomV1::GradeCategory, decorator: Google::Apis::ClassroomV1::GradeCategory::Representation
|
679
|
+
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
647
683
|
class Guardian
|
648
684
|
# @private
|
649
685
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.11.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: 2022-
|
11
|
+
date: 2022-02-07 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-classroom_v1/v0.11.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Classroom API V1
|