Class: Google::Apis::FormsV1::Response

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

A single response from an update.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Response

Returns a new instance of Response.



1341
1342
1343
# File 'lib/google/apis/forms_v1/classes.rb', line 1341

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_itemGoogle::Apis::FormsV1::CreateItemResponse

The result of creating an item. Corresponds to the JSON property createItem



1339
1340
1341
# File 'lib/google/apis/forms_v1/classes.rb', line 1339

def create_item
  @create_item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1346
1347
1348
# File 'lib/google/apis/forms_v1/classes.rb', line 1346

def update!(**args)
  @create_item = args[:create_item] if args.key?(:create_item)
end