class documentation

Undocumented

Method __dir__ Undocumented
Method __init__ Undocumented
Method metadata.setter Undocumented
Method spec.setter Undocumented
Method status.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property metadata Metadata for the Allocation. `metadata.parent_id` represents IAM Container.
Property spec Specifications for the allocation, detailing its name and IP configuration.
Property status Contains the current status of the allocation, indicating its state and any additional details.

Inherited from Message:

Class Method get_descriptor Undocumented
Class Method is_credentials Undocumented
Class Method is_sensitive Undocumented
Method __repr__ Undocumented
Method check_presence Undocumented
Method get_full_update_reset_mask Undocumented
Method get_mask Undocumented
Method is_default Undocumented
Method set_mask Undocumented
Method which_field_in_oneof Undocumented
Class Variable __PB2_CLASS__ Undocumented
Instance Variable __pb2_message__ Undocumented
Method _clear_field Undocumented
Method _get_field Undocumented
Method _set_field Undocumented
Class Variable __credentials_fields Undocumented
Class Variable __default Undocumented
Class Variable __sensitive_fields Undocumented
Instance Variable __recorded_reset_mask Undocumented
def __dir__(self) -> abc.Iterable[builtins.str]: (source)

Undocumented

def __init__(self, initial_message: message_1.Message | None = None, *, metadata: v1_1.ResourceMetadata | metadata_pb2.ResourceMetadata | None | unset.UnsetType = unset.Unset, spec: AllocationSpec | allocation_pb2.AllocationSpec | None | unset.UnsetType = unset.Unset, status: AllocationStatus | allocation_pb2.AllocationStatus | None | unset.UnsetType = unset.Unset): (source)
@metadata.setter
def metadata(self, value: v1_1.ResourceMetadata | metadata_pb2.ResourceMetadata | None): (source)

Undocumented

@spec.setter
def spec(self, value: AllocationSpec | allocation_pb2.AllocationSpec | None): (source)

Undocumented

@status.setter
def status(self, value: AllocationStatus | allocation_pb2.AllocationStatus | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.vpc.v1alpha1.Allocat
ion',
                                                   allocation_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'metadata': 'metadata', 'spec': 'spec', 'status': 'status'}
@builtins.property
metadata: v1_1.ResourceMetadata = (source)

Metadata for the Allocation. `metadata.parent_id` represents IAM Container.

@builtins.property
spec: AllocationSpec = (source)

Specifications for the allocation, detailing its name and IP configuration.

@builtins.property
status: AllocationStatus = (source)

Contains the current status of the allocation, indicating its state and any additional details.