class documentation

Capacity Block Group status.

Class __OneOfClass__next_change_to__ Undocumented
Class __OneOfClass__next_change_to_next_change_to__ Undocumented
Class State Shows the state of a Capacity Block Group with respect to its quota.
Class UsageState 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_continuous_interval.setter Undocumented
Method current_limit.setter Undocumented
Method next_change_at.setter Undocumented
Method next_change_to.setter Undocumented
Method reconciling.setter Undocumented
Method region.setter Undocumented
Method resource_affinity.setter Undocumented
Method service.setter Undocumented
Method state.setter Undocumented
Method usage.setter Undocumented
Method usage_percentage.setter Undocumented
Method usage_state.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property current_continuous_interval 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_limit Capacity Block Group current quota limit.
Property next_change_at Time of the next Capacity Block Group quota change.
Property next_change_to 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_affinity 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_percentage Capacity Block Group quota usage percentage.
Property usage_state Capacity Block Group quota usage state.
Property _next_change_to Undocumented

Inherited from Message:

Class Method get_descriptor Return the protobuf descriptor for this message class.
Class Method is_credentials Return True if the field contains credentials.
Class Method is_sensitive Return True if the field is marked as sensitive.
Method __repr__ Return a human-readable representation of the message, sanitizing sensitive fields.
Method check_presence Check explicit presence for a field in the protobuf message.
Method get_full_update_reset_mask Build a reset mask for a full update of this message.
Method get_mask Return the tracked reset mask.
Method is_default Return True if a field equals its default value.
Method set_mask Replace the tracked reset mask.
Method which_field_in_oneof Return the set field name for a given oneof.
Instance Variable __PB2_CLASS__ Protobuf message class associated with this wrapper.
Instance Variable __pb2_message__ Underlying protobuf message instance.
Method _clear_field Clear a field and record it in the reset mask.
Method _get_field Return a field value with optional wrapping and presence handling.
Method _set_field Set a field value and update the reset mask.
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Mask tracking fields cleared or set to default.
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

def __init__(self, initial_message: 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
AttributeErrorIf the wrapper is missing required class metadata.
@current_continuous_interval.setter
def current_continuous_interval(self, value: CurrentContinuousInterval | capacity_block_group_pb2.CurrentContinuousInterval | None): (source)

Undocumented

@current_limit.setter
def current_limit(self, value: builtins.int | None): (source)

Undocumented

@next_change_at.setter
def next_change_at(self, value: timestamp_pb2.Timestamp | datetime.datetime | None): (source)

Undocumented

@next_change_to.setter
def next_change_to(self, value: builtins.int | None): (source)

Undocumented

@reconciling.setter
def reconciling(self, value: builtins.bool | None): (source)

Undocumented

@region.setter
def region(self, value: builtins.str | None): (source)

Undocumented

@resource_affinity.setter
def resource_affinity(self, value: ResourceAffinity | resource_affinity_pb2.ResourceAffinity | None): (source)

Undocumented

@service.setter
def service(self, value: builtins.str | None): (source)

Undocumented

@state.setter
def state(self, value: CapacityBlockGroupStatus.State | capacity_block_group_pb2.CapacityBlockGroupStatus.State | None): (source)

Undocumented

@usage.setter
def usage(self, value: builtins.int | None): (source)

Undocumented

@usage_percentage.setter
def usage_percentage(self, value: builtins.str | None): (source)

Undocumented

@usage_state.setter
def usage_state(self, value: CapacityBlockGroupStatus.UsageState | capacity_block_group_pb2.CapacityBlockGroupStatus.UsageState | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.capacity.v1.Capacity
BlockGroupStatus',
                                                   capacity_block_group_pb2.DESCRIPTOR
,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'region': 'region',
 'resource_affinity': 'resource_affinity',
 'service': 'service',
 'state': 'state',
 'current_limit': 'current_limit',
 'usage': 'usage',
 'usage_percentage': 'usage_percentage',
...
@builtins.property
current_continuous_interval: CurrentContinuousInterval = (source)

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.

@builtins.property
current_limit: builtins.int = (source)

Capacity Block Group current quota limit.

@builtins.property
next_change_at: datetime.datetime = (source)

Time of the next Capacity Block Group quota change.

@builtins.property
next_change_to: builtins.int | None = (source)

The next expected change of the Capacity Block Group quota limit. the quota limit change that is currently performed.

@builtins.property
reconciling: builtins.bool = (source)

Shows that changes are in flight.

@builtins.property
region: builtins.str = (source)

Name of the region where the Capacity Block Group is allocated. Example: "eu-north1".

@builtins.property
resource_affinity: ResourceAffinity = (source)

Specification of the Capacity Block Group.

@builtins.property
service: builtins.str = (source)

Service for which the Capacity Block Group is allocated.

Capacity Block Group state with respect to quota allocation.

@builtins.property
usage: builtins.int = (source)

Capacity Block Group quota usage.

@builtins.property
usage_percentage: builtins.str = (source)

Capacity Block Group quota usage percentage.

@builtins.property
usage_state: CapacityBlockGroupStatus.UsageState = (source)

Capacity Block Group quota usage state.

Undocumented