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]
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>>]
This is always 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,String>]
The maximum upload size in bytes. Corresponds to the JSON property `maxUploadSize` @return [String]
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]
Information about a Drive user. Corresponds to the JSON property `user` @return [Google::Apis::DriveV3::User]
Public Class Methods
# File generated/google/apis/drive_v3/classes.rb, line 75 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/drive_v3/classes.rb, line 80 def update!(**args) @app_installed = args[:app_installed] if args.key?(:app_installed) @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) @user = args[:user] if args.key?(:user) end