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

    Interface TransferSpec_SourceBucket

    Represents the nebius.storage.v1alpha1.TransferSpec.SourceBucket protobuf message.

    interface TransferSpec_SourceBucket {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.storage.v1alpha1.TransferSpec.SourceBucket";
        bucketName: string;
        credentials?: TransferSpec_BucketCredentials;
        endpoint: string;
        limiters?: TransferSpec_Limiters;
        prefix: string;
        region: string;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

      Represents the nebius.storage.v1alpha1.TransferSpec.SourceBucket protobuf message.

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

    Contains the fully qualified protobuf type name.

    bucketName: string

    Contains the bucket_name protobuf field.

    Credentials for accessing the source bucket. These credentials must have list and get permissions. This parameter must be specified only during create operations.

    endpoint: string

    The endpoint must be in the form of a URL, starting with the protocol (https), followed by the endpoint address without a trailing slash. Example: https://storage.us-central1.nebius.cloud

    Limiters applied to source bucket operations. These limits include all operations required for transfer (HeadObject, GetObject, ListObjects). For details about which operations are used, see public documentation: http://docs.nebius.com/object-storage/transfer/quickstart#background.

    Note: Since the service performs comparable request volumes and data transfers to both source and destination, these limits will indirectly constrain destination operations as well.

    prefix: string

    Prefix to filter objects in the source bucket. Only objects whose keys start with this prefix will be transferred. During transfer, the resulting object key in the destination bucket is computed by removing source.prefix from the original key and then prepending destination.prefix (if provided). Important: This transformation may result in an empty object key or one that exceeds allowed length limits. Use prefixes that guarantee valid resulting object keys for your objects after transformation.

    region: string

    Contains the region protobuf field.