google-apis-classroom_v1 0.12.0 → 0.15.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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/classroom_v1/classes.rb +11 -12
- data/lib/google/apis/classroom_v1/gem_version.rb +2 -2
- data/lib/google/apis/classroom_v1/service.rb +11 -6
- 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: b901191d4cc9139dc4a83b4da3c9877790b4434f2165180ff805db32f3d02240
|
4
|
+
data.tar.gz: ce75a9e5a97242845943d074c34e856197a36bfa161ca40ac869cacd1ffca32f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '00843a576e0b557f343b3b83eba22a54480c0f31dd8271939dbc2e0c0f6aeaca3bc96489b94535dc886075eb9b843133af565500ed969e84091ef43c4066dc10'
|
7
|
+
data.tar.gz: a9d4be4b480102ea1993ace3458fba5b694a5bafda4717827b66718094366be0c67eaf6074e9ac0156448dbc23d2eb8f1a7a2e17fd8dbc21fc1945456baf12f8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-classroom_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-03-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220319
|
6
|
+
|
7
|
+
### v0.14.0 (2022-03-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220302
|
10
|
+
|
11
|
+
### v0.13.0 (2022-02-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220209
|
14
|
+
|
3
15
|
### v0.12.0 (2022-02-08)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220202
|
@@ -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
|
|
@@ -896,8 +896,7 @@ module Google
|
|
896
896
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
897
897
|
# messages in your APIs. A typical example is to use it as the request or the
|
898
898
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
899
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
900
|
-
# `Empty` is empty JSON object ````.
|
899
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
901
900
|
class Empty
|
902
901
|
include Google::Apis::Core::Hashable
|
903
902
|
|
@@ -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.15.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 = "20220319"
|
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
|
@@ -1746,11 +1748,14 @@ module Google
|
|
1746
1748
|
execute_or_queue_command(command, &block)
|
1747
1749
|
end
|
1748
1750
|
|
1749
|
-
# Creates a teacher of a course.
|
1750
|
-
#
|
1751
|
-
#
|
1752
|
-
#
|
1753
|
-
#
|
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: *
|
1754
1759
|
# CourseMemberLimitReached * CourseNotModifiable * CourseTeacherLimitReached *
|
1755
1760
|
# UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if the user is already a
|
1756
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.15.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-28 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.15.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: []
|