Class 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. Some resource methods (such as apps.get) require an
appId. Use the apps.list method to retrieve the ID for an installed application.
Implements
Inherited Members
Namespace: Google.Apis.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class App : IDirectResponseSchema
Properties
Authorized
Whether the app is authorized to access data on the user's Drive.
Declaration
[JsonProperty("authorized")]
public virtual bool? Authorized { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CreateInFolderTemplate
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.
Declaration
[JsonProperty("createInFolderTemplate")]
public virtual string CreateInFolderTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreateUrl
The url to create a new file with this app.
Declaration
[JsonProperty("createUrl")]
public virtual string CreateUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasDriveWideScope
Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user's drive.
Declaration
[JsonProperty("hasDriveWideScope")]
public virtual bool? HasDriveWideScope { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Icons
The various icons for the app.
Declaration
[JsonProperty("icons")]
public virtual IList<App.IconsData> Icons { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<App.IconsData> |
Id
The ID of the app.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Installed
Whether the app is installed.
Declaration
[JsonProperty("installed")]
public virtual bool? Installed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Kind
This is always drive#app.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LongDescription
A long description of the app.
Declaration
[JsonProperty("longDescription")]
public virtual string LongDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The name of the app.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ObjectType
The type of object this app creates (e.g. Chart). If empty, the app name should be used instead.
Declaration
[JsonProperty("objectType")]
public virtual string ObjectType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OpenUrlTemplate
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.
Declaration
[JsonProperty("openUrlTemplate")]
public virtual string OpenUrlTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrimaryFileExtensions
The list of primary file extensions.
Declaration
[JsonProperty("primaryFileExtensions")]
public virtual IList<string> PrimaryFileExtensions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
PrimaryMimeTypes
The list of primary mime types.
Declaration
[JsonProperty("primaryMimeTypes")]
public virtual IList<string> PrimaryMimeTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ProductId
The ID of the product listing for this app.
Declaration
[JsonProperty("productId")]
public virtual string ProductId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProductUrl
A link to the product listing for this app.
Declaration
[JsonProperty("productUrl")]
public virtual string ProductUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SecondaryFileExtensions
The list of secondary file extensions.
Declaration
[JsonProperty("secondaryFileExtensions")]
public virtual IList<string> SecondaryFileExtensions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
SecondaryMimeTypes
The list of secondary mime types.
Declaration
[JsonProperty("secondaryMimeTypes")]
public virtual IList<string> SecondaryMimeTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ShortDescription
A short description of the app.
Declaration
[JsonProperty("shortDescription")]
public virtual string ShortDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SupportsCreate
Whether this app supports creating new objects.
Declaration
[JsonProperty("supportsCreate")]
public virtual bool? SupportsCreate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
SupportsImport
Whether this app supports importing from Docs Editors.
Declaration
[JsonProperty("supportsImport")]
public virtual bool? SupportsImport { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
SupportsMultiOpen
Whether this app supports opening more than one file.
Declaration
[JsonProperty("supportsMultiOpen")]
public virtual bool? SupportsMultiOpen { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
SupportsOfflineCreate
Whether this app supports creating new files when offline.
Declaration
[JsonProperty("supportsOfflineCreate")]
public virtual bool? SupportsOfflineCreate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
UseByDefault
Whether the app is selected as the default handler for the types it supports.
Declaration
[JsonProperty("useByDefault")]
public virtual bool? UseByDefault { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |