class CapacityBlockGroupStatus(pb_classes.Message): (source)
Constructor: CapacityBlockGroupStatus(initial_message, region, resource_affinity, service, ...)
Capacity Block Group status.
| Class | __ |
Undocumented |
| Class | __ |
Undocumented |
| Class | |
Shows the state of a Capacity Block Group with respect to its quota. |
| Class | |
Shows the usage state if a Capacity Block Group quota. |
| Method | __dir__ |
Undocumented |
| Method | __init__ |
Create a wrapper around a protobuf message instance. |
| Method | current |
Undocumented |
| Method | current |
Undocumented |
| Method | next |
Undocumented |
| Method | next |
Undocumented |
| Method | reconciling |
Undocumented |
| Method | region |
Undocumented |
| Method | resource |
Undocumented |
| Method | service |
Undocumented |
| Method | state |
Undocumented |
| Method | usage |
Undocumented |
| Method | usage |
Undocumented |
| Method | usage |
Undocumented |
| Constant | __PB2 |
Undocumented |
| Constant | __PY |
Undocumented |
| Class Variable | __mask |
Undocumented |
| Property | current |
Current concatenation of non-zero Capacity Intervals that overlap or follow each other without a break. If all Capacity Intervals are in the past, returns the last Continuous Interval. If all Capacity Intervals are in the future, returns the first Continuous Interval scheduled. |
| Property | current |
Capacity Block Group current quota limit. |
| Property | next |
Time of the next Capacity Block Group quota change. |
| Property | next |
The next expected change of the Capacity Block Group quota limit. the quota limit change that is currently performed. |
| Property | reconciling |
Shows that changes are in flight. |
| Property | region |
Name of the region where the Capacity Block Group is allocated. Example: "eu-north1". |
| Property | resource |
Specification of the Capacity Block Group. |
| Property | service |
Service for which the Capacity Block Group is allocated. |
| Property | state |
Capacity Block Group state with respect to quota allocation. |
| Property | usage |
Capacity Block Group quota usage. |
| Property | usage |
Capacity Block Group quota usage percentage. |
| Property | usage |
Capacity Block Group quota usage state. |
| Property | _next |
Undocumented |
Inherited from Message:
| Class Method | get |
Return the protobuf descriptor for this message class. |
| Class Method | is |
Return True if the field contains credentials. |
| Class Method | is |
Return True if the field is marked as sensitive. |
| Method | __repr__ |
Return a human-readable representation of the message, sanitizing sensitive fields. |
| Method | check |
Check explicit presence for a field in the protobuf message. |
| Method | get |
Build a reset mask for a full update of this message. |
| Method | get |
Return the tracked reset mask. |
| Method | is |
Return True if a field equals its default value. |
| Method | set |
Replace the tracked reset mask. |
| Method | which |
Return the set field name for a given oneof. |
| Instance Variable | __PB2 |
Protobuf message class associated with this wrapper. |
| Instance Variable | __pb2 |
Underlying protobuf message instance. |
| Method | _clear |
Clear a field and record it in the reset mask. |
| Method | _get |
Return a field value with optional wrapping and presence handling. |
| Method | _set |
Set a field value and update the reset mask. |
| Class Variable | __credentials |
Undocumented |
| Class Variable | __default |
Undocumented |
| Class Variable | __sensitive |
Undocumented |
| Instance Variable | __recorded |
Mask tracking fields cleared or set to default. |
message_1.Message | None = None, *, region: builtins.str | None | unset.UnsetType = unset.Unset, resource_affinity: ResourceAffinity | resource_affinity_pb2.ResourceAffinity | None | unset.UnsetType = unset.Unset, service: builtins.str | None | unset.UnsetType = unset.Unset, state: CapacityBlockGroupStatus.State | capacity_block_group_pb2.CapacityBlockGroupStatus.State | None | unset.UnsetType = unset.Unset, current_limit: builtins.int | None | unset.UnsetType = unset.Unset, usage: builtins.int | None | unset.UnsetType = unset.Unset, usage_percentage: builtins.str | None | unset.UnsetType = unset.Unset, next_change_at: timestamp_pb2.Timestamp | datetime.datetime | None | unset.UnsetType = unset.Unset, next_change_to: builtins.int | None | unset.UnsetType = unset.Unset, current_continuous_interval: CurrentContinuousInterval | capacity_block_group_pb2.CurrentContinuousInterval | None | unset.UnsetType = unset.Unset, usage_state: CapacityBlockGroupStatus.UsageState | capacity_block_group_pb2.CapacityBlockGroupStatus.UsageState | None | unset.UnsetType = unset.Unset, reconciling: builtins.bool | None | unset.UnsetType = unset.Unset):
(source)
¶
Create a wrapper around a protobuf message instance.
| Raises | |
AttributeError | If the wrapper is missing required class metadata. |
def current_continuous_interval(self, value:
CurrentContinuousInterval | capacity_block_group_pb2.CurrentContinuousInterval | None):
(source)
¶
Undocumented
def next_change_at(self, value:
timestamp_pb2.Timestamp | datetime.datetime | None):
(source)
¶
Undocumented
def resource_affinity(self, value:
ResourceAffinity | resource_affinity_pb2.ResourceAffinity | None):
(source)
¶
Undocumented
def state(self, value:
CapacityBlockGroupStatus.State | capacity_block_group_pb2.CapacityBlockGroupStatus.State | None):
(source)
¶
Undocumented
def usage_state(self, value:
CapacityBlockGroupStatus.UsageState | capacity_block_group_pb2.CapacityBlockGroupStatus.UsageState | None):
(source)
¶
Undocumented
Undocumented
| Value |
|
Undocumented
| Value |
|
Current concatenation of non-zero Capacity Intervals that overlap or follow each other without a break. If all Capacity Intervals are in the past, returns the last Continuous Interval. If all Capacity Intervals are in the future, returns the first Continuous Interval scheduled.
The next expected change of the Capacity Block Group quota limit. the quota limit change that is currently performed.
_next_change_to:
__OneOfClass__next_change_to_next_change_to__ | None =
(source)
¶
Undocumented