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.



548
549
550
# File 'lib/google/apis/drive_v3/classes.rb', line 548

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>)


530
531
532
# File 'lib/google/apis/drive_v3/classes.rb', line 530

def default_app_ids
  @default_app_ids
end

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

The list of apps. Corresponds to the JSON property items

Returns:



535
536
537
# File 'lib/google/apis/drive_v3/classes.rb', line 535

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)


541
542
543
# File 'lib/google/apis/drive_v3/classes.rb', line 541

def kind
  @kind
end

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

Returns:

  • (String)


546
547
548
# File 'lib/google/apis/drive_v3/classes.rb', line 546

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



553
554
555
556
557
558
# File 'lib/google/apis/drive_v3/classes.rb', line 553

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