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

    Interface DeleteBucketRequest

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

    interface DeleteBucketRequest {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.storage.v1.DeleteBucketRequest";
        id: string;
        purge?:
            | { $case: "purgeAt"; purgeAt: Dayjs }
            | { $case: "ttl"; ttl: Duration };
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

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

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

    Contains the fully qualified protobuf type name.

    id: string

    Contains the id protobuf field.

    purge?: { $case: "purgeAt"; purgeAt: Dayjs } | { $case: "ttl"; ttl: Duration }

    You can provide purge_at or ttl after which the bucket will be purged automatically. Otherwise, default ttl of 7 days will be applied.

    Type Declaration

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

        Contains the case.

      • purgeAt: Dayjs

        Contains the purge at.

    • { $case: "ttl"; ttl: Duration }
      • $case: "ttl"

        Contains the case.

      • ttl: Duration

        Contains the ttl.