Class: Google::Apis::AppsactivityV1::Photo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppsactivityV1::Photo
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appsactivity_v1/classes.rb,
 generated/google/apis/appsactivity_v1/representations.rb,
 generated/google/apis/appsactivity_v1/representations.rb
Overview
Photo information for a user.
Instance Attribute Summary collapse
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL of the photo. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Photo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Photo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Photo
Returns a new instance of Photo
| 298 299 300 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 298 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#url ⇒ String
The URL of the photo.
Corresponds to the JSON property url
| 296 297 298 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 296 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 303 304 305 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 303 def update!(**args) @url = args[:url] if args.key?(:url) end |