Class: Google::Apis::DriveV2::AppList
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DriveV2::AppList
 
- 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 third-party applications which the user has installed or given access to Google Drive.
Instance Attribute Summary collapse
- 
  
    
      #default_app_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of app IDs that the user has specified to use by default. 
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ETag of the list. 
- 
  
    
      #items  ⇒ Array<Google::Apis::DriveV2::App> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of apps. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This is always drive#appList. 
- 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A link back to this list. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AppList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AppList. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppList
Returns a new instance of AppList
| 650 651 652 | # File 'generated/google/apis/drive_v2/classes.rb', line 650 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#default_app_ids ⇒ Array<String>
List of app IDs that the user has specified to use by default. The list is in
reverse-priority order (lowest to highest).
Corresponds to the JSON property defaultAppIds
| 628 629 630 | # File 'generated/google/apis/drive_v2/classes.rb', line 628 def default_app_ids @default_app_ids end | 
#etag ⇒ String
The ETag of the list.
Corresponds to the JSON property etag
| 633 634 635 | # File 'generated/google/apis/drive_v2/classes.rb', line 633 def etag @etag end | 
#items ⇒ Array<Google::Apis::DriveV2::App>
The list of apps.
Corresponds to the JSON property items
| 638 639 640 | # File 'generated/google/apis/drive_v2/classes.rb', line 638 def items @items end | 
#kind ⇒ String
This is always drive#appList.
Corresponds to the JSON property kind
| 643 644 645 | # File 'generated/google/apis/drive_v2/classes.rb', line 643 def kind @kind end | 
#self_link ⇒ String
A link back to this list.
Corresponds to the JSON property selfLink
| 648 649 650 | # File 'generated/google/apis/drive_v2/classes.rb', line 648 def self_link @self_link end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 655 656 657 658 659 660 661 | # File 'generated/google/apis/drive_v2/classes.rb', line 655 def update!(**args) @default_app_ids = args[:default_app_ids] if args.key?(:default_app_ids) @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @self_link = args[:self_link] if args.key?(:self_link) end |