class Google::Apis::DriveV3::About
Information about the user, the user's Drive
, and system capabilities.
Attributes
Whether the user has installed the requesting app. Corresponds to the JSON property `appInstalled` @return [Boolean]
Whether the user has installed the requesting app. Corresponds to the JSON property `appInstalled` @return [Boolean]
Whether the user can create shared drives. Corresponds to the JSON property `canCreateDrives` @return [Boolean]
Whether the user can create shared drives. Corresponds to the JSON property `canCreateDrives` @return [Boolean]
Deprecated - use canCreateDrives instead. Corresponds to the JSON property `canCreateTeamDrives` @return [Boolean]
Deprecated - use canCreateDrives instead. Corresponds to the JSON property `canCreateTeamDrives` @return [Boolean]
A list of themes that are supported for shared drives. Corresponds to the JSON property `driveThemes` @return [Array<Google::Apis::DriveV3::About::DriveTheme>]
A map of source MIME type to possible targets for all supported exports. Corresponds to the JSON property `exportFormats` @return [Hash<String,Array<String>>]
The currently supported folder colors as RGB hex strings. Corresponds to the JSON property `folderColorPalette` @return [Array<String>]
A map of source MIME type to possible targets for all supported imports. Corresponds to the JSON property `importFormats` @return [Hash<String,Array<String>>]
Identifies what kind of resource this is. Value: the fixed string “drive#about” . Corresponds to the JSON property `kind` @return [String]
A map of maximum import sizes by MIME type, in bytes. Corresponds to the JSON property `maxImportSizes` @return [Hash<String,Fixnum>]
The maximum upload size in bytes. Corresponds to the JSON property `maxUploadSize` @return [Fixnum]
The user's storage quota limits and usage. All fields are measured in bytes. Corresponds to the JSON property `storageQuota` @return [Google::Apis::DriveV3::About::StorageQuota]
Deprecated - use driveThemes instead. Corresponds to the JSON property `teamDriveThemes` @return [Array<Google::Apis::DriveV3::About::TeamDriveTheme>]
Information about a Drive
user. Corresponds to the JSON property `user` @return [Google::Apis::DriveV3::User]
Public Class Methods
# File lib/google/apis/drive_v3/classes.rb, line 98 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v3/classes.rb, line 103 def update!(**args) @app_installed = args[:app_installed] if args.key?(:app_installed) @can_create_drives = args[:can_create_drives] if args.key?(:can_create_drives) @can_create_team_drives = args[:can_create_team_drives] if args.key?(:can_create_team_drives) @drive_themes = args[:drive_themes] if args.key?(:drive_themes) @export_formats = args[:export_formats] if args.key?(:export_formats) @folder_color_palette = args[:folder_color_palette] if args.key?(:folder_color_palette) @import_formats = args[:import_formats] if args.key?(:import_formats) @kind = args[:kind] if args.key?(:kind) @max_import_sizes = args[:max_import_sizes] if args.key?(:max_import_sizes) @max_upload_size = args[:max_upload_size] if args.key?(:max_upload_size) @storage_quota = args[:storage_quota] if args.key?(:storage_quota) @team_drive_themes = args[:team_drive_themes] if args.key?(:team_drive_themes) @user = args[:user] if args.key?(:user) end