Class: Google::Apis::FormsV1::Response
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::Response
- 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
-
#create_item ⇒ Google::Apis::FormsV1::CreateItemResponse
The result of creating an item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Response
constructor
A new instance of Response.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_item ⇒ Google::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 |