Class: Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_v1/representations.rb
Defined Under Namespace
Classes: Image
Instance Attribute Summary collapse
-
#description ⇒ String
Potential name of the thumbnail.
-
#image ⇒ Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image
Image resource.
-
#url ⇒ String
URL of the webpage containing the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Thumbnail
constructor
A new instance of Thumbnail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Thumbnail
Returns a new instance of Thumbnail
751 752 753 |
# File 'generated/google/apis/plus_v1/classes.rb', line 751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Potential name of the thumbnail.
Corresponds to the JSON property description
739 740 741 |
# File 'generated/google/apis/plus_v1/classes.rb', line 739 def description @description end |
#image ⇒ Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image
Image resource.
Corresponds to the JSON property image
744 745 746 |
# File 'generated/google/apis/plus_v1/classes.rb', line 744 def image @image end |
#url ⇒ String
URL of the webpage containing the image.
Corresponds to the JSON property url
749 750 751 |
# File 'generated/google/apis/plus_v1/classes.rb', line 749 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
756 757 758 759 760 |
# File 'generated/google/apis/plus_v1/classes.rb', line 756 def update!(**args) @description = args[:description] if args.key?(:description) @image = args[:image] if args.key?(:image) @url = args[:url] if args.key?(:url) end |