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.
548 549 550 |
# File 'lib/google/apis/drive_v3/classes.rb', line 548 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
530 531 532 |
# File 'lib/google/apis/drive_v3/classes.rb', line 530 def default_app_ids @default_app_ids end |
#items ⇒ Array<Google::Apis::DriveV3::App>
The list of apps.
Corresponds to the JSON property items
535 536 537 |
# File 'lib/google/apis/drive_v3/classes.rb', line 535 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
541 542 543 |
# File 'lib/google/apis/drive_v3/classes.rb', line 541 def kind @kind end |
#self_link ⇒ String
A link back to this list.
Corresponds to the JSON property selfLink
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 |