Class: Google::Apis::FormsV1::ImageItem
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::ImageItem
- 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
An item containing an image.
Instance Attribute Summary collapse
-
#image ⇒ Google::Apis::FormsV1::Image
Data representing an image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageItem
constructor
A new instance of ImageItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImageItem
Returns a new instance of ImageItem.
818 819 820 |
# File 'lib/google/apis/forms_v1/classes.rb', line 818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image ⇒ Google::Apis::FormsV1::Image
Data representing an image.
Corresponds to the JSON property image
816 817 818 |
# File 'lib/google/apis/forms_v1/classes.rb', line 816 def image @image end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
823 824 825 |
# File 'lib/google/apis/forms_v1/classes.rb', line 823 def update!(**args) @image = args[:image] if args.key?(:image) end |