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.



551
552
553
# File 'lib/google/apis/drive_v3/classes.rb', line 551

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


533
534
535
# File 'lib/google/apis/drive_v3/classes.rb', line 533

def default_app_ids
  @default_app_ids
end

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

The list of apps. Corresponds to the JSON property items

Returns:



538
539
540
# File 'lib/google/apis/drive_v3/classes.rb', line 538

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)


544
545
546
# File 'lib/google/apis/drive_v3/classes.rb', line 544

def kind
  @kind
end

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

Returns:

  • (String)


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

def self_link
  @self_link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



556
557
558
559
560
561
# File 'lib/google/apis/drive_v3/classes.rb', line 556

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