class documentation
class LifecycleRule(pb_classes.Message): (source)
Constructor: LifecycleRule(initial_message, id, status, filter, ...)
Undocumented
Class |
|
Undocumented |
Method | __dir__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | abort |
Undocumented |
Method | expiration |
Undocumented |
Method | filter |
Undocumented |
Method | id |
Undocumented |
Method | noncurrent |
Undocumented |
Method | status |
Undocumented |
Constant | __PB2 |
Undocumented |
Constant | __PY |
Undocumented |
Class Variable | __mask |
Undocumented |
Property | abort |
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 |
Specifies when noncurrent object versions expire. It works only on a bucket that has versioning enabled (or suspended). |
Property | status |
Undocumented |
Inherited from Message
:
Class Method | get |
Undocumented |
Class Method | is |
Undocumented |
Class Method | is |
Undocumented |
Method | __repr__ |
Undocumented |
Method | check |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | is |
Undocumented |
Method | set |
Undocumented |
Method | which |
Undocumented |
Class Variable | __PB2 |
Undocumented |
Instance Variable | __pb2 |
Undocumented |
Method | _clear |
Undocumented |
Method | _get |
Undocumented |
Method | _set |
Undocumented |
Class Variable | __credentials |
Undocumented |
Class Variable | __default |
Undocumented |
Class Variable | __sensitive |
Undocumented |
Instance Variable | __recorded |
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):
(source)
¶
Undocumented
@abort_incomplete_multipart_upload.setter
def abort_incomplete_multipart_upload(self, value:
def abort_incomplete_multipart_upload(self, value:
LifecycleAbortIncompleteMultipartUpload | lifecycle_pb2.LifecycleAbortIncompleteMultipartUpload | None
):
(source)
¶
Undocumented
@expiration.setter
def expiration(self, value:
def expiration(self, value:
LifecycleExpiration | lifecycle_pb2.LifecycleExpiration | None
):
(source)
¶
Undocumented
@filter.setter
def filter(self, value:
def filter(self, value:
LifecycleFilter | lifecycle_pb2.LifecycleFilter | None
):
(source)
¶
Undocumented
@noncurrent_version_expiration.setter
def noncurrent_version_expiration(self, value:
def noncurrent_version_expiration(self, value:
LifecycleNoncurrentVersionExpiration | lifecycle_pb2.LifecycleNoncurrentVersionExpiration | None
):
(source)
¶
Undocumented
@status.setter
def status(self, value:
def status(self, value:
LifecycleRule.Status | lifecycle_pb2.LifecycleRule.Status | None
):
(source)
¶
Undocumented
Undocumented
Value |
|
Undocumented
Value |
|
@builtins.property
abort_incomplete_multipart_upload:
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.
Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.
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).