google-apis-classroom_v1 0.11.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/classroom_v1/classes.rb +10 -10
- data/lib/google/apis/classroom_v1/gem_version.rb +2 -2
- data/lib/google/apis/classroom_v1/service.rb +20 -12
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 332068aa631afbedf87aa88399a740ac1a820800a81e68818840431423f4cf41
|
4
|
+
data.tar.gz: e416d89290d2e4940484f8fdfc06a8e6204d62c89d6a1913372b7468def1394e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57145aaa9654b452764de84b93f76c87dde49e8ac7ea12fe04a4cacd4e0476d2a0a7b8352812d32d92e59a06ff706a29b99faf4f369e8d5da4f9dcca66baac5e
|
7
|
+
data.tar.gz: 497131f293eca8f4f572b437404f072fa7ad15c0e367f1d64ed75a9b7e6c7cecc33a47cbad503b87aae0d0f9d1c7e73c472694ed96098bb77da9f686e743ea97
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-classroom_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2022-03-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220302
|
6
|
+
|
7
|
+
### v0.13.0 (2022-02-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220209
|
10
|
+
|
11
|
+
### v0.12.0 (2022-02-08)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220202
|
14
|
+
|
3
15
|
### v0.11.0 (2022-02-04)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220131
|
@@ -536,11 +536,11 @@ module Google
|
|
536
536
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
537
537
|
# day and time zone are either specified elsewhere or are insignificant. The
|
538
538
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
539
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
540
|
-
# and day, with a zero year (
|
541
|
-
# zero month and a zero day * A year and month, with a zero day (
|
542
|
-
# card expiration date) Related types: * google.type.
|
543
|
-
# DateTime * google.protobuf.Timestamp
|
539
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
540
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
541
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
542
|
+
# example, a credit card expiration date). Related types: * google.type.
|
543
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
544
544
|
# Corresponds to the JSON property `dueDate`
|
545
545
|
# @return [Google::Apis::ClassroomV1::Date]
|
546
546
|
attr_accessor :due_date
|
@@ -787,11 +787,11 @@ module Google
|
|
787
787
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
788
788
|
# day and time zone are either specified elsewhere or are insignificant. The
|
789
789
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
790
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
791
|
-
# and day, with a zero year (
|
792
|
-
# zero month and a zero day * A year and month, with a zero day (
|
793
|
-
# card expiration date) Related types: * google.type.
|
794
|
-
# DateTime * google.protobuf.Timestamp
|
790
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
791
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
792
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
793
|
+
# example, a credit card expiration date). Related types: * google.type.
|
794
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
795
795
|
class Date
|
796
796
|
include Google::Apis::Core::Hashable
|
797
797
|
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220302"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -50,7 +50,9 @@ module Google
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# Creates a course. The user specified in `ownerId` is the owner of the created
|
53
|
-
# course and added as a teacher.
|
53
|
+
# course and added as a teacher. A non-admin requesting user can only create a
|
54
|
+
# course with themselves as the owner. Domain admins can create courses owned by
|
55
|
+
# any user within their domain. This method returns the following error codes: *
|
54
56
|
# `PERMISSION_DENIED` if the requesting user is not permitted to create courses
|
55
57
|
# or for access errors. * `NOT_FOUND` if the primary teacher is not a valid user.
|
56
58
|
# * `FAILED_PRECONDITION` if the course owner's account is disabled or for the
|
@@ -1577,12 +1579,15 @@ module Google
|
|
1577
1579
|
execute_or_queue_command(command, &block)
|
1578
1580
|
end
|
1579
1581
|
|
1580
|
-
# Adds a user as a student of a course.
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
#
|
1584
|
-
#
|
1585
|
-
#
|
1582
|
+
# Adds a user as a student of a course. Domain administrators are permitted to [
|
1583
|
+
# directly add](https://developers.google.com/classroom/guides/manage-users)
|
1584
|
+
# users within their domain as students to courses within their domain. Students
|
1585
|
+
# are permitted to add themselves to a course using an enrollment code. This
|
1586
|
+
# method returns the following error codes: * `PERMISSION_DENIED` if the
|
1587
|
+
# requesting user is not permitted to create students in this course or for
|
1588
|
+
# access errors. * `NOT_FOUND` if the requested course ID does not exist. * `
|
1589
|
+
# FAILED_PRECONDITION` if the requested user's account is disabled, for the
|
1590
|
+
# following request errors: * CourseMemberLimitReached * CourseNotModifiable *
|
1586
1591
|
# UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a
|
1587
1592
|
# student or teacher in the course.
|
1588
1593
|
# @param [String] course_id
|
@@ -1743,11 +1748,14 @@ module Google
|
|
1743
1748
|
execute_or_queue_command(command, &block)
|
1744
1749
|
end
|
1745
1750
|
|
1746
|
-
# Creates a teacher of a course.
|
1747
|
-
#
|
1748
|
-
#
|
1749
|
-
#
|
1750
|
-
#
|
1751
|
+
# Creates a teacher of a course. Domain administrators are permitted to [
|
1752
|
+
# directly add](https://developers.google.com/classroom/guides/manage-users)
|
1753
|
+
# users within their domain as teachers to courses within their domain. Non-
|
1754
|
+
# admin users should send an Invitation instead. This method returns the
|
1755
|
+
# following error codes: * `PERMISSION_DENIED` if the requesting user is not
|
1756
|
+
# permitted to create teachers in this course or for access errors. * `NOT_FOUND`
|
1757
|
+
# if the requested course ID does not exist. * `FAILED_PRECONDITION` if the
|
1758
|
+
# requested user's account is disabled, for the following request errors: *
|
1751
1759
|
# CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached *
|
1752
1760
|
# UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a
|
1753
1761
|
# teacher or student in the course.
|
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.14.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-03-14 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.14.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: []
|