@nebius/js-sdk - v0.2.54
    Preparing search index...

    Interface LifecycleRule

    Represents the nebius.storage.v1.LifecycleRule protobuf message.

    interface LifecycleRule {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.storage.v1.LifecycleRule";
        abortIncompleteMultipartUpload?: LifecycleAbortIncompleteMultipartUpload;
        expiration?: LifecycleExpiration;
        filter?: LifecycleFilter;
        id: string;
        noncurrentVersionExpiration?: LifecycleNoncurrentVersionExpiration;
        noncurrentVersionTransition?: LifecycleNoncurrentVersionTransition;
        status: LifecycleRule_Status;
        transition?: LifecycleTransition;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined

      Represents the nebius.storage.v1.LifecycleRule protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.storage.v1.LifecycleRule protobuf message.

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "nebius.storage.v1.LifecycleRule"

    Contains the fully qualified protobuf type name.

    abortIncompleteMultipartUpload?: LifecycleAbortIncompleteMultipartUpload

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

    expiration?: LifecycleExpiration

    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).

    id: string

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

    noncurrentVersionExpiration?: LifecycleNoncurrentVersionExpiration

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

    noncurrentVersionTransition?: LifecycleNoncurrentVersionTransition

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

    Contains the status protobuf field.

    transition?: LifecycleTransition

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