Class: Google::Apis::FormsV1::DeleteItemRequest

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

Delete an item in a form.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#locationGoogle::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