class documentation
class CapacityIntervalStatus(pb_classes.Message): (source)
Constructor: CapacityIntervalStatus(initial_message, container_id, region, resource_affinity, ...)
Capacity Interval status data.
| Class | |
No class docstring; 4/5 constants documented |
| Method | __dir__ |
Undocumented |
| Method | __init__ |
Create a wrapper around a protobuf message instance. |
| Method | container |
Undocumented |
| Method | end |
Undocumented |
| Method | quantity |
Undocumented |
| Method | reconciling |
Undocumented |
| Method | region |
Undocumented |
| Method | resource |
Undocumented |
| Method | service |
Undocumented |
| Method | start |
Undocumented |
| Method | state |
Undocumented |
| Constant | __PB2 |
Undocumented |
| Constant | __PY |
Undocumented |
| Class Variable | __mask |
Undocumented |
| Property | container |
Tenant ID for which the Capacity Interval is created. |
| Property | end |
End time of the Capacity Interval. |
| Property | quantity |
Resource quantity of the Capacity Interval. |
| Property | reconciling |
Shows that changes are in flight. |
| Property | region |
Name of the region where the Capacity Interval is created. Example: "eu-north1". |
| Property | resource |
Specification of the Capacity Interval. |
| Property | service |
Service for which the Capacity Interval is created. |
| Property | start |
Start time of the Capacity Interval. |
| Property | state |
State of the Capacity Interval. |
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. |
def __init__(self, initial_message:
message_1.Message | None = None, *, container_id: builtins.str | None | unset.UnsetType = unset.Unset, 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, quantity: builtins.int | None | unset.UnsetType = unset.Unset, start_time: timestamp_pb2.Timestamp | datetime.datetime | None | unset.UnsetType = unset.Unset, end_time: timestamp_pb2.Timestamp | datetime.datetime | None | unset.UnsetType = unset.Unset, state: CapacityIntervalStatus.State | capacity_interval_pb2.CapacityIntervalStatus.State | 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. |
@end_time.setter
def end_time(self, value:
def end_time(self, value:
timestamp_pb2.Timestamp | datetime.datetime | None):
(source)
¶
Undocumented
@resource_affinity.setter
def resource_affinity(self, value:
def resource_affinity(self, value:
ResourceAffinity | resource_affinity_pb2.ResourceAffinity | None):
(source)
¶
Undocumented
@start_time.setter
def start_time(self, value:
def start_time(self, value:
timestamp_pb2.Timestamp | datetime.datetime | None):
(source)
¶
Undocumented
@state.setter
def state(self, value:
def state(self, value:
CapacityIntervalStatus.State | capacity_interval_pb2.CapacityIntervalStatus.State | None):
(source)
¶
Undocumented
Undocumented
| Value |
|
Undocumented
| Value |
|