Namespace Google.Apis.Drive.v2.Data
Classes
About
An item with user information and settings.
About.AdditionalRoleInfoData
Information about supported additional roles per file type. The most specific type takes precedence.
About.AdditionalRoleInfoData.RoleSetsData
The supported additional roles per primary role.
About.DriveThemesData
A list of themes that are supported for shared drives.
About.ExportFormatsData
The allowable export formats.
About.FeaturesData
List of additional features enabled on this account.
About.ImportFormatsData
The allowable import formats.
About.MaxUploadSizesData
List of max upload sizes for each file type. The most specific type takes precedence.
About.QuotaBytesByServiceData
The amount of storage quota used by different Google services.
About.TeamDriveThemesData
Deprecated: Use driveThemes
instead.
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.
App.IconsData
The various icons for the app.
AppList
A list of third-party applications which the user has installed or given access to Google Drive.
Change
Representation of a change to a file or shared drive.
ChangeList
A list of changes for a user.
Channel
A notification channel used to watch for resource changes.
ChildList
A list of children of a file.
ChildReference
A reference to a folder's child. Some resource methods (such as children.get
) require a childId
. Use the
children.list
method to retrieve the ID of the child.
Comment
A comment on a file in Google Drive. Some resource methods (such as comments.update
) require a commentId
.
Use the comments.list
method to retrieve the ID for a comment in a file.
Comment.ContextData
The context of the file which is being commented on.
CommentList
A list of comments on a file in Google Drive.
CommentReply
A comment on a file in Google Drive. Some resource methods (such as replies.update
) require a replyId
. Use
the replies.list
method to retrieve the ID for a reply.
CommentReplyList
A list of replies to a comment on a file in Google Drive.
ContentRestriction
A restriction for accessing the content of the file.
Drive
Representation of a shared drive. Some resource methods (such as drives.update
) require a driveId
. Use the
drives.list
method to retrieve the ID for a shared drive.
Drive.BackgroundImageFileData
An image file and cropping parameters from which a background image for this shared drive is set. This is a
write only field; it can only be set on drive.drives.update
requests that don't set themeId
. When
specified, all fields of the backgroundImageFile
must be set.
Drive.CapabilitiesData
Output only. Capabilities the current user has on this shared drive.
Drive.RestrictionsData
A set of restrictions that apply to this shared drive or items inside this shared drive.
DriveList
A list of shared drives.
File
The metadata for a file. Some resource methods (such as files.update
) require a fileId
. Use the files.list
method to retrieve the ID for a file.
File.CapabilitiesData
Output only. Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
File.ImageMediaMetadataData
Output only. Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
File.ImageMediaMetadataData.LocationData
Output only. Geographic location information stored in the image.
File.IndexableTextData
Indexable text attributes for the file (can only be written)
File.LabelInfoData
Output only. An overview of the labels on the file.
File.LabelsData
A group of labels for the file.
File.LinkShareMetadataData
Contains details about the link URLs that clients are using to refer to this item.
File.ShortcutDetailsData
Shortcut file details. Only populated for shortcut files, which have the mimeType field set to
application/vnd.google-apps.shortcut
. Can only be set on files.insert
requests.
File.ThumbnailData
A thumbnail for the file. This will only be used if a standard thumbnail cannot be generated.
File.VideoMediaMetadataData
Output only. Metadata about video media. This will only be present for video types.
FileList
A list of files.
GeneratedIds
A list of generated IDs which can be provided in insert requests
Label
Representation of a label and label fields.
LabelField
Representation of field, which is a typed key-value pair.
LabelFieldModification
A modification to a label's field.
LabelList
A list of labels applied to a file.
LabelModification
A modification to a label on a file. A LabelModification can be used to apply a label to a file, update an existing label on a file, or remove a label from a file.
ModifyLabelsRequest
A request to modify the set of labels on a file. This request may contain many modifications that will either all succeed or all fail atomically.
ModifyLabelsResponse
Response to a ModifyLabels request. This contains only those labels which were added or updated by the request.
ParentList
A list of a file's parents.
ParentReference
A reference to a file's parent. A file can only have one parent folder; specifying multiple parents isn't
supported. Some resource methods (such as parents.get
) require a parentId
. Use the parents.list
method to
retrieve the ID for a parent.
Permission
A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder
hierarchy. Some resource methods (such as permissions.update
) require a permissionId
. Use the
permissions.list
method to retrieve the ID for a file, folder, or shared drive.
Permission.PermissionDetailsData
Output only. Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
Permission.TeamDrivePermissionDetailsData
Output only. Deprecated: Use permissionDetails
instead.
PermissionId
An ID for a user or group as seen in Permission items.
PermissionList
A list of permissions associated with a file.
Property
A key-value pair attached to a file that is either public or private to an application. The following limits apply to file properties: * Maximum of 100 properties total per file * Maximum of 30 private properties per app
- Maximum of 30 public properties * Maximum of 124 bytes size limit on (key + value) string in UTF-8 encoding
for a single property Some resource methods (such as
properties.update
) require apropertyKey
. Use theproperties.list
method to retrieve the key for a property.
PropertyList
A collection of properties, key-value pairs that are either public or private to an application.
Revision
A revision of a file. Some resource methods (such as revisions.update
) require a revisionId
. Use the
revisions.list
method to retrieve the ID for a revision.
RevisionList
A list of revisions of a file.
StartPageToken
TeamDrive
Deprecated: Use the drive
collection instead.
TeamDrive.BackgroundImageFileData
An image file and cropping parameters from which a background image for this Team Drive is set. This is a
write only field; it can only be set on drive.teamdrives.update
requests that don't set themeId
. When
specified, all fields of the backgroundImageFile
must be set.
TeamDrive.CapabilitiesData
Capabilities the current user has on this Team Drive.
TeamDrive.RestrictionsData
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
TeamDriveList
A list of Team Drives.
User
Information about a Drive user.
User.PictureData
Output only. The user's profile picture.