Class: Google::Apis::PlusDomainsV1::Person::Cover
- Inherits:
-
Object
- Object
- Google::Apis::PlusDomainsV1::Person::Cover
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb
Overview
The cover photo content.
Defined Under Namespace
Classes: CoverInfo, CoverPhoto
Instance Attribute Summary collapse
-
#cover_info ⇒ Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo
Extra information about the cover photo.
-
#cover_photo ⇒ Google::Apis::PlusDomainsV1::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
2132 2133 2134 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cover_info ⇒ Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo
Extra information about the cover photo.
Corresponds to the JSON property coverInfo
2118 2119 2120 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2118 def cover_info @cover_info end |
#cover_photo ⇒ Google::Apis::PlusDomainsV1::Person::Cover::CoverPhoto
The person's primary cover image.
Corresponds to the JSON property coverPhoto
2123 2124 2125 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2123 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
2130 2131 2132 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2130 def layout @layout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2137 2138 2139 2140 2141 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2137 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 |