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 | noncurrent |
Undocumented |
Method | status |
Undocumented |
Method | transition |
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 | noncurrent |
Spicifies 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 |
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 |
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)
¶
Undocumented
LifecycleAbortIncompleteMultipartUpload | lifecycle_pb2.LifecycleAbortIncompleteMultipartUpload | None
):
(source)
¶
Undocumented
LifecycleExpiration | lifecycle_pb2.LifecycleExpiration | None
):
(source)
¶
Undocumented
Undocumented
LifecycleNoncurrentVersionExpiration | lifecycle_pb2.LifecycleNoncurrentVersionExpiration | None
):
(source)
¶
Undocumented
LifecycleNoncurrentVersionTransition | lifecycle_pb2.LifecycleNoncurrentVersionTransition | None
):
(source)
¶
Undocumented
LifecycleRule.Status | lifecycle_pb2.LifecycleRule.Status | None
):
(source)
¶
Undocumented
LifecycleTransition | lifecycle_pb2.LifecycleTransition | None
):
(source)
¶
Undocumented
Undocumented
Value |
|
Undocumented
Value |
|
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).
Specifies when noncurrent object versions expire. It works only on a bucket that has versioning enabled (or suspended).
Spicifies the transition for the lifecycle of a noncurrent object. It works only on a bucket that has versioning enabled (or suspended).