class documentation

Undocumented

Class Status Undocumented
Method __dir__ Undocumented
Method __init__ Create a wrapper around a protobuf message instance.
Method abort_incomplete_multipart_upload.setter Undocumented
Method expiration.setter Undocumented
Method filter.setter Undocumented
Method id.setter Undocumented
Method noncurrent_version_expiration.setter Undocumented
Method noncurrent_version_transition.setter Undocumented
Method status.setter Undocumented
Method transition.setter Undocumented
Constant __PB2_DESCRIPTOR__ Undocumented
Constant __PY_TO_PB2__ Undocumented
Class Variable __mask_functions__ Undocumented
Property abort_incomplete_multipart_upload Specifies the days since the initiation of an incomplete multipart upload that the system will wait before permanently removing all parts of the upload.
Property expiration Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.
Property filter The Filter is used to identify objects that a Lifecycle Rule applies to. The Lifecycle Rule will apply to any object matching all of the predicates configured inside (using logical AND).
Property id Unique identifier for the rule per configuration. The value cannot be longer than 255 characters.
Property noncurrent_version_expiration Specifies when noncurrent object versions expire. It works only on a bucket that has versioning enabled (or suspended).
Property noncurrent_version_transition Specifies the transition for the lifecycle of a noncurrent object. It works only on a bucket that has versioning enabled (or suspended).
Property status Undocumented
Property transition Specifies the transition for the lifecycle of an object in the form of date or days and target storage class to transit object to.

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, *, id: builtins.str | None | unset.UnsetType = unset.Unset, status: LifecycleRule.Status | lifecycle_pb2.LifecycleRule.Status | None | unset.UnsetType = unset.Unset, filter: LifecycleFilter | lifecycle_pb2.LifecycleFilter | None | unset.UnsetType = unset.Unset, expiration: LifecycleExpiration | lifecycle_pb2.LifecycleExpiration | None | unset.UnsetType = unset.Unset, noncurrent_version_expiration: LifecycleNoncurrentVersionExpiration | lifecycle_pb2.LifecycleNoncurrentVersionExpiration | None | unset.UnsetType = unset.Unset, abort_incomplete_multipart_upload: LifecycleAbortIncompleteMultipartUpload | lifecycle_pb2.LifecycleAbortIncompleteMultipartUpload | None | unset.UnsetType = unset.Unset, transition: LifecycleTransition | lifecycle_pb2.LifecycleTransition | None | unset.UnsetType = unset.Unset, noncurrent_version_transition: LifecycleNoncurrentVersionTransition | lifecycle_pb2.LifecycleNoncurrentVersionTransition | None | unset.UnsetType = unset.Unset): (source)

Create a wrapper around a protobuf message instance.

Raises
AttributeErrorIf the wrapper is missing required class metadata.
@abort_incomplete_multipart_upload.setter
def abort_incomplete_multipart_upload(self, value: LifecycleAbortIncompleteMultipartUpload | lifecycle_pb2.LifecycleAbortIncompleteMultipartUpload | None): (source)

Undocumented

@expiration.setter
def expiration(self, value: LifecycleExpiration | lifecycle_pb2.LifecycleExpiration | None): (source)

Undocumented

@filter.setter
def filter(self, value: LifecycleFilter | lifecycle_pb2.LifecycleFilter | None): (source)

Undocumented

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

Undocumented

@noncurrent_version_expiration.setter
def noncurrent_version_expiration(self, value: LifecycleNoncurrentVersionExpiration | lifecycle_pb2.LifecycleNoncurrentVersionExpiration | None): (source)

Undocumented

@noncurrent_version_transition.setter
def noncurrent_version_transition(self, value: LifecycleNoncurrentVersionTransition | lifecycle_pb2.LifecycleNoncurrentVersionTransition | None): (source)

Undocumented

@status.setter
def status(self, value: LifecycleRule.Status | lifecycle_pb2.LifecycleRule.Status | None): (source)

Undocumented

@transition.setter
def transition(self, value: LifecycleTransition | lifecycle_pb2.LifecycleTransition | None): (source)

Undocumented

__PB2_DESCRIPTOR__ = (source)

Undocumented

Value
descriptor.DescriptorWrap[descriptor_1.Descriptor]('.nebius.storage.v1.Lifecycle
Rule',
                                                   lifecycle_pb2.DESCRIPTOR,
                                                   descriptor_1.Descriptor)
__PY_TO_PB2__: builtins.dict[builtins.str, builtins.str] = (source)

Undocumented

Value
{'id': 'id',
 'status': 'status',
 'filter': 'filter',
 'expiration': 'expiration',
 'noncurrent_version_expiration': 'noncurrent_version_expiration',
 'abort_incomplete_multipart_upload': 'abort_incomplete_multipart_upload',
 'transition': 'transition',
...
@builtins.property
abort_incomplete_multipart_upload: LifecycleAbortIncompleteMultipartUpload = (source)

Specifies the days since the initiation of an incomplete multipart upload that the system will wait before permanently removing all parts of the upload.

@builtins.property
expiration: LifecycleExpiration = (source)

Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.

@builtins.property
filter: LifecycleFilter = (source)

The Filter is used to identify objects that a Lifecycle Rule applies to. The Lifecycle Rule will apply to any object matching all of the predicates configured inside (using logical AND).

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

Unique identifier for the rule per configuration. The value cannot be longer than 255 characters.

@builtins.property
noncurrent_version_expiration: LifecycleNoncurrentVersionExpiration = (source)

Specifies when noncurrent object versions expire. It works only on a bucket that has versioning enabled (or suspended).

@builtins.property
noncurrent_version_transition: LifecycleNoncurrentVersionTransition = (source)

Specifies the transition for the lifecycle of a noncurrent object. It works only on a bucket that has versioning enabled (or suspended).

@builtins.property
status: LifecycleRule.Status = (source)

Undocumented

@builtins.property
transition: LifecycleTransition = (source)

Specifies the transition for the lifecycle of an object in the form of date or days and target storage class to transit object to.