Class: Google::Apis::PhotoslibraryV1::CreateAlbumRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PhotoslibraryV1::CreateAlbumRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/photoslibrary_v1/classes.rb,
 generated/google/apis/photoslibrary_v1/representations.rb,
 generated/google/apis/photoslibrary_v1/representations.rb
Overview
Request to create an album in Google Photos.
Instance Attribute Summary collapse
- 
  
    
      #album  ⇒ Google::Apis::PhotoslibraryV1::Album 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Representation of an album in Google Photos. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreateAlbumRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CreateAlbumRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateAlbumRequest
Returns a new instance of CreateAlbumRequest
| 309 310 311 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 309 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#album ⇒ Google::Apis::PhotoslibraryV1::Album
Representation of an album in Google Photos.
Albums are a container for media items. They contain an additional
shareInfo property if they have been shared by the application.
Corresponds to the JSON property album
| 307 308 309 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 307 def album @album end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 314 315 316 | # File 'generated/google/apis/photoslibrary_v1/classes.rb', line 314 def update!(**args) @album = args[:album] if args.key?(:album) end |