class Google::Apis::DriveV2::App
The apps resource provides a list of the apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details.
Attributes
The template url to create a new file with this app in a given folder. The template will contain `folderId` to be replaced by the folder to create the new file in. Corresponds to the JSON property `createInFolderTemplate` @return [String]
The url to create a new file with this app. Corresponds to the JSON property `createUrl` @return [String]
Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user's drive. Corresponds to the JSON property `hasDriveWideScope` @return [Boolean]
Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user's drive. Corresponds to the JSON property `hasDriveWideScope` @return [Boolean]
The various icons for the app. Corresponds to the JSON property `icons` @return [Array<Google::Apis::DriveV2::App::Icon>]
The ID of the app. Corresponds to the JSON property `id` @return [String]
Whether the app is installed. Corresponds to the JSON property `installed` @return [Boolean]
Whether the app is installed. Corresponds to the JSON property `installed` @return [Boolean]
This is always drive#app. Corresponds to the JSON property `kind` @return [String]
A long description of the app. Corresponds to the JSON property `longDescription` @return [String]
The name of the app. Corresponds to the JSON property `name` @return [String]
The type of object this app creates (e.g. Chart). If empty, the app name should be used instead. Corresponds to the JSON property `objectType` @return [String]
The template url for opening files with this app. The template will contain ` ids` and/or `exportIds` to be replaced by the actual file ids. See Open Files for the full documentation. Corresponds to the JSON property `openUrlTemplate` @return [String]
The list of primary file extensions. Corresponds to the JSON property `primaryFileExtensions` @return [Array<String>]
The list of primary mime types. Corresponds to the JSON property `primaryMimeTypes` @return [Array<String>]
The ID of the product listing for this app. Corresponds to the JSON property `productId` @return [String]
A link to the product listing for this app. Corresponds to the JSON property `productUrl` @return [String]
The list of secondary file extensions. Corresponds to the JSON property `secondaryFileExtensions` @return [Array<String>]
The list of secondary mime types. Corresponds to the JSON property `secondaryMimeTypes` @return [Array<String>]
A short description of the app. Corresponds to the JSON property `shortDescription` @return [String]
Whether this app supports creating new objects. Corresponds to the JSON property `supportsCreate` @return [Boolean]
Whether this app supports creating new objects. Corresponds to the JSON property `supportsCreate` @return [Boolean]
Whether this app supports importing Google Docs. Corresponds to the JSON property `supportsImport` @return [Boolean]
Whether this app supports importing Google Docs. Corresponds to the JSON property `supportsImport` @return [Boolean]
Whether this app supports opening more than one file. Corresponds to the JSON property `supportsMultiOpen` @return [Boolean]
Whether this app supports opening more than one file. Corresponds to the JSON property `supportsMultiOpen` @return [Boolean]
Whether this app supports creating new files when offline. Corresponds to the JSON property `supportsOfflineCreate` @return [Boolean]
Whether this app supports creating new files when offline. Corresponds to the JSON property `supportsOfflineCreate` @return [Boolean]
Whether the app is selected as the default handler for the types it supports. Corresponds to the JSON property `useByDefault` @return [Boolean]
Whether the app is selected as the default handler for the types it supports. Corresponds to the JSON property `useByDefault` @return [Boolean]
Public Class Methods
# File generated/google/apis/drive_v2/classes.rb, line 508 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/drive_v2/classes.rb, line 513 def update!(**args) @authorized = args[:authorized] if args.key?(:authorized) @create_in_folder_template = args[:create_in_folder_template] if args.key?(:create_in_folder_template) @create_url = args[:create_url] if args.key?(:create_url) @has_drive_wide_scope = args[:has_drive_wide_scope] if args.key?(:has_drive_wide_scope) @icons = args[:icons] if args.key?(:icons) @id = args[:id] if args.key?(:id) @installed = args[:installed] if args.key?(:installed) @kind = args[:kind] if args.key?(:kind) @long_description = args[:long_description] if args.key?(:long_description) @name = args[:name] if args.key?(:name) @object_type = args[:object_type] if args.key?(:object_type) @open_url_template = args[:open_url_template] if args.key?(:open_url_template) @primary_file_extensions = args[:primary_file_extensions] if args.key?(:primary_file_extensions) @primary_mime_types = args[:primary_mime_types] if args.key?(:primary_mime_types) @product_id = args[:product_id] if args.key?(:product_id) @product_url = args[:product_url] if args.key?(:product_url) @secondary_file_extensions = args[:secondary_file_extensions] if args.key?(:secondary_file_extensions) @secondary_mime_types = args[:secondary_mime_types] if args.key?(:secondary_mime_types) @short_description = args[:short_description] if args.key?(:short_description) @supports_create = args[:supports_create] if args.key?(:supports_create) @supports_import = args[:supports_import] if args.key?(:supports_import) @supports_multi_open = args[:supports_multi_open] if args.key?(:supports_multi_open) @supports_offline_create = args[:supports_offline_create] if args.key?(:supports_offline_create) @use_by_default = args[:use_by_default] if args.key?(:use_by_default) end