Class: Google::Apis::FormsV1::TextQuestion
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::TextQuestion
- 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
A text-based question.
Instance Attribute Summary collapse
-
#paragraph ⇒ Boolean
(also: #paragraph?)
Whether the question is a paragraph question or not.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextQuestion
constructor
A new instance of TextQuestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TextQuestion
Returns a new instance of TextQuestion.
1506 1507 1508 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#paragraph ⇒ Boolean Also known as: paragraph?
Whether the question is a paragraph question or not. If not, the question is a
short text question.
Corresponds to the JSON property paragraph
1503 1504 1505 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1503 def paragraph @paragraph end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1511 1512 1513 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1511 def update!(**args) @paragraph = args[:paragraph] if args.key?(:paragraph) end |