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

    Interface LifecycleExpiration

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

    interface LifecycleExpiration {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.storage.v1.LifecycleExpiration";
        expiredObjectDeleteMarker: boolean;
        expiredWith?:
            | { $case: "date"; date: Dayjs }
            | { $case: "days"; days: number };
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

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

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.storage.v1.LifecycleExpiration 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.LifecycleExpiration"

    Contains the fully qualified protobuf type name.

    expiredObjectDeleteMarker: boolean

    Indicates whether the system will remove a "delete marker" with no noncurrent versions. If set to true, the "delete marker" will be permanently removed. If set to false the policy takes no action. This cannot be specified with Days or Date in a LifecycleExpiration Policy.

    expiredWith?: { $case: "date"; date: Dayjs } | { $case: "days"; days: number }

    Contains the selected value for the expired_with protobuf oneof.

    Type Declaration

    • { $case: "date"; date: Dayjs }
      • $case: "date"

        Contains the case.

      • date: Dayjs

        Contains the date.

    • { $case: "days"; days: number }
      • $case: "days"

        Contains the case.

      • days: number

        Contains the days.