Class: Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo
 
- 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
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
| 2159 2160 2161 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2159 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
| 2151 2152 2153 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2151 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
| 2157 2158 2159 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2157 def top_image_offset @top_image_offset end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2164 2165 2166 2167 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2164 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 |