Class: Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail
 
- 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
Defined Under Namespace
Classes: Image
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Potential name of the thumbnail. 
- 
  
    
      #image  ⇒ Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Image resource. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL of the webpage containing the image. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Thumbnail 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Thumbnail. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Thumbnail
Returns a new instance of Thumbnail
| 791 792 793 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 791 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#description ⇒ String
Potential name of the thumbnail.
Corresponds to the JSON property description
| 779 780 781 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 779 def description @description end | 
#image ⇒ Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image
Image resource.
Corresponds to the JSON property image
| 784 785 786 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 784 def image @image end | 
#url ⇒ String
URL of the webpage containing the image.
Corresponds to the JSON property url
| 789 790 791 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 789 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 796 797 798 799 800 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 796 def update!(**args) @description = args[:description] if args.key?(:description) @image = args[:image] if args.key?(:image) @url = args[:url] if args.key?(:url) end |