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.



1361
1362
1363
# File 'lib/google/apis/forms_v1/classes.rb', line 1361

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)


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