API Reference google_api_drive v0.25.0

Modules

API client metadata for GoogleApi.Drive.V3.

API calls for all endpoints tagged About.

API calls for all endpoints tagged Changes.

API calls for all endpoints tagged Channels.

API calls for all endpoints tagged Comments.

API calls for all endpoints tagged Drives.

API calls for all endpoints tagged Files.

API calls for all endpoints tagged Permissions.

API calls for all endpoints tagged Replies.

API calls for all endpoints tagged Revisions.

API calls for all endpoints tagged Teamdrives.

Handle Tesla connections for GoogleApi.Drive.V3.

Information about the user, the user's Drive, and system capabilities.

Attributes

  • backgroundImageLink (type: String.t, default: nil) - A link to this theme's background image.
  • colorRgb (type: String.t, default: nil) - The color of this theme as an RGB hex string.
  • id (type: String.t, default: nil) - The ID of the theme.

The user's storage quota limits and usage. All fields are measured in bytes.

Attributes

  • backgroundImageLink (type: String.t, default: nil) - Deprecated - use driveThemes/backgroundImageLink instead.
  • colorRgb (type: String.t, default: nil) - Deprecated - use driveThemes/colorRgb instead.
  • id (type: String.t, default: nil) - Deprecated - use driveThemes/id instead.

A change to a file or shared drive.

A list of changes for a user.

An notification channel used to watch for resource changes.

A comment on a file.

A list of comments on a file.

The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.

A restriction for accessing the content of the file.

Representation of a shared drive.

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.

Capabilities the current user has on this shared drive.

A list of shared drives.

A set of restrictions that apply to this shared drive or items inside this shared drive.

The metadata for a file.

Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.

Additional information about the content of the file. These fields are never populated in responses.

A thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail.

Additional metadata about image media, if available.

Geographic location information stored in the image.

Contains details about the link URLs that clients are using to refer to this item.

Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.

Additional metadata about video media. This may not be available immediately upon upload.

A list of generated file IDs which can be provided in create requests.

A permission for a file. A permission grants a user, group, domain or the world access to a file or a folder hierarchy.

A list of permissions for a file.

Attributes

  • inherited (type: boolean(), default: nil) - Whether this permission is inherited. This field is always populated. This is an output-only field.
  • inheritedFrom (type: String.t, default: nil) - The ID of the item from which this permission is inherited. This is an output-only field.
  • permissionType (type: String.t, default: nil) - The permission type for this user. While new values may be added in future, the following are currently possible:
    • file
    • member
  • role (type: String.t, default: nil) - The primary role for this user. While new values may be added in the future, the following are currently possible:
    • organizer
    • fileOrganizer
    • writer
    • commenter
    • reader

Attributes

  • inherited (type: boolean(), default: nil) - Deprecated - use permissionDetails/inherited instead.
  • inheritedFrom (type: String.t, default: nil) - Deprecated - use permissionDetails/inheritedFrom instead.
  • role (type: String.t, default: nil) - Deprecated - use permissionDetails/role instead.
  • teamDrivePermissionType (type: String.t, default: nil) - Deprecated - use permissionDetails/permissionType instead.

A reply to a comment on a file.

A list of replies to a comment on a file.

The metadata for a revision to a file.

A list of revisions of a file.

Attributes

  • kind (type: String.t, default: drive#startPageToken) - Identifies what kind of resource this is. Value: the fixed string "drive#startPageToken".
  • startPageToken (type: String.t, default: nil) - The starting page token for listing changes.

Deprecated: use the drive collection instead.

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.

Capabilities the current user has on this Team Drive.

A set of restrictions that apply to this Team Drive or items inside this Team Drive.

Information about a Drive user.