Class: Google::Apis::FormsV1::RowQuestion
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::RowQuestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/forms_v1/classes.rb,
lib/google/apis/forms_v1/representations.rb,
lib/google/apis/forms_v1/representations.rb
Overview
Configuration for a question that is part of a question group.
Instance Attribute Summary collapse
-
#title ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RowQuestion
constructor
A new instance of RowQuestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RowQuestion
Returns a new instance of RowQuestion.
1361 1362 1363 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#title ⇒ String
Required. The title for the single row in the QuestionGroupItem.
Corresponds to the JSON property title
1359 1360 1361 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1359 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1366 1367 1368 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1366 def update!(**args) @title = args[:title] if args.key?(:title) end |