View source on GitHub |
Parses a string representing the storage bytes limit.
google.appengine.api.queueinfo.ParseTotalStorageLimit(
limit
)
Optional limit suffixes are:
- `B` (bytes)
- `K` (kilobytes)
- `M` (megabytes)
- `G` (gigabytes)
- `T` (terabytes)
Args | |
---|---|
limit
|
The string that specifies the storage bytes limit. |
Returns | |
---|---|
An integer that represents the storage limit in bytes. |
Raises | |
---|---|
MalformedQueueConfiguration
|
If the limit argument isn't a valid Python double followed by an optional suffix. |