class documentation

class ResourceAdviceStatus__Availability__DataState(Enum): (source)

View In Hierarchy

Shows if data could be trusted.

Constant __PROTO_DESCRIPTOR__ Protobuf enum descriptor from the registry.
Constant __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Constant DATA_STATE_FRESH Data is relevant and reflects current state of the system.
Constant DATA_STATE_STALE Data is not relevant anymore as it was fetched long time ago.
Constant DATA_STATE_UNKNOWN Failed to retrieve data.
Constant DATA_STATE_UNSPECIFIED Shouldn't ever happen.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
__PROTO_DESCRIPTOR__ = (source)

Protobuf enum descriptor from the registry.

Value
REGISTRY.enum_descriptor('nebius.capacity.v1.ResourceAdviceStatus.Availability.D
ataState')
__PROTO_FULL_NAME__: str = (source)

Fully qualified protobuf enum name.

Value
'nebius.capacity.v1.ResourceAdviceStatus.Availability.DataState'
DATA_STATE_FRESH: int = (source)

Data is relevant and reflects current state of the system.

Value
1
DATA_STATE_STALE: int = (source)

Data is not relevant anymore as it was fetched long time ago.

Value
2
DATA_STATE_UNKNOWN: int = (source)

Failed to retrieve data.

Value
10
DATA_STATE_UNSPECIFIED: int = (source)

Shouldn't ever happen.

Value
0