View Source GoogleApi.Drive.V3.Model.About (google_api_drive v0.27.0)

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

Attributes

  • appInstalled (type: boolean(), default: nil) - Whether the user has installed the requesting app.
  • canCreateDrives (type: boolean(), default: nil) - Whether the user can create shared drives.
  • canCreateTeamDrives (type: boolean(), default: nil) - Deprecated: Use canCreateDrives instead.
  • driveThemes (type: list(GoogleApi.Drive.V3.Model.AboutDriveThemes.t), default: nil) - A list of themes that are supported for shared drives.
  • exportFormats (type: map(), default: nil) - A map of source MIME type to possible targets for all supported exports.
  • folderColorPalette (type: list(String.t), default: nil) - The currently supported folder colors as RGB hex strings.
  • importFormats (type: map(), default: nil) - A map of source MIME type to possible targets for all supported imports.
  • kind (type: String.t, default: drive#about) - Identifies what kind of resource this is. Value: the fixed string "drive#about".
  • maxImportSizes (type: map(), default: nil) - A map of maximum import sizes by MIME type, in bytes.
  • maxUploadSize (type: String.t, default: nil) - The maximum upload size in bytes.
  • storageQuota (type: GoogleApi.Drive.V3.Model.AboutStorageQuota.t, default: nil) - The user's storage quota limits and usage. All fields are measured in bytes.
  • teamDriveThemes (type: list(GoogleApi.Drive.V3.Model.AboutTeamDriveThemes.t), default: nil) - Deprecated: Use driveThemes instead.
  • user (type: GoogleApi.Drive.V3.Model.User.t, default: nil) - The authenticated user.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Drive.V3.Model.About{
  appInstalled: boolean() | nil,
  canCreateDrives: boolean() | nil,
  canCreateTeamDrives: boolean() | nil,
  driveThemes: [GoogleApi.Drive.V3.Model.AboutDriveThemes.t()] | nil,
  exportFormats: map() | nil,
  folderColorPalette: [String.t()] | nil,
  importFormats: map() | nil,
  kind: String.t() | nil,
  maxImportSizes: map() | nil,
  maxUploadSize: String.t() | nil,
  storageQuota: GoogleApi.Drive.V3.Model.AboutStorageQuota.t() | nil,
  teamDriveThemes: [GoogleApi.Drive.V3.Model.AboutTeamDriveThemes.t()] | nil,
  user: GoogleApi.Drive.V3.Model.User.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.