class

GoogleDrive::AboutStorageQuota

Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object

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

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, limit : String | Nil = nil, usage : String | Nil = nil, usage_in_drive : String | Nil = nil, usage_in_drive_trash : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

limit

The usage limit, if applicable. This will not be present if the user has unlimited storage.

Source
limit=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] limit Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
usage

The total usage across all services.

Source
usage=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] usage Object to be assigned

Source
usage_in_drive

The usage by all files in Google Drive.

Source
usage_in_drive=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] usage_in_drive Object to be assigned

Source
usage_in_drive_trash

The usage by trashed files in Google Drive.

Source
usage_in_drive_trash=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] usage_in_drive_trash Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source