Class: Google::Apis::DriveV3::AppList
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::AppList
- 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
-
#default_app_ids ⇒ Array<String>
The list of app IDs that the user has specified to use by default.
-
#items ⇒ Array<Google::Apis::DriveV3::App>
The list of apps.
-
#kind ⇒ String
Output only.
-
#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.
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_ids ⇒ Array<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
447 448 449 |
# File 'lib/google/apis/drive_v3/classes.rb', line 447 def default_app_ids @default_app_ids end |
#items ⇒ Array<Google::Apis::DriveV3::App>
The list of apps.
Corresponds to the JSON property items
452 453 454 |
# File 'lib/google/apis/drive_v3/classes.rb', line 452 def items @items end |
#kind ⇒ String
Output only. Identifies what kind of resource this is. Value: the fixed string
"drive#appList".
Corresponds to the JSON property kind
458 459 460 |
# File 'lib/google/apis/drive_v3/classes.rb', line 458 def kind @kind end |
#self_link ⇒ String
A link back to this list.
Corresponds to the JSON property selfLink
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 |