Class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::FullImage
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PlusDomainsV1::Activity::Object::Attachment::FullImage
 
- 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 full image URL for photo attachments.
Instance Attribute Summary collapse
- 
  
    
      #height  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The height, in pixels, of the linked resource. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Media type of the link. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL of the image. 
- 
  
    
      #width  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The width, in pixels, of the linked resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FullImage 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FullImage. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FullImage
Returns a new instance of FullImage
| 703 704 705 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 703 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
| 686 687 688 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 686 def height @height end | 
#type ⇒ String
Media type of the link.
Corresponds to the JSON property type
| 691 692 693 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 691 def type @type end | 
#url ⇒ String
URL of the image.
Corresponds to the JSON property url
| 696 697 698 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 696 def url @url end | 
#width ⇒ Fixnum
The width, in pixels, of the linked resource.
Corresponds to the JSON property width
| 701 702 703 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 701 def width @width end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 708 709 710 711 712 713 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 708 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 |