Class: Google::Apis::ClassroomV1::Criterion
- Inherits:
-
Object
- Object
- Google::Apis::ClassroomV1::Criterion
- 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
A rubric criterion. Each criterion is a dimension on which performance is rated.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the criterion.
-
#id ⇒ String
The criterion ID.
-
#levels ⇒ Array<Google::Apis::ClassroomV1::Level>
The list of levels within this criterion.
-
#title ⇒ String
The title of the criterion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Criterion
constructor
A new instance of Criterion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Criterion
Returns a new instance of Criterion.
1033 1034 1035 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the criterion.
Corresponds to the JSON property description
1016 1017 1018 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1016 def description @description end |
#id ⇒ String
The criterion ID. On creation, an ID is assigned.
Corresponds to the JSON property id
1021 1022 1023 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1021 def id @id end |
#levels ⇒ Array<Google::Apis::ClassroomV1::Level>
The list of levels within this criterion.
Corresponds to the JSON property levels
1026 1027 1028 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1026 def levels @levels end |
#title ⇒ String
The title of the criterion.
Corresponds to the JSON property title
1031 1032 1033 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1031 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1038 1039 1040 1041 1042 1043 |
# File 'lib/google/apis/classroom_v1/classes.rb', line 1038 def update!(**args) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @levels = args[:levels] if args.key?(:levels) @title = args[:title] if args.key?(:title) end |