public static final class About.StorageQuota
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
StorageQuota() |
Modifier and Type | Method and Description |
---|---|
About.StorageQuota |
clone() |
java.lang.Long |
getLimit()
The usage limit, if applicable.
|
java.lang.Long |
getUsage()
The total usage across all services.
|
java.lang.Long |
getUsageInDrive()
The usage by all files in Google Drive.
|
java.lang.Long |
getUsageInDriveTrash()
The usage by trashed files in Google Drive.
|
About.StorageQuota |
set(java.lang.String fieldName,
java.lang.Object value) |
About.StorageQuota |
setLimit(java.lang.Long limit)
The usage limit, if applicable.
|
About.StorageQuota |
setUsage(java.lang.Long usage)
The total usage across all services.
|
About.StorageQuota |
setUsageInDrive(java.lang.Long usageInDrive)
The usage by all files in Google Drive.
|
About.StorageQuota |
setUsageInDriveTrash(java.lang.Long usageInDriveTrash)
The usage by trashed files in Google Drive.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Long getLimit()
null
for nonepublic About.StorageQuota setLimit(java.lang.Long limit)
limit
- limit or null
for nonepublic java.lang.Long getUsage()
null
for nonepublic About.StorageQuota setUsage(java.lang.Long usage)
usage
- usage or null
for nonepublic java.lang.Long getUsageInDrive()
null
for nonepublic About.StorageQuota setUsageInDrive(java.lang.Long usageInDrive)
usageInDrive
- usageInDrive or null
for nonepublic java.lang.Long getUsageInDriveTrash()
null
for nonepublic About.StorageQuota setUsageInDriveTrash(java.lang.Long usageInDriveTrash)
usageInDriveTrash
- usageInDriveTrash or null
for nonepublic About.StorageQuota set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public About.StorageQuota clone()
clone
in class com.google.api.client.json.GenericJson