Class: Google::Apis::DriveV3::AppList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/drive_v3/classes.rb,
lib/google/apis/drive_v3/representations.rb,
lib/google/apis/drive_v3/representations.rb

Overview

A list of third-party applications which the user has installed or given access to Google Drive.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppList

Returns a new instance of AppList.



465
466
467
# File 'lib/google/apis/drive_v3/classes.rb', line 465

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#default_app_idsArray<String>

The 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

Returns:

  • (Array<String>)


447
448
449
# File 'lib/google/apis/drive_v3/classes.rb', line 447

def default_app_ids
  @default_app_ids
end

#itemsArray<Google::Apis::DriveV3::App>

The list of apps. Corresponds to the JSON property items

Returns:



452
453
454
# File 'lib/google/apis/drive_v3/classes.rb', line 452

def items
  @items
end

#kindString

Output only. Identifies what kind of resource this is. Value: the fixed string "drive#appList". Corresponds to the JSON property kind

Returns:

  • (String)


458
459
460
# File 'lib/google/apis/drive_v3/classes.rb', line 458

def kind
  @kind
end

A link back to this list. Corresponds to the JSON property selfLink

Returns:

  • (String)


463
464
465
# File 'lib/google/apis/drive_v3/classes.rb', line 463

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



470
471
472
473
474
475
# File 'lib/google/apis/drive_v3/classes.rb', line 470

def update!(**args)
  @default_app_ids = args[:default_app_ids] if args.key?(:default_app_ids)
  @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