Show / Hide Table of Contents

Class About

An item with user information and settings.

Inheritance
object
About
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class About : IDirectResponseSchema

Properties

AdditionalRoleInfo

Information about supported additional roles per file type. The most specific type takes precedence.

Declaration
[JsonProperty("additionalRoleInfo")]
public virtual IList<About.AdditionalRoleInfoData> AdditionalRoleInfo { get; set; }
Property Value
Type Description
IList<About.AdditionalRoleInfoData>

CanCreateDrives

Whether the user can create shared drives.

Declaration
[JsonProperty("canCreateDrives")]
public virtual bool? CanCreateDrives { get; set; }
Property Value
Type Description
bool?

CanCreateTeamDrives

Deprecated: Use canCreateDrives instead.

Declaration
[JsonProperty("canCreateTeamDrives")]
public virtual bool? CanCreateTeamDrives { get; set; }
Property Value
Type Description
bool?

DomainSharingPolicy

Deprecated: Does not granularly represent allowlisted domains or Trust Rules. The domain sharing policy for the current user. Possible values are: * allowed * allowedWithWarning * incomingOnly * disallowed Note that if the user is enrolled in Trust Rules, disallowed will always be returned. If sharing is restricted to allowlisted domains, either incomingOnly or allowedWithWarning will be returned, depending on whether receiving files from outside the allowlisted domains is permitted.

Declaration
[JsonProperty("domainSharingPolicy")]
public virtual string DomainSharingPolicy { get; set; }
Property Value
Type Description
string

DriveThemes

A list of themes that are supported for shared drives.

Declaration
[JsonProperty("driveThemes")]
public virtual IList<About.DriveThemesData> DriveThemes { get; set; }
Property Value
Type Description
IList<About.DriveThemesData>

ETag

The ETag of the item.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

ExportFormats

The allowable export formats.

Declaration
[JsonProperty("exportFormats")]
public virtual IList<About.ExportFormatsData> ExportFormats { get; set; }
Property Value
Type Description
IList<About.ExportFormatsData>

Features

List of additional features enabled on this account.

Declaration
[JsonProperty("features")]
public virtual IList<About.FeaturesData> Features { get; set; }
Property Value
Type Description
IList<About.FeaturesData>

FolderColorPalette

The palette of allowable folder colors as RGB hex strings.

Declaration
[JsonProperty("folderColorPalette")]
public virtual IList<string> FolderColorPalette { get; set; }
Property Value
Type Description
IList<string>

ImportFormats

The allowable import formats.

Declaration
[JsonProperty("importFormats")]
public virtual IList<About.ImportFormatsData> ImportFormats { get; set; }
Property Value
Type Description
IList<About.ImportFormatsData>

IsCurrentAppInstalled

A boolean indicating whether the authenticated app is installed by the authenticated user.

Declaration
[JsonProperty("isCurrentAppInstalled")]
public virtual bool? IsCurrentAppInstalled { get; set; }
Property Value
Type Description
bool?

Kind

This is always drive#about.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

LanguageCode

The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).

Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
string

LargestChangeId

The largest change id.

Declaration
[JsonProperty("largestChangeId")]
public virtual long? LargestChangeId { get; set; }
Property Value
Type Description
long?

MaxUploadSizes

List of max upload sizes for each file type. The most specific type takes precedence.

Declaration
[JsonProperty("maxUploadSizes")]
public virtual IList<About.MaxUploadSizesData> MaxUploadSizes { get; set; }
Property Value
Type Description
IList<About.MaxUploadSizesData>

Name

The name of the current user.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PermissionId

The current user's ID as visible in the permissions collection.

Declaration
[JsonProperty("permissionId")]
public virtual string PermissionId { get; set; }
Property Value
Type Description
string

QuotaBytesByService

The amount of storage quota used by different Google services.

Declaration
[JsonProperty("quotaBytesByService")]
public virtual IList<About.QuotaBytesByServiceData> QuotaBytesByService { get; set; }
Property Value
Type Description
IList<About.QuotaBytesByServiceData>

QuotaBytesTotal

The total number of quota bytes. This is only relevant when quotaType is LIMITED.

Declaration
[JsonProperty("quotaBytesTotal")]
public virtual long? QuotaBytesTotal { get; set; }
Property Value
Type Description
long?

QuotaBytesUsed

The number of quota bytes used by Google Drive.

Declaration
[JsonProperty("quotaBytesUsed")]
public virtual long? QuotaBytesUsed { get; set; }
Property Value
Type Description
long?

QuotaBytesUsedAggregate

The number of quota bytes used by all Google apps (Drive, Picasa, etc.).

Declaration
[JsonProperty("quotaBytesUsedAggregate")]
public virtual long? QuotaBytesUsedAggregate { get; set; }
Property Value
Type Description
long?

QuotaBytesUsedInTrash

The number of quota bytes used by trashed items.

Declaration
[JsonProperty("quotaBytesUsedInTrash")]
public virtual long? QuotaBytesUsedInTrash { get; set; }
Property Value
Type Description
long?

QuotaType

The type of the user's storage quota. Possible values are: * LIMITED * UNLIMITED

Declaration
[JsonProperty("quotaType")]
public virtual string QuotaType { get; set; }
Property Value
Type Description
string

RemainingChangeIds

The number of remaining change ids, limited to no more than 2500.

Declaration
[JsonProperty("remainingChangeIds")]
public virtual long? RemainingChangeIds { get; set; }
Property Value
Type Description
long?

RootFolderId

The id of the root folder.

Declaration
[JsonProperty("rootFolderId")]
public virtual string RootFolderId { get; set; }
Property Value
Type Description
string

SelfLink

A link back to this item.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
string

TeamDriveThemes

Deprecated: Use driveThemes instead.

Declaration
[JsonProperty("teamDriveThemes")]
public virtual IList<About.TeamDriveThemesData> TeamDriveThemes { get; set; }
Property Value
Type Description
IList<About.TeamDriveThemesData>

User

The authenticated user.

Declaration
[JsonProperty("user")]
public virtual User User { get; set; }
Property Value
Type Description
User

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX