Documentation
¶
Overview ¶
Package quota implements the `gplay quota` command family.
Quota tracking is derived from the audit log: every gplay invocation that made an API call is one tick against Google Play's documented quota windows (daily and per-minute). Limits match the publicly documented values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuotaCommand ¶
QuotaCommand builds the root `gplay quota` command.
Types ¶
type CommandCount ¶
CommandCount is a single bucket in the top-commands breakdown.
type Status ¶
type Status struct {
DailyCount int `json:"daily_count"`
DailyLimit int `json:"daily_limit"`
DailyRatio float64 `json:"daily_ratio"`
DailyWarning bool `json:"daily_warning"`
MinuteCount int `json:"minute_count"`
MinuteLimit int `json:"minute_limit"`
MinuteRatio float64 `json:"minute_ratio"`
MinuteWarning bool `json:"minute_warning"`
WindowStart time.Time `json:"window_start"`
WindowEnd time.Time `json:"window_end"`
TopCommands []CommandCount `json:"top_commands,omitempty"`
AuditDisabled bool `json:"audit_disabled,omitempty"`
AuditLogPath string `json:"audit_log_path,omitempty"`
TotalEntries int `json:"total_entries"`
ErrorRateRatio float64 `json:"error_rate_ratio"`
}
Status is the computed quota view returned by `quota status`.
Click to show internal directories.
Click to hide internal directories.