Class: Google::Apis::FormsV1::RowQuestion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#titleString

Required. The title for the single row in the QuestionGroupItem. Corresponds to the JSON property title

Returns:

  • (String)


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