Class: Google::Apis::ClassroomV1::Rubric
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::Rubric
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/classroom_v1/classes.rb,
lib/google/apis/classroom_v1/representations.rb,
lib/google/apis/classroom_v1/representations.rb
Overview
The rubric of the course work. A rubric is a scoring guide used to evaluate student work and give feedback. For further details, see Rubrics structure and known limitations.
Instance Attribute Summary collapse
-
#course_id ⇒ String
Identifier of the course.
-
#course_work_id ⇒ String
Identifier for the course work this corresponds to.
-
#creation_time ⇒ String
Output only.
-
#criteria ⇒ Array<Google::Apis::ClassroomV1::Criterion>
List of criteria.
-
#id ⇒ String
Classroom-assigned identifier for the rubric.
-
#source_spreadsheet_id ⇒ String
Input only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Rubric
constructor
A new instance of Rubric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Rubric
Returns a new instance of Rubric.
2302 2303 2304 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#course_id ⇒ String
Identifier of the course. Read-only.
Corresponds to the JSON property courseId
2265 2266 2267 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2265 def course_id @course_id end |
#course_work_id ⇒ String
Identifier for the course work this corresponds to. Read-only.
Corresponds to the JSON property courseWorkId
2270 2271 2272 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2270 def course_work_id @course_work_id end |
#creation_time ⇒ String
Output only. Timestamp when this rubric was created. Read-only.
Corresponds to the JSON property creationTime
2275 2276 2277 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2275 def creation_time @creation_time end |
#criteria ⇒ Array<Google::Apis::ClassroomV1::Criterion>
List of criteria. Each criterion is a dimension on which performance is rated.
Corresponds to the JSON property criteria
2280 2281 2282 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2280 def criteria @criteria end |
#id ⇒ String
Classroom-assigned identifier for the rubric. This is unique among rubrics for
the relevant course work. Read-only.
Corresponds to the JSON property id
2286 2287 2288 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2286 def id @id end |
#source_spreadsheet_id ⇒ String
Input only. Immutable. Google Sheets ID of the spreadsheet. This spreadsheet
must contain formatted rubric settings. See Create or reuse a rubric for an
assignment. Use of
this field requires the https://www.googleapis.com/auth/spreadsheets.readonly
or https://www.googleapis.com/auth/spreadsheets scope.
Corresponds to the JSON property sourceSpreadsheetId
2295 2296 2297 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2295 def source_spreadsheet_id @source_spreadsheet_id end |
#update_time ⇒ String
Output only. Timestamp of the most recent change to this rubric. Read-only.
Corresponds to the JSON property updateTime
2300 2301 2302 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2300 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2307 2308 2309 2310 2311 2312 2313 2314 2315 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 2307 def update!(**args) @course_id = args[:course_id] if args.key?(:course_id) @course_work_id = args[:course_work_id] if args.key?(:course_work_id) @creation_time = args[:creation_time] if args.key?(:creation_time) @criteria = args[:criteria] if args.key?(:criteria) @id = args[:id] if args.key?(:id) @source_spreadsheet_id = args[:source_spreadsheet_id] if args.key?(:source_spreadsheet_id) @update_time = args[:update_time] if args.key?(:update_time) end |