class Google::Apis::DriveV3::About::StorageQuota

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

Attributes

limit[RW]

The usage limit, if applicable. This will not be present if the user has unlimited storage. Corresponds to the JSON property `limit` @return [String]

usage[RW]

The total usage across all services. Corresponds to the JSON property `usage` @return [String]

usage_in_drive[RW]

The usage by all files in Google Drive. Corresponds to the JSON property `usageInDrive` @return [String]

usage_in_drive_trash[RW]

The usage by trashed files in Google Drive. Corresponds to the JSON property `usageInDriveTrash` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/drive_v3/classes.rb, line 117
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/drive_v3/classes.rb, line 122
def update!(**args)
  @limit = args[:limit] if args.key?(:limit)
  @usage = args[:usage] if args.key?(:usage)
  @usage_in_drive = args[:usage_in_drive] if args.key?(:usage_in_drive)
  @usage_in_drive_trash = args[:usage_in_drive_trash] if args.key?(:usage_in_drive_trash)
end