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.



1436
1437
1438
# File 'lib/google/apis/forms_v1/classes.rb', line 1436

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



1434
1435
1436
# File 'lib/google/apis/forms_v1/classes.rb', line 1434

def create_item
  @create_item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1441
1442
1443
# File 'lib/google/apis/forms_v1/classes.rb', line 1441

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