google-apis-classroom_v1 0.41.0 → 0.42.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: 8db0766b72466da3c27b6432f2305a036c0275a236792feb7ee6ea4f19b188f6
4
- data.tar.gz: 5fef930dbb1456cd695086fb1b39bbb6a04d944f48779bd0c9bb0442c238ca26
3
+ metadata.gz: 8ed825042757797757c9b48698e7cb699e09816bb3a149d44fc7f26a1992b99e
4
+ data.tar.gz: ab213fe63bd01d70272639e38a4d19591716bc245860bcc26c20058f341ed2dd
5
5
  SHA512:
6
- metadata.gz: 16c140ad754e7dc44cdac9c7b080c9fc9aec8f0f15c592f51e081408dd8fe343f0a9ea15c85d1b10f290d52a45e0d50c267e6d6c744f8fec8d5f2688981908aa
7
- data.tar.gz: ddd22200f2eb48e3623ccd5a303179b4ff7fcf9f5b5bd38d7f1b39f851d2a7665548f786900fbc6fc0118dd1fe5ebba9919eb647909e4767cbadbf4e758051ba
6
+ metadata.gz: bee5ec3491e029cb5e4b535b4a18997935fa240af618647bac1e12c1a9af0def95d950bd4a0668d9245dba7ab4e4599240576d66ce6fa892268edd9ef24d180d
7
+ data.tar.gz: 42727553b672438129fab5e43f2eb5cf46078d1fc8e6467771985bd82e59b7141a283f866ef086041f8785e2e429b7db512ffc3f2d02e85eebbba581cd59932c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-classroom_v1
2
2
 
3
+ ### v0.42.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250420
6
+
3
7
  ### v0.41.0 (2025-04-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20250331
data/OVERVIEW.md CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://developers.google.com/classroom/) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://developers.google.com/workspace/classroom/) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -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.41.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250331"
25
+ REVISION = "20250420"
26
26
  end
27
27
  end
28
28
  end
@@ -30,7 +30,7 @@ module Google
30
30
  # Classroom = Google::Apis::ClassroomV1 # Alias the module
31
31
  # service = Classroom::ClassroomService.new
32
32
  #
33
- # @see https://developers.google.com/classroom/
33
+ # @see https://developers.google.com/workspace/classroom/
34
34
  class ClassroomService < Google::Apis::Core::BaseService
35
35
  DEFAULT_ENDPOINT_TEMPLATE = "https://classroom.$UNIVERSE_DOMAIN$/"
36
36
 
@@ -339,12 +339,12 @@ module Google
339
339
  # Updates grading period settings of a course. Individual grading periods can be
340
340
  # added, removed, or modified using this method. The requesting user and course
341
341
  # owner must be eligible to modify Grading Periods. For details, see [licensing
342
- # requirements](https://developers.google.com/classroom/grading-periods/manage-
343
- # grading-periods#licensing_requirements). This method returns the following
344
- # error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to
345
- # modify the grading period settings in a course or for access errors: *
346
- # UserIneligibleToUpdateGradingPeriodSettings * `INVALID_ARGUMENT` if the
347
- # request is malformed. * `NOT_FOUND` if the requested course does not exist.
342
+ # requirements](https://developers.google.com/workspace/classroom/grading-
343
+ # periods/manage-grading-periods#licensing_requirements). This method returns
344
+ # the following error codes: * `PERMISSION_DENIED` if the requesting user is not
345
+ # permitted to modify the grading period settings in a course or for access
346
+ # errors: * UserIneligibleToUpdateGradingPeriodSettings * `INVALID_ARGUMENT` if
347
+ # the request is malformed. * `NOT_FOUND` if the requested course does not exist.
348
348
  # @param [String] course_id
349
349
  # Required. The identifier of the course.
350
350
  # @param [Google::Apis::ClassroomV1::GradingPeriodSettings] grading_period_settings_object
@@ -633,9 +633,9 @@ module Google
633
633
  # Gets metadata for Classroom add-ons in the context of a specific post. To
634
634
  # maintain the integrity of its own data and permissions model, an add-on should
635
635
  # call this to validate query parameters and the requesting user's role whenever
636
- # the add-on is opened in an [iframe](https://developers.google.com/classroom/
637
- # add-ons/get-started/iframes/iframes-overview). This method returns the
638
- # following error codes: * `PERMISSION_DENIED` for access errors. * `
636
+ # the add-on is opened in an [iframe](https://developers.google.com/workspace/
637
+ # classroom/add-ons/get-started/iframes/iframes-overview). This method returns
638
+ # the following error codes: * `PERMISSION_DENIED` for access errors. * `
639
639
  # INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the
640
640
  # identified resources does not exist.
641
641
  # @param [String] course_id
@@ -653,8 +653,8 @@ module Google
653
653
  # @param [String] attachment_id
654
654
  # Optional. The identifier of the attachment. This field is required for all
655
655
  # requests except when the user is in the [Attachment Discovery iframe](https://
656
- # developers.google.com/classroom/add-ons/get-started/iframes/attachment-
657
- # discovery-iframe).
656
+ # developers.google.com/workspace/classroom/add-ons/get-started/iframes/
657
+ # attachment-discovery-iframe).
658
658
  # @param [String] post_id
659
659
  # Optional. Deprecated, use `item_id` instead.
660
660
  # @param [String] fields
@@ -1216,9 +1216,9 @@ module Google
1216
1216
  # Gets metadata for Classroom add-ons in the context of a specific post. To
1217
1217
  # maintain the integrity of its own data and permissions model, an add-on should
1218
1218
  # call this to validate query parameters and the requesting user's role whenever
1219
- # the add-on is opened in an [iframe](https://developers.google.com/classroom/
1220
- # add-ons/get-started/iframes/iframes-overview). This method returns the
1221
- # following error codes: * `PERMISSION_DENIED` for access errors. * `
1219
+ # the add-on is opened in an [iframe](https://developers.google.com/workspace/
1220
+ # classroom/add-ons/get-started/iframes/iframes-overview). This method returns
1221
+ # the following error codes: * `PERMISSION_DENIED` for access errors. * `
1222
1222
  # INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the
1223
1223
  # identified resources does not exist.
1224
1224
  # @param [String] course_id
@@ -1236,8 +1236,8 @@ module Google
1236
1236
  # @param [String] attachment_id
1237
1237
  # Optional. The identifier of the attachment. This field is required for all
1238
1238
  # requests except when the user is in the [Attachment Discovery iframe](https://
1239
- # developers.google.com/classroom/add-ons/get-started/iframes/attachment-
1240
- # discovery-iframe).
1239
+ # developers.google.com/workspace/classroom/add-ons/get-started/iframes/
1240
+ # attachment-discovery-iframe).
1241
1241
  # @param [String] post_id
1242
1242
  # Optional. Deprecated, use `item_id` instead.
1243
1243
  # @param [String] fields
@@ -1432,19 +1432,19 @@ module Google
1432
1432
  # can be updated. Rubric update capabilities are [limited](/classroom/rubrics/
1433
1433
  # limitations) once grading has started. The requesting user and course owner
1434
1434
  # must have rubrics creation capabilities. For details, see [licensing
1435
- # requirements](https://developers.google.com/classroom/rubrics/limitations#
1436
- # license-requirements). This request must be made by the Google Cloud console
1437
- # of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used
1438
- # to create the parent course work item. This method returns the following error
1439
- # codes: * `PERMISSION_DENIED` if the requesting developer project didn't create
1440
- # the corresponding course work, if the user isn't permitted to make the
1441
- # requested modification to the rubric, or for access errors. This error code is
1442
- # also returned if grading has already started on the rubric. * `
1443
- # INVALID_ARGUMENT` if the request is malformed and for the following request
1444
- # error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course,
1445
- # course work, or rubric doesn't exist or if the user doesn't have access to the
1446
- # corresponding course work. * `INTERNAL` if grading has already started on the
1447
- # rubric.
1435
+ # requirements](https://developers.google.com/workspace/classroom/rubrics/
1436
+ # limitations#license-requirements). This request must be made by the Google
1437
+ # Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/
1438
+ # 6158849) used to create the parent course work item. This method returns the
1439
+ # following error codes: * `PERMISSION_DENIED` if the requesting developer
1440
+ # project didn't create the corresponding course work, if the user isn't
1441
+ # permitted to make the requested modification to the rubric, or for access
1442
+ # errors. This error code is also returned if grading has already started on the
1443
+ # rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following
1444
+ # request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested
1445
+ # course, course work, or rubric doesn't exist or if the user doesn't have
1446
+ # access to the corresponding course work. * `INTERNAL` if grading has already
1447
+ # started on the rubric.
1448
1448
  # @param [String] course_id
1449
1449
  # Required. Identifier of the course.
1450
1450
  # @param [String] course_work_id
@@ -1855,18 +1855,19 @@ module Google
1855
1855
 
1856
1856
  # Creates a rubric. The requesting user and course owner must have rubrics
1857
1857
  # creation capabilities. For details, see [licensing requirements](https://
1858
- # developers.google.com/classroom/rubrics/limitations#license-requirements). For
1859
- # further details, see [Rubrics structure and known limitations](/classroom/
1860
- # rubrics/limitations). This request must be made by the Google Cloud console of
1861
- # the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1862
- # create the parent course work item. This method returns the following error
1863
- # codes: * `PERMISSION_DENIED` if the requesting user isn't permitted to create
1864
- # rubrics for course work in the requested course. * `INTERNAL` if the request
1865
- # has insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is
1866
- # malformed and for the following request error: * `RubricCriteriaInvalidFormat`
1867
- # * `NOT_FOUND` if the requested course or course work don't exist or the user
1868
- # doesn't have access to the course or course work. * `FAILED_PRECONDITION` for
1869
- # the following request error: * `AttachmentNotVisible`
1858
+ # developers.google.com/workspace/classroom/rubrics/limitations#license-
1859
+ # requirements). For further details, see [Rubrics structure and known
1860
+ # limitations](/classroom/rubrics/limitations). This request must be made by the
1861
+ # Google Cloud console of the [OAuth client ID](https://support.google.com/cloud/
1862
+ # answer/6158849) used to create the parent course work item. This method
1863
+ # returns the following error codes: * `PERMISSION_DENIED` if the requesting
1864
+ # user isn't permitted to create rubrics for course work in the requested course.
1865
+ # * `INTERNAL` if the request has insufficient OAuth scopes. * `
1866
+ # INVALID_ARGUMENT` if the request is malformed and for the following request
1867
+ # error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course
1868
+ # or course work don't exist or the user doesn't have access to the course or
1869
+ # course work. * `FAILED_PRECONDITION` for the following request error: * `
1870
+ # AttachmentNotVisible`
1870
1871
  # @param [String] course_id
1871
1872
  # Required. Identifier of the course.
1872
1873
  # @param [String] course_work_id
@@ -1904,11 +1905,11 @@ module Google
1904
1905
 
1905
1906
  # Deletes a rubric. The requesting user and course owner must have rubrics
1906
1907
  # creation capabilities. For details, see [licensing requirements](https://
1907
- # developers.google.com/classroom/rubrics/limitations#license-requirements).
1908
- # This request must be made by the Google Cloud console of the [OAuth client ID](
1909
- # https://support.google.com/cloud/answer/6158849) used to create the
1910
- # corresponding rubric. This method returns the following error codes: * `
1911
- # PERMISSION_DENIED` if the requesting developer project didn't create the
1908
+ # developers.google.com/workspace/classroom/rubrics/limitations#license-
1909
+ # requirements). This request must be made by the Google Cloud console of the [
1910
+ # OAuth client ID](https://support.google.com/cloud/answer/6158849) used to
1911
+ # create the corresponding rubric. This method returns the following error codes:
1912
+ # * `PERMISSION_DENIED` if the requesting developer project didn't create the
1912
1913
  # corresponding rubric, or if the requesting user isn't permitted to delete the
1913
1914
  # requested rubric. * `NOT_FOUND` if no rubric exists with the requested ID or
1914
1915
  # the user does not have access to the course, course work, or rubric. * `
@@ -2037,19 +2038,19 @@ module Google
2037
2038
  # can be updated. Rubric update capabilities are [limited](/classroom/rubrics/
2038
2039
  # limitations) once grading has started. The requesting user and course owner
2039
2040
  # must have rubrics creation capabilities. For details, see [licensing
2040
- # requirements](https://developers.google.com/classroom/rubrics/limitations#
2041
- # license-requirements). This request must be made by the Google Cloud console
2042
- # of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used
2043
- # to create the parent course work item. This method returns the following error
2044
- # codes: * `PERMISSION_DENIED` if the requesting developer project didn't create
2045
- # the corresponding course work, if the user isn't permitted to make the
2046
- # requested modification to the rubric, or for access errors. This error code is
2047
- # also returned if grading has already started on the rubric. * `
2048
- # INVALID_ARGUMENT` if the request is malformed and for the following request
2049
- # error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested course,
2050
- # course work, or rubric doesn't exist or if the user doesn't have access to the
2051
- # corresponding course work. * `INTERNAL` if grading has already started on the
2052
- # rubric.
2041
+ # requirements](https://developers.google.com/workspace/classroom/rubrics/
2042
+ # limitations#license-requirements). This request must be made by the Google
2043
+ # Cloud console of the [OAuth client ID](https://support.google.com/cloud/answer/
2044
+ # 6158849) used to create the parent course work item. This method returns the
2045
+ # following error codes: * `PERMISSION_DENIED` if the requesting developer
2046
+ # project didn't create the corresponding course work, if the user isn't
2047
+ # permitted to make the requested modification to the rubric, or for access
2048
+ # errors. This error code is also returned if grading has already started on the
2049
+ # rubric. * `INVALID_ARGUMENT` if the request is malformed and for the following
2050
+ # request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the requested
2051
+ # course, course work, or rubric doesn't exist or if the user doesn't have
2052
+ # access to the corresponding course work. * `INTERNAL` if grading has already
2053
+ # started on the rubric.
2053
2054
  # @param [String] course_id
2054
2055
  # Required. Identifier of the course.
2055
2056
  # @param [String] course_work_id
@@ -2593,9 +2594,9 @@ module Google
2593
2594
  # Gets metadata for Classroom add-ons in the context of a specific post. To
2594
2595
  # maintain the integrity of its own data and permissions model, an add-on should
2595
2596
  # call this to validate query parameters and the requesting user's role whenever
2596
- # the add-on is opened in an [iframe](https://developers.google.com/classroom/
2597
- # add-ons/get-started/iframes/iframes-overview). This method returns the
2598
- # following error codes: * `PERMISSION_DENIED` for access errors. * `
2597
+ # the add-on is opened in an [iframe](https://developers.google.com/workspace/
2598
+ # classroom/add-ons/get-started/iframes/iframes-overview). This method returns
2599
+ # the following error codes: * `PERMISSION_DENIED` for access errors. * `
2599
2600
  # INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the
2600
2601
  # identified resources does not exist.
2601
2602
  # @param [String] course_id
@@ -2613,8 +2614,8 @@ module Google
2613
2614
  # @param [String] attachment_id
2614
2615
  # Optional. The identifier of the attachment. This field is required for all
2615
2616
  # requests except when the user is in the [Attachment Discovery iframe](https://
2616
- # developers.google.com/classroom/add-ons/get-started/iframes/attachment-
2617
- # discovery-iframe).
2617
+ # developers.google.com/workspace/classroom/add-ons/get-started/iframes/
2618
+ # attachment-discovery-iframe).
2618
2619
  # @param [String] post_id
2619
2620
  # Optional. Deprecated, use `item_id` instead.
2620
2621
  # @param [String] fields
@@ -3021,9 +3022,9 @@ module Google
3021
3022
  # Gets metadata for Classroom add-ons in the context of a specific post. To
3022
3023
  # maintain the integrity of its own data and permissions model, an add-on should
3023
3024
  # call this to validate query parameters and the requesting user's role whenever
3024
- # the add-on is opened in an [iframe](https://developers.google.com/classroom/
3025
- # add-ons/get-started/iframes/iframes-overview). This method returns the
3026
- # following error codes: * `PERMISSION_DENIED` for access errors. * `
3025
+ # the add-on is opened in an [iframe](https://developers.google.com/workspace/
3026
+ # classroom/add-ons/get-started/iframes/iframes-overview). This method returns
3027
+ # the following error codes: * `PERMISSION_DENIED` for access errors. * `
3027
3028
  # INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the
3028
3029
  # identified resources does not exist.
3029
3030
  # @param [String] course_id
@@ -3039,8 +3040,8 @@ module Google
3039
3040
  # @param [String] attachment_id
3040
3041
  # Optional. The identifier of the attachment. This field is required for all
3041
3042
  # requests except when the user is in the [Attachment Discovery iframe](https://
3042
- # developers.google.com/classroom/add-ons/get-started/iframes/attachment-
3043
- # discovery-iframe).
3043
+ # developers.google.com/workspace/classroom/add-ons/get-started/iframes/
3044
+ # attachment-discovery-iframe).
3044
3045
  # @param [String] item_id
3045
3046
  # Identifier of the `Announcement`, `CourseWork`, or `CourseWorkMaterial` under
3046
3047
  # which the attachment is attached. This field is required, but is not marked as
@@ -3434,10 +3435,10 @@ module Google
3434
3435
  end
3435
3436
 
3436
3437
  # Adds a user as a student of a course. Domain administrators are permitted to [
3437
- # directly add](https://developers.google.com/classroom/guides/manage-users)
3438
- # users within their domain as students to courses within their domain. Students
3439
- # are permitted to add themselves to a course using an enrollment code. This
3440
- # method returns the following error codes: * `PERMISSION_DENIED` if the
3438
+ # directly add](https://developers.google.com/workspace/classroom/guides/manage-
3439
+ # users) users within their domain as students to courses within their domain.
3440
+ # Students are permitted to add themselves to a course using an enrollment code.
3441
+ # This method returns the following error codes: * `PERMISSION_DENIED` if the
3441
3442
  # requesting user is not permitted to create students in this course or for
3442
3443
  # access errors. * `NOT_FOUND` if the requested course ID does not exist. * `
3443
3444
  # FAILED_PRECONDITION` if the requested user's account is disabled, for the
@@ -3603,9 +3604,9 @@ module Google
3603
3604
  end
3604
3605
 
3605
3606
  # Creates a teacher of a course. Domain administrators are permitted to [
3606
- # directly add](https://developers.google.com/classroom/guides/manage-users)
3607
- # users within their domain as teachers to courses within their domain. Non-
3608
- # admin users should send an Invitation instead. This method returns the
3607
+ # directly add](https://developers.google.com/workspace/classroom/guides/manage-
3608
+ # users) users within their domain as teachers to courses within their domain.
3609
+ # Non-admin users should send an Invitation instead. This method returns the
3609
3610
  # following error codes: * `PERMISSION_DENIED` if the requesting user is not
3610
3611
  # permitted to create teachers in this course or for access errors. * `NOT_FOUND`
3611
3612
  # if the requested course ID does not exist. * `FAILED_PRECONDITION` if the
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  # Manages classes, rosters, and invitations in Google Classroom.
25
25
  #
26
- # @see https://developers.google.com/classroom/
26
+ # @see https://developers.google.com/workspace/classroom/
27
27
  module ClassroomV1
28
28
  # Version of the Google Classroom API this client connects to.
29
29
  # This is NOT the gem version.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-classroom_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-16 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.41.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-classroom_v1/v0.42.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: