class documentation
class QuotaAllowanceStatus(pb_classes.Message): (source)
Constructor: QuotaAllowanceStatus(initial_message, state, usage, service, ...)
Undocumented
Class |
|
No class docstring; 3/5 constants documented |
Class |
|
No class docstring; 3/5 constants documented |
Method | __dir__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | description |
Undocumented |
Method | service |
Undocumented |
Method | service |
Undocumented |
Method | state |
Undocumented |
Method | unit |
Undocumented |
Method | usage |
Undocumented |
Method | usage |
Undocumented |
Method | usage |
Undocumented |
Constant | __PB2 |
Undocumented |
Constant | __PY |
Undocumented |
Class Variable | __mask |
Undocumented |
Property | description |
Human-readable description of the quota. Example: "Total RAM across VMs". |
Property | service |
Service in which the quota is allocated. Example: "mk8s". |
Property | service |
Human-readable name of the service managing the quota. Example: "Managed Kubernetes®". |
Property | state |
Current state of the quota. |
Property | unit |
Quota unit. Example: "byte". |
Property | usage |
Current quota usage. |
Property | usage |
Current quota usage as a percentage. Values range from 0.0 to 1.0, representing 0% to 100%. Values can exceed 1.0 if usage exceeds the limit. Example: "0.12". |
Property | usage |
Current state of the quota usage. |
Inherited from Message
:
Class Method | get |
Undocumented |
Class Method | is |
Undocumented |
Class Method | is |
Undocumented |
Method | __repr__ |
Undocumented |
Method | check |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | is |
Undocumented |
Method | set |
Undocumented |
Method | which |
Undocumented |
Class Variable | __PB2 |
Undocumented |
Instance Variable | __pb2 |
Undocumented |
Method | _clear |
Undocumented |
Method | _get |
Undocumented |
Method | _set |
Undocumented |
Class Variable | __credentials |
Undocumented |
Class Variable | __default |
Undocumented |
Class Variable | __sensitive |
Undocumented |
Instance Variable | __recorded |
Undocumented |
def __init__(self, initial_message:
message_1.Message | None
= None, *, state: QuotaAllowanceStatus.State | quota_allowance_pb2.QuotaAllowanceStatus.State | None | unset.UnsetType
= unset.Unset, usage: builtins.int | None | unset.UnsetType
= unset.Unset, service: builtins.str | None | unset.UnsetType
= unset.Unset, description: builtins.str | None | unset.UnsetType
= unset.Unset, service_description: builtins.str | None | unset.UnsetType
= unset.Unset, unit: builtins.str | None | unset.UnsetType
= unset.Unset, usage_percentage: builtins.str | None | unset.UnsetType
= unset.Unset, usage_state: QuotaAllowanceStatus.UsageState | quota_allowance_pb2.QuotaAllowanceStatus.UsageState | None | unset.UnsetType
= unset.Unset):
(source)
¶
Undocumented
@state.setter
def state(self, value:
def state(self, value:
QuotaAllowanceStatus.State | quota_allowance_pb2.QuotaAllowanceStatus.State | None
):
(source)
¶
Undocumented
@usage_state.setter
def usage_state(self, value:
def usage_state(self, value:
QuotaAllowanceStatus.UsageState | quota_allowance_pb2.QuotaAllowanceStatus.UsageState | None
):
(source)
¶
Undocumented
Undocumented
Value |
|
Undocumented
Value |
|
Current quota usage as a percentage. Values range from 0.0 to 1.0, representing 0% to 100%. Values can exceed 1.0 if usage exceeds the limit. Example: "0.12".