Class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image
 
- 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
Image resource.
Instance Attribute Summary collapse
- 
  
    
      #height  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The height, in pixels, of the linked resource. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Media type of the link. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Image url. 
- 
  
    
      #width  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The width, in pixels, of the linked resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Image 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Image. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Image
Returns a new instance of Image
| 826 827 828 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 826 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#height ⇒ Fixnum
The height, in pixels, of the linked resource.
Corresponds to the JSON property height
| 809 810 811 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 809 def height @height end | 
#type ⇒ String
Media type of the link.
Corresponds to the JSON property type
| 814 815 816 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 814 def type @type end | 
#url ⇒ String
Image url.
Corresponds to the JSON property url
| 819 820 821 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 819 def url @url end | 
#width ⇒ Fixnum
The width, in pixels, of the linked resource.
Corresponds to the JSON property width
| 824 825 826 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 824 def width @width end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 831 832 833 834 835 836 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 831 def update!(**args) @height = args[:height] if args.key?(:height) @type = args[:type] if args.key?(:type) @url = args[:url] if args.key?(:url) @width = args[:width] if args.key?(:width) end |