Class: Google::Apis::PlusV1::Person::Cover
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::Person::Cover
- 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
The cover photo content.
Defined Under Namespace
Classes: CoverInfo, CoverPhoto
Instance Attribute Summary collapse
-
#cover_info ⇒ Google::Apis::PlusV1::Person::Cover::CoverInfo
Extra information about the cover photo.
-
#cover_photo ⇒ Google::Apis::PlusV1::Person::Cover::CoverPhoto
The person's primary cover image.
-
#layout ⇒ String
The layout of the cover art.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Cover
constructor
A new instance of Cover.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Cover
Returns a new instance of Cover.
1654 1655 1656 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cover_info ⇒ Google::Apis::PlusV1::Person::Cover::CoverInfo
Extra information about the cover photo.
Corresponds to the JSON property coverInfo
1640 1641 1642 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1640 def cover_info @cover_info end |
#cover_photo ⇒ Google::Apis::PlusV1::Person::Cover::CoverPhoto
The person's primary cover image.
Corresponds to the JSON property coverPhoto
1645 1646 1647 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1645 def cover_photo @cover_photo end |
#layout ⇒ String
The layout of the cover art. Possible values include, but are not limited to, the following values:
- "banner" - One large image banner.
Corresponds to the JSON property
layout
1652 1653 1654 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1652 def layout @layout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1659 1660 1661 1662 1663 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1659 def update!(**args) @cover_info = args[:cover_info] if args.key?(:cover_info) @cover_photo = args[:cover_photo] if args.key?(:cover_photo) @layout = args[:layout] if args.key?(:layout) end |