Class: Google::Apis::PlusDomainsV1::Person::Cover::CoverPhoto
- Inherits:
-
Object
- Object
- Google::Apis::PlusDomainsV1::Person::Cover::CoverPhoto
- 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 person's primary cover image.
Instance Attribute Summary collapse
-
#height ⇒ Fixnum
The height of the image.
-
#url ⇒ String
The URL of the image.
-
#width ⇒ Fixnum
The width of the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CoverPhoto
constructor
A new instance of CoverPhoto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CoverPhoto
Returns a new instance of CoverPhoto
2189 2190 2191 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2189 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
The height of the image.
Corresponds to the JSON property height
2177 2178 2179 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2177 def height @height end |
#url ⇒ String
The URL of the image.
Corresponds to the JSON property url
2182 2183 2184 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2182 def url @url end |
#width ⇒ Fixnum
The width of the image.
Corresponds to the JSON property width
2187 2188 2189 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2187 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2194 2195 2196 2197 2198 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2194 def update!(**args) @height = args[:height] if args.key?(:height) @url = args[:url] if args.key?(:url) @width = args[:width] if args.key?(:width) end |