Class: Google::Apis::DriveV2::TeamDriveList
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DriveV2::TeamDriveList
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v2/classes.rb,
 generated/google/apis/drive_v2/representations.rb,
 generated/google/apis/drive_v2/representations.rb
Overview
A list of Team Drives.
Instance Attribute Summary collapse
- 
  
    
      #items  ⇒ Array<Google::Apis::DriveV2::TeamDrive> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of Team Drives. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This is always drive#teamDriveList Corresponds to the JSON property kind.
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The page token for the next page of Team Drives. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TeamDriveList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TeamDriveList. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TeamDriveList
Returns a new instance of TeamDriveList
| 3214 3215 3216 | # File 'generated/google/apis/drive_v2/classes.rb', line 3214 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::DriveV2::TeamDrive>
The list of Team Drives.
Corresponds to the JSON property items
| 3202 3203 3204 | # File 'generated/google/apis/drive_v2/classes.rb', line 3202 def items @items end | 
#kind ⇒ String
This is always drive#teamDriveList
Corresponds to the JSON property kind
| 3207 3208 3209 | # File 'generated/google/apis/drive_v2/classes.rb', line 3207 def kind @kind end | 
#next_page_token ⇒ String
The page token for the next page of Team Drives.
Corresponds to the JSON property nextPageToken
| 3212 3213 3214 | # File 'generated/google/apis/drive_v2/classes.rb', line 3212 def next_page_token @next_page_token end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3219 3220 3221 3222 3223 | # File 'generated/google/apis/drive_v2/classes.rb', line 3219 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |