public static final class About.StorageQuota
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
StorageQuota() |
Modifier and Type | Method and Description |
---|---|
About.StorageQuota |
clone() |
Long |
getLimit()
The usage limit, if applicable.
|
Long |
getUsage()
The total usage across all services.
|
Long |
getUsageInDrive()
The usage by all files in Google Drive.
|
Long |
getUsageInDriveTrash()
The usage by trashed files in Google Drive.
|
About.StorageQuota |
set(String fieldName,
Object value) |
About.StorageQuota |
setLimit(Long limit)
The usage limit, if applicable.
|
About.StorageQuota |
setUsage(Long usage)
The total usage across all services.
|
About.StorageQuota |
setUsageInDrive(Long usageInDrive)
The usage by all files in Google Drive.
|
About.StorageQuota |
setUsageInDriveTrash(Long usageInDriveTrash)
The usage by trashed files in Google Drive.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getLimit()
null
for nonepublic About.StorageQuota setLimit(Long limit)
limit
- limit or null
for nonepublic Long getUsage()
null
for nonepublic About.StorageQuota setUsage(Long usage)
usage
- usage or null
for nonepublic Long getUsageInDrive()
null
for nonepublic About.StorageQuota setUsageInDrive(Long usageInDrive)
usageInDrive
- usageInDrive or null
for nonepublic Long getUsageInDriveTrash()
null
for nonepublic About.StorageQuota setUsageInDriveTrash(Long usageInDriveTrash)
usageInDriveTrash
- usageInDriveTrash or null
for nonepublic About.StorageQuota set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public About.StorageQuota clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.