Class: Google::Apis::PlusV1::Person::Cover::CoverInfo
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::Person::Cover::CoverInfo
- 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
Overview
Extra information about the cover photo.
Instance Attribute Summary collapse
-
#left_image_offset ⇒ Fixnum
The difference between the left position of the cover image and the actual displayed cover image.
-
#top_image_offset ⇒ Fixnum
The difference between the top position of the cover image and the actual displayed cover image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CoverInfo
constructor
A new instance of CoverInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CoverInfo
Returns a new instance of CoverInfo.
1681 1682 1683 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#left_image_offset ⇒ Fixnum
The difference between the left position of the cover image and the actual
displayed cover image. Only valid for banner layout.
Corresponds to the JSON property leftImageOffset
1673 1674 1675 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1673 def left_image_offset @left_image_offset end |
#top_image_offset ⇒ Fixnum
The difference between the top position of the cover image and the actual
displayed cover image. Only valid for banner layout.
Corresponds to the JSON property topImageOffset
1679 1680 1681 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1679 def top_image_offset @top_image_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1686 1687 1688 1689 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1686 def update!(**args) @left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset) @top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset) end |