Class: Google::Apis::FormsV1::DeleteItemRequest
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::DeleteItemRequest
- 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
Delete an item in a form.
Instance Attribute Summary collapse
-
#location ⇒ Google::Apis::FormsV1::Location
A specific location in a form.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteItemRequest
constructor
A new instance of DeleteItemRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeleteItemRequest
Returns a new instance of DeleteItemRequest.
351 352 353 |
# File 'lib/google/apis/forms_v1/classes.rb', line 351 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Google::Apis::FormsV1::Location
A specific location in a form.
Corresponds to the JSON property location
349 350 351 |
# File 'lib/google/apis/forms_v1/classes.rb', line 349 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
356 357 358 |
# File 'lib/google/apis/forms_v1/classes.rb', line 356 def update!(**args) @location = args[:location] if args.key?(:location) end |