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.
1360 1361 1362 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1360 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
1358 1359 1360 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1358 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1365 1366 1367 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1365 def update!(**args) @title = args[:title] if args.key?(:title) end |