> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create



## OpenAPI

````yaml https://api.nebius.cloud/openapi.json post /storage/v1/buckets
openapi: 3.0.3
info:
  title: Nebius API
  version: version not set
servers:
  - url: https://api.nebius.cloud
security:
  - bearerAuth: []
tags:
  - name: nebius.ai.v1.DevlabService
  - name: nebius.ai.v1.EndpointService
  - name: nebius.ai.v1.HardwareService
  - name: nebius.ai.v1.JobService
  - name: nebius.applications.v1alpha1.K8sReleaseService
  - name: nebius.applications.v1alpha1.VmAppTemplateService
  - name: nebius.audit.v2.AuditEventExportService
  - name: nebius.audit.v2.AuditEventService
  - name: nebius.billing.v1.CalculatorService
  - name: nebius.billing.v1.PricingPolicyService
  - name: nebius.billing.v1alpha1.CalculatorService
  - name: nebius.billing.v1alpha1.OneTimeExportService
  - name: nebius.billing.v1alpha1.SpotPriceService
  - name: nebius.capacity.v1.CapacityAllowanceService
  - name: nebius.capacity.v1.CapacityBlockGroupService
  - name: nebius.capacity.v1.CapacityIntervalService
  - name: nebius.capacity.v1.ResourceAdviceService
  - name: nebius.compute.v1.DiskService
  - name: nebius.compute.v1.DiskSnapshotService
  - name: nebius.compute.v1.FilesystemService
  - name: nebius.compute.v1.GpuClusterService
  - name: nebius.compute.v1.ImageService
  - name: nebius.compute.v1.InstanceService
  - name: nebius.compute.v1.MaintenanceService
  - name: nebius.compute.v1.NVLInstanceGroupService
  - name: nebius.compute.v1.NodeService
  - name: nebius.compute.v1.PlatformService
  - name: nebius.dns.v1.RecordService
  - name: nebius.dns.v1.ZoneService
  - name: nebius.iam.v1.AccessKeyService
  - name: nebius.iam.v1.AccessPermitService
  - name: nebius.iam.v1.AuthPublicKeyService
  - name: nebius.iam.v1.FederatedCredentialsService
  - name: nebius.iam.v1.FederationCertificateService
  - name: nebius.iam.v1.FederationService
  - name: nebius.iam.v1.GroupMembershipService
  - name: nebius.iam.v1.GroupService
  - name: nebius.iam.v1.InvitationService
  - name: nebius.iam.v1.ProfileService
  - name: nebius.iam.v1.ProjectService
  - name: nebius.iam.v1.ServiceAccountService
  - name: nebius.iam.v1.SessionManagementService
  - name: nebius.iam.v1.StaticKeyService
  - name: nebius.iam.v1.TenantService
  - name: nebius.iam.v1.TenantUserAccountService
  - name: nebius.iam.v1.TenantUserAccountWithAttributesService
  - name: nebius.iam.v2.AccessKeyService
  - name: nebius.iam.v2.ProjectService
  - name: nebius.iam.v2.TenantService
  - name: nebius.kms.v1.AsymmetricCryptoService
  - name: nebius.kms.v1.AsymmetricKeyService
  - name: nebius.kms.v1.SymmetricCryptoService
  - name: nebius.kms.v1.SymmetricKeyService
  - name: nebius.logging.agentmanager.v1.VersionService
  - name: nebius.logging.v1.LogExportService
  - name: nebius.maintenance.v1alpha1.MaintenanceService
  - name: nebius.mk8s.v1.ClusterService
  - name: nebius.mk8s.v1.NodeGroupService
  - name: nebius.mk8s.v1alpha1.ClusterService
  - name: nebius.mk8s.v1alpha1.NodeGroupService
  - name: nebius.msp.mlflow.v1alpha1.ClusterService
  - name: nebius.msp.postgresql.v1alpha1.BackupService
  - name: nebius.msp.postgresql.v1alpha1.ClusterService
  - name: nebius.mysterybox.v1.PayloadService
  - name: nebius.mysterybox.v1.SecretService
  - name: nebius.mysterybox.v1.SecretVersionService
  - name: nebius.quotas.v1.QuotaAllowanceService
  - name: nebius.registry.v1.ArtifactService
  - name: nebius.registry.v1.RegistryService
  - name: nebius.storage.v1.BucketService
  - name: nebius.storage.v1.InventoryService
  - name: nebius.storage.v1.TransferService
  - name: nebius.storage.v1alpha1.TransferService
  - name: nebius.tunnel.v1.TunnelService
  - name: nebius.vpc.v1.AllocationService
  - name: nebius.vpc.v1.NetworkService
  - name: nebius.vpc.v1.PoolService
  - name: nebius.vpc.v1.RouteService
  - name: nebius.vpc.v1.RouteTableService
  - name: nebius.vpc.v1.SecurityGroupService
  - name: nebius.vpc.v1.SecurityRuleService
  - name: nebius.vpc.v1.SubnetService
  - name: nebius.vpc.v1.TargetGroupService
  - name: nebius.vpc.v1alpha1.AllocationService
  - name: nebius.vpc.v1alpha1.NetworkService
  - name: nebius.vpc.v1alpha1.PoolService
  - name: nebius.vpc.v1alpha1.ScopeService
  - name: nebius.vpc.v1alpha1.SubnetService
paths:
  /storage/v1/buckets:
    post:
      tags:
        - nebius.storage.v1.BucketService
      summary: Create
      operationId: BucketService_Create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/nebius.storage.v1.CreateBucketRequest'
        required: true
        x-originalParamName: body
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/nebius.common.v1.Operation'
          description: A successful response.
components:
  schemas:
    nebius.storage.v1.CreateBucketRequest:
      properties:
        metadata:
          $ref: '#/components/schemas/nebius.common.v1.ResourceMetadata'
        spec:
          $ref: '#/components/schemas/nebius.storage.v1.BucketSpec'
      required:
        - metadata
      type: object
    nebius.common.v1.Operation:
      properties:
        createdAt:
          description: Creation timestamp.
          format: date-time
          type: string
        createdBy:
          description: ID of the user or service account who initiated the operation.
          type: string
        description:
          description: Human-readable description of the operation. 0-256 characters long.
          type: string
        finishedAt:
          description: The time when the operation has finished.
          format: date-time
          type: string
        id:
          description: ID of the operation.
          type: string
        progressData:
          allOf:
            - $ref: '#/components/schemas/google.protobuf.Any'
          description: >-
            Extra information about this operation's progress. MAY be absent
            while the operation is running, MUST be absent after the operation
            has

            completed.


            Type of message that's stored inside [progress_data] is
            service-dependent.
        progressTracker:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ProgressTracker'
          description: >-
            Information about this operation's progress, if this operation
            tracks its progress.

            If the operation tracks its progress, `progress_tracker` MUST be
            present both while

            the operation is running and after it has been completed.
        request:
          allOf:
            - $ref: '#/components/schemas/google.protobuf.Any'
          description: The request that generated this operation.
        requestHeaders:
          additionalProperties:
            $ref: '#/components/schemas/nebius.common.v1.Operation.RequestHeader'
          description: >-
            The request headers that are essential for the request that
            generated the operation.

            For instance, `x-resetmask`. Without these headers the request might
            have been processed

            differently if repeated.

            All the header names *must* be converted to lower case.

            Validator is based on:

            https://httpwg.org/specs/rfc9110.html#considerations.for.new.field.names
          type: object
        resourceId:
          description: >-
            ID of the resource that this operation creates, updates, deletes or
            otherwise changes.


            If the operation affects multiple resources or does not affect any
            API resources at all

            (e.g. a routine maintenance operation visible to the user), the
            [resource_id] must be empty.
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/google.rpc.Status'
          description: >-
            The status of this operation. Set when this operation is completed.

            See
            https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto.


            [status.code] is
            https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto:

            - If [status.code] == OK, the operation has completed successfully.

            - If [status.code] != OK, the operation has failed or has been
            cancelled.
              - [status.message] will contain a user-readable and actionable error message.
              - [status.details] will contain additional diagnostic information in the form of [ServiceError] from nebius/common/v1/error.proto
            - [status.code] must belong to an Operation-compatible subset of
            GRPC codes:
              OK, CANCELLED, PERMISSION_DENIED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, INTERNAL
      type: object
    nebius.common.v1.ResourceMetadata:
      description: Common resource metadata.
      properties:
        createdAt:
          description: Timestamp indicating when the resource was created.
          format: date-time
          readOnly: true
          type: string
        id:
          description: Identifier for the resource, unique for its resource type.
          type: string
        labels:
          additionalProperties:
            type: string
          description: Labels associated with the resource.
          type: object
        name:
          description: Human-readable name for the resource.
          type: string
        parentId:
          description: Identifier of the parent resource to which the resource belongs.
          type: string
        resourceVersion:
          description: >-
            Version of the resource for safe concurrent modifications and
            consistent reads.

            Positive and monotonically increases on each resource spec change
            (but *not* on each change of the

            resource's container(s) or status).

            Service allows zero value or current.
          format: int64
          type: string
        updatedAt:
          description: Timestamp indicating when the resource was last updated.
          format: date-time
          readOnly: true
          type: string
      required:
        - parentId
      type: object
    nebius.storage.v1.BucketSpec:
      properties:
        bucketPolicy:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.BucketPolicy'
          description: Bucket policy specifies granular permissions for a bucket.
        cors:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.CORSConfiguration'
          description: Cross-origin resource sharing configuration.
        defaultStorageClass:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.StorageClass'
          description: >-
            Storage class to use by default for uploads to the bucket. It may be
            overridden by `x-amz-storage-class` header.

            If not set - STANDARD is used as a default storage class.
        filesystemBucket:
          allOf:
            - $ref: >-
                #/components/schemas/nebius.storage.v1.BucketSpec.FilesystemBucketType
          description: Bucket that uses the existing client's compute filesystem.
        forceStorageClass:
          description: >-
            Flag to force usage of default_storage_class, ignoring
            `x-amz-storage-class` header.
          type: boolean
        lastAccess:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.LastAccessConfiguration'
          description: >-
            Specifies which requests are included in Last Access tracking, if
            Last Access tracking is enabled.

            It does not itself enable Last Access tracking.

            A non-empty `last_access` overrides
            `lifecycle_configuration.last_access_filter`.
        lifecycleConfiguration:
          $ref: '#/components/schemas/nebius.storage.v1.LifecycleConfiguration'
        maxSizeBytes:
          description: |-
            Maximum bucket size.
            Zero means unlimited.
            Actual limit can be lower if customer doesn't have enough quota.
            Real bucket size can go a little higher if customer writes too fast.
          format: int64
          type: string
        objectAuditLogging:
          allOf:
            - $ref: >-
                #/components/schemas/nebius.storage.v1.BucketSpec.ObjectAuditLogging
          description: >-
            Object audit logging specifies which requests must be logged - none,
            all or mutational only.
        versioningPolicy:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.VersioningPolicy'
          description: |-
            Supports transitions:
             * disabled -> enabled
             * disabled -> suspended
             * enabled <-> suspended
      type: object
    google.protobuf.Any:
      additionalProperties: true
      description: >-
        `Any` contains an arbitrary serialized protocol buffer message along
        with a

        URL that describes the type of the serialized message.


        Protobuf library provides support to pack/unpack Any values in the form

        of utility functions or additional generated methods of the Any type.


        Example 1: Pack and unpack a message in C++.

            Foo foo = ...;
            Any any;
            any.PackFrom(foo);
            ...
            if (any.UnpackTo(&foo)) {
              ...
            }

        Example 2: Pack and unpack a message in Java.

            Foo foo = ...;
            Any any = Any.pack(foo);
            ...
            if (any.is(Foo.class)) {
              foo = any.unpack(Foo.class);
            }
            // or ...
            if (any.isSameTypeAs(Foo.getDefaultInstance())) {
              foo = any.unpack(Foo.getDefaultInstance());
            }

         Example 3: Pack and unpack a message in Python.

            foo = Foo(...)
            any = Any()
            any.Pack(foo)
            ...
            if any.Is(Foo.DESCRIPTOR):
              any.Unpack(foo)
              ...

         Example 4: Pack and unpack a message in Go

             foo := &pb.Foo{...}
             any, err := anypb.New(foo)
             if err != nil {
               ...
             }
             ...
             foo := &pb.Foo{}
             if err := any.UnmarshalTo(foo); err != nil {
               ...
             }

        The pack methods provided by protobuf library will by default use

        'type.googleapis.com/full.type.name' as the type URL and the unpack

        methods only use the fully qualified type name after the last '/'

        in the type URL, for example "foo.bar.com/x/y.z" will yield type

        name "y.z".


        JSON

        ====

        The JSON representation of an `Any` value uses the regular

        representation of the deserialized, embedded message, with an

        additional field `@type` which contains the type URL. Example:

            package google.profile;
            message Person {
              string first_name = 1;
              string last_name = 2;
            }

            {
              "@type": "type.googleapis.com/google.profile.Person",
              "firstName": <string>,
              "lastName": <string>
            }

        If the embedded message type is well-known and has a custom JSON

        representation, that representation will be embedded adding a field

        `value` which holds the custom JSON in addition to the `@type`

        field. Example (for message [google.protobuf.Duration][]):

            {
              "@type": "type.googleapis.com/google.protobuf.Duration",
              "value": "1.212s"
            }
      properties:
        '@type':
          description: >-
            A URL/resource name that uniquely identifies the type of the
            serialized

            protocol buffer message. This string must contain at least

            one "/" character. The last segment of the URL's path must represent

            the fully qualified name of the type (as in

            `path/google.protobuf.Duration`). The name should be in a canonical
            form

            (e.g., leading "." is not accepted).


            In practice, teams usually precompile into the binary all types that
            they

            expect it to use in the context of Any. However, for URLs which use
            the

            scheme `http`, `https`, or no scheme, one can optionally set up a
            type

            server that maps type URLs to message definitions as follows:


            * If no scheme is provided, `https` is assumed.

            * An HTTP GET on the URL must yield a [google.protobuf.Type][]
              value in binary format, or produce an error.
            * Applications are allowed to cache lookup results based on the
              URL, or have them precompiled into a binary to avoid any
              lookup. Therefore, binary compatibility needs to be preserved
              on changes to types. (Use versioned type names to manage
              breaking changes.)

            Note: this functionality is not currently available in the official

            protobuf release, and it is not used for type URLs beginning with

            type.googleapis.com. As of May 2023, there are no widely used type
            server

            implementations and no plans to implement one.


            Schemes other than `http`, `https` (or the empty scheme) might be

            used with implementation specific semantics.
          type: string
      type: object
    nebius.common.v1.ProgressTracker:
      description: >-
        Information for tracking the progress of a task (e.g., an API operation
        or background maintenance action).

        This serves as a UI contract and may be directly reflected in CLI,
        Console, and other tools.
      properties:
        description:
          description: >-
            Human-readable description of the currently executing task, e.g.,
            "Downloading dat-groot-llm.tar.xz".

            Relates to the overall task, not individual steps.

            SHOULD match the Operation's `description` field when this
            ProgressTracker tracks an API Operation's progress.

            MAY provide more detailed overall information.


            MUST be suitable for display to public users.

            Even if the task is internal, this description may be shown to end
            users in overall task step descriptions.


            For individual step descriptions, use `Step.description`.
          type: string
        estimatedFinishedAt:
          description: |-
            Estimated completion timestamp for the task.
            MUST be absent if the task is completed (i.e., finished_at is set).
            MAY be absent if the estimate is unknown.
            MAY be updated as the progress estimate changes.
          format: date-time
          type: string
        finishedAt:
          description: >-
            Completion timestamp of the task.

            MUST be absent for running tasks; MUST be present for completed
            tasks.

            MUST match the operation's finished_at timestamp when tracking an
            API Operation's progress.
          format: date-time
          type: string
        startedAt:
          description: >-
            Timestamp when the overall task started.

            MUST match the operation's created_at timestamp when tracking an API
            Operation's progress.
          format: date-time
          type: string
        steps:
          description: >-
            Detailed information about the task steps that are currently running
            or have been finished.

            - For a completed task, the step list MUST either be empty or
            contain finished steps only.

            - For a running task, the step list MAY be empty if the task
            consists of a single step or no detailed information is available.
              A non-empty step list MUST include all currently running steps and MAY include some or all finished steps.
            - Service SHOULD provide both running and finished steps if the task
            has around 10-20 steps, and provide only running steps otherwise.
              Service MUST consistently choose either the "running steps only" or the "running + finished steps" behavior.
            - The UI, CLI etc. MAY choose not to display all steps provided by
            the service.
          items:
            $ref: '#/components/schemas/nebius.common.v1.ProgressTracker.Step'
          type: array
        workDone:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ProgressTracker.WorkDone'
          description: |-
            Overall work progress details.
            MAY be absent if unknown.
      type: object
    nebius.common.v1.Operation.RequestHeader:
      description: >-
        Request header is a container for all the values of a particular header
        of a request because there is no such thing as

        `map<string, repeated string>`
      properties:
        values:
          description: The values of a particular header from a request
          items:
            type: string
          type: array
      type: object
    google.rpc.Status:
      description: >-
        The `Status` type defines a logical error model that is suitable for

        different programming environments, including REST APIs and RPC APIs. It
        is

        used by [gRPC](https://github.com/grpc). Each `Status` message contains

        three pieces of data: error code, error message, and error details.


        You can find out more about this error model and how to work with it in
        the

        [API Design Guide](https://cloud.google.com/apis/design/errors).
      properties:
        code:
          description: |-
            The status code, which should be an enum value of
            [google.rpc.Code][google.rpc.Code].
          format: int32
          type: integer
        details:
          description: >-
            A list of messages that carry the error details.  There is a common
            set of

            message types for APIs to use.
          items:
            $ref: '#/components/schemas/google.protobuf.Any'
          type: array
        message:
          description: >-
            A developer-facing error message, which should be in English. Any

            user-facing error message should be localized and sent in the

            [google.rpc.Status.details][google.rpc.Status.details] field, or
            localized

            by the client.
          type: string
      type: object
    nebius.storage.v1.BucketPolicy:
      description: Bucket policy specifies granular permissions for a bucket.
      properties:
        rules:
          description: >-
            Rule specifies which role must be given to a subject to access a set
            of objects with given

            prefixes or a whole bucket.
          items:
            $ref: '#/components/schemas/nebius.storage.v1.BucketPolicy.Rule'
          type: array
      type: object
    nebius.storage.v1.CORSConfiguration:
      description: Cross-origin resource sharing (CORS) configuration.
      properties:
        rules:
          description: CORS rules.
          items:
            $ref: '#/components/schemas/nebius.storage.v1.CORSRule'
          type: array
      type: object
    nebius.storage.v1.StorageClass:
      default: STORAGE_CLASS_UNSPECIFIED
      description: ' - FILESYSTEM: Special storage class only for filesystem buckets.'
      enum:
        - STORAGE_CLASS_UNSPECIFIED
        - STANDARD
        - ENHANCED_THROUGHPUT
        - INTELLIGENT
        - FILESYSTEM
      type: string
    nebius.storage.v1.BucketSpec.FilesystemBucketType:
      properties:
        directory:
          description: >-
            Directory within the filesystem that will be used as a root for the
            bucket.

            If not empty, it must be an absolute normalized path (no ., .., or
            doubled /).

            Empty value means that the bucket will be mounted at the filesystem
            root (/).
          type: string
        directoryMode:
          description: >-
            Linux permissions that will be applied for uploaded directories.

            Permissions are specified in octal format (one to four octal
            numbers), e.g. "644" or "755".

            The default value is 755 (rwxr-xr-x).
          type: string
        fileMode:
          description: >-
            Linux permissions that will be applied for uploaded files.

            Permissions are specified in octal format (one to four octal
            numbers), e.g. "644" or "755".

            The default value is 644 (rw-r--r--).
          type: string
        filesystemId:
          description: Identifier of filesystem to be exposed via Object Storage API.
          type: string
        gid:
          description: |-
            GID that will be used for write operations to the filesystem.
            By default, root user (UID=0, GID=0) is used.
          format: int64
          type: integer
        uid:
          description: |-
            UID that will be used for write operations to the filesystem.
            By default, root user (UID=0, GID=0) is used.
          format: int64
          type: integer
      required:
        - filesystemId
      type: object
    nebius.storage.v1.LastAccessConfiguration:
      description: Specifies which requests are included in Last Access tracking.
      properties:
        conditions:
          description: |-
            A request is included in Last Access tracking if:
            - The first condition matching the request has `INCLUDE` type.
            OR
            - The request doesn't match any conditions
          items:
            $ref: >-
              #/components/schemas/nebius.storage.v1.LastAccessConfiguration.Condition
          type: array
      type: object
    nebius.storage.v1.LifecycleConfiguration:
      description: >-
        The lifecycle configuration consists of one or more rules.

        An Lifecycle configuration can have up to 1,000 rules.

        Each rule consists of the following:

        - A filter identifying a subset of objects to which the rule applies.
          The filter can be based on a key name prefix, object size, or any combination of these.
        - A status indicating whether the rule is currently active.

        - One or more lifecycle expiration actions that you want to be performed
        on the objects
          identified by the filter. If the state of your bucket is versioning-enabled or versioning-suspended
          (bucket.spec.versioning_policy equals to ENABLED or SUSPENDED) you can have many versions of the same
          object (one current version and zero or more noncurrent versions). The system provides predefined actions
          that you can specify for current and noncurrent object versions.
      properties:
        lastAccessFilter:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.LifecycleAccessFilter'
          description: >-
            Specifies which requests are included in `days_since_last_access`
            calculations for all transition rules.
        rules:
          items:
            $ref: '#/components/schemas/nebius.storage.v1.LifecycleRule'
          type: array
      type: object
    nebius.storage.v1.BucketSpec.ObjectAuditLogging:
      default: OBJECT_AUDIT_LOGGING_UNSPECIFIED
      description: |2-
         - NONE: Logging is disabled.
         - MUTATE_ONLY: Logging enabled only for mutating requests.
         - ALL: Logging enabled for all requests.
      enum:
        - OBJECT_AUDIT_LOGGING_UNSPECIFIED
        - NONE
        - MUTATE_ONLY
        - ALL
      type: string
    nebius.storage.v1.VersioningPolicy:
      default: VERSIONING_POLICY_UNSPECIFIED
      enum:
        - VERSIONING_POLICY_UNSPECIFIED
        - DISABLED
        - ENABLED
        - SUSPENDED
      type: string
    nebius.common.v1.ProgressTracker.Step:
      description: |-
        Represents a basic step in the task.
        Fields are binary-compatible with ProgressTracker for easier processing.
      properties:
        description:
          description: >-
            Human-readable description of the step, e.g., "Connecting to
            localhost:8080".

            MUST be suitable for display to public users.

            Private descriptions must be filtered server-side based on the use
            case.
          type: string
        finishedAt:
          description: >-
            Timestamp when the step finished.

            MUST be absent for running steps; MUST be present for completed
            steps.
          format: date-time
          type: string
        startedAt:
          description: Timestamp when the step started.
          format: date-time
          type: string
        workDone:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ProgressTracker.WorkDone'
          description: |-
            Details on the work to be done for this step and progress made.
            MAY be absent if unknown.
      type: object
    nebius.common.v1.ProgressTracker.WorkDone:
      description: >-
        Information about the work done by the task or its step, expressed in
        ticks (abstract work units).

        Each tick may represent a real measurement (e.g., VMs created, KiB
        uploaded), number of substeps or a percentage of work completed.
      properties:
        doneTickCount:
          description: >-
            Number of ticks completed so far. MUST be between 0 and
            total_tick_count, inclusive.

            MUST equal total_tick_count if the task or step is finished.
          format: int64
          type: string
        totalTickCount:
          description: >-
            Total number of ticks (work units) to be completed. MUST be greater
            than 0.
          format: int64
          type: string
      type: object
    nebius.storage.v1.BucketPolicy.Rule:
      properties:
        anonymous:
          allOf:
            - $ref: >-
                #/components/schemas/nebius.storage.v1.BucketPolicy.Rule.AnonymousAccess
          description: >-
            Enable anonymous access. Only read-only roles are allowed in
            anonymous mode.
        groupId:
          description: Group ID to grant access to.
          type: string
        paths:
          description: >-
            A list of paths each of which is either a full object key or a
            prefix ending with a

            single "*" wildcard character. A rule is only applied to objects
            matching any of paths.

            If there is a path equal to "*", a rule applies to a whole bucket.
          items:
            type: string
          type: array
        roles:
          description: >-
            A set of roles which a subject will have. All `storage.*` roles are
            supported.
          items:
            type: string
          type: array
      type: object
    nebius.storage.v1.CORSRule:
      properties:
        allowedHeaders:
          description: >-
            Headers that are allowed in a preflight request through the
            Access-Control-Request-Headers header
          items:
            type: string
          type: array
        allowedMethods:
          description: 'HTTP methods CORS is allowed for: GET, PUT, POST, DELETE, HEAD.'
          items:
            type: string
          type: array
        allowedOrigins:
          description: >-
            The origins that you want to allow cross-domain requests from.
            Single wildcard * is allowed.
          items:
            type: string
          type: array
        exposeHeaders:
          description: >-
            Headers in the response that you want customers to be able to access
            from their applications.
          items:
            type: string
          type: array
        id:
          description: Optional rule identifier.
          type: string
        maxAgeSeconds:
          description: >-
            Time in seconds that your browser can cache the response for a
            preflight request as identified by the resource.
          format: int32
          type: integer
      required:
        - allowedOrigins
        - allowedMethods
      type: object
    nebius.storage.v1.LastAccessConfiguration.Condition:
      description: >-
        Specifies conditions to include or exclude request from Last Access
        tracking.
      properties:
        methods:
          description: |-
            The s3 methods to match.
            An empty list matches all methods
          items:
            $ref: >-
              #/components/schemas/nebius.storage.v1.LastAccessConfiguration.Condition.Method
          type: array
        type:
          $ref: >-
            #/components/schemas/nebius.storage.v1.LastAccessConfiguration.Condition.Type
        userAgents:
          description: >-
            User agents to match. Condition is satisfied if the request's user
            agent contains any of these substrings.

            An empty list matches all user agents.
          items:
            type: string
          type: array
      required:
        - type
      type: object
    nebius.storage.v1.LifecycleAccessFilter:
      description: >-
        Specifies which requests are included in `days_since_last_access`
        calculations.
      properties:
        conditions:
          description: |-
            A request is included in `days_since_last_access` calculations if:
            - The first condition matching the request has `INCLUDE` type.
            OR
            - The request doesn't match any conditions
          items:
            $ref: >-
              #/components/schemas/nebius.storage.v1.LifecycleAccessFilter.Condition
          type: array
      type: object
    nebius.storage.v1.LifecycleRule:
      properties:
        abortIncompleteMultipartUpload:
          allOf:
            - $ref: >-
                #/components/schemas/nebius.storage.v1.LifecycleAbortIncompleteMultipartUpload
          description: >-
            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:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.LifecycleExpiration'
          description: >-
            Specifies the expiration for the lifecycle of the object in the form
            of date, days and,

            whether the object has a delete marker.
        filter:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.LifecycleFilter'
          description: >-
            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:
          description: |-
            Unique identifier for the rule per configuration.
            The value cannot be longer than 255 characters.
          type: string
        noncurrentVersionExpiration:
          allOf:
            - $ref: >-
                #/components/schemas/nebius.storage.v1.LifecycleNoncurrentVersionExpiration
          description: >-
            Specifies when noncurrent object versions expire.

            It works only on a bucket that has versioning enabled (or
            suspended).
        noncurrentVersionTransition:
          allOf:
            - $ref: >-
                #/components/schemas/nebius.storage.v1.LifecycleNoncurrentVersionTransition
          description: >-
            Specifies the transition for the lifecycle of a noncurrent object.

            It works only on a bucket that has versioning enabled (or
            suspended).
        status:
          $ref: '#/components/schemas/nebius.storage.v1.LifecycleRule.Status'
        transition:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.LifecycleTransition'
          description: >-
            Specifies the transition for the lifecycle of an object in the form
            of date or days and

            target storage class to transit object to.
      required:
        - id
        - status
      type: object
    nebius.storage.v1.BucketPolicy.Rule.AnonymousAccess:
      type: object
    nebius.storage.v1.LastAccessConfiguration.Condition.Method:
      default: METHOD_UNSPECIFIED
      description: >2-
         - COPY_OBJECT: Copy object method reads the source object.
        We account for those operations as source object accesses when
        calculating `days_since_last_access` for source object.
         - UPLOAD_PART_COPY: Upload part copy method reads the source object.
        We account for those operations as source object accesses when
        calculating `days_since_last_access` for source object.
      enum:
        - METHOD_UNSPECIFIED
        - GET_OBJECT
        - HEAD_OBJECT
        - GET_OBJECT_TAGGING
        - COPY_OBJECT
        - UPLOAD_PART_COPY
      type: string
    nebius.storage.v1.LastAccessConfiguration.Condition.Type:
      default: TYPE_UNSPECIFIED
      description: |2-
         - INCLUDE: If an include type condition is the first condition that the request match, the request will be included in
        `days_since_last_access` calculation.
         - EXCLUDE: If an exclude type condition is the first condition that the request match, the request will be ignored in `days_since_last_access`
        calculation.
      enum:
        - TYPE_UNSPECIFIED
        - INCLUDE
        - EXCLUDE
      type: string
    nebius.storage.v1.LifecycleAccessFilter.Condition:
      properties:
        methods:
          description: |-
            The s3 methods to match.
            An empty list matches all methods
          items:
            $ref: >-
              #/components/schemas/nebius.storage.v1.LifecycleAccessFilter.Condition.Method
          type: array
        type:
          $ref: >-
            #/components/schemas/nebius.storage.v1.LifecycleAccessFilter.Condition.Type
        userAgents:
          description: >-
            User agents to match. Condition is satisfied if the request's user
            agent contains any of these substrings.

            An empty list matches all user agents.
          items:
            type: string
          type: array
      required:
        - type
      type: object
    nebius.storage.v1.LifecycleAbortIncompleteMultipartUpload:
      properties:
        daysAfterInitiation:
          description: >-
            Specifies the days since the initiation of an incomplete multipart
            upload that

            the system will wait before permanently removing all parts of the
            upload.
          format: int32
          type: integer
      type: object
    nebius.storage.v1.LifecycleExpiration:
      properties:
        date:
          description: >-
            Indicates at what date the object will be deleted. The time is
            always midnight UTC.
          format: date-time
          type: string
        days:
          description: >-
            Indicates the lifetime, in days, of the objects that are subject to
            the rule.

            The value must be a non-zero positive integer.
          format: int32
          type: integer
        expiredObjectDeleteMarker:
          description: >-
            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.
          type: boolean
      type: object
    nebius.storage.v1.LifecycleFilter:
      properties:
        objectSizeGreaterThanBytes:
          description: Minimum object size to which the rule applies.
          format: int64
          type: string
        objectSizeLessThanBytes:
          description: Maximum object size to which the rule applies.
          format: int64
          type: string
        prefix:
          description: |-
            Prefix identifying one or more objects to which the rule applies.
            If prefix is empty, the rule applies to all objects in the bucket.
          type: string
        tags:
          description: >-
            Tags to filter objects by their tagging. Rule applies only to
            objects that

            match all tags in a filter.
          items:
            $ref: '#/components/schemas/nebius.storage.v1.LifecycleFilter.Tag'
          type: array
      type: object
    nebius.storage.v1.LifecycleNoncurrentVersionExpiration:
      properties:
        newerNoncurrentVersions:
          description: Specifies how many noncurrent versions the system will retain.
          format: int32
          type: integer
        noncurrentDays:
          description: >-
            Specifies the number of days an object is noncurrent before the
            system will expire it.
          format: int32
          type: integer
      type: object
    nebius.storage.v1.LifecycleNoncurrentVersionTransition:
      properties:
        newerNoncurrentVersions:
          description: >-
            Specifies how many noncurrent versions the system will retain
            without transition.
          format: int32
          type: integer
        noncurrentDays:
          description: >-
            Specifies the number of days an object is noncurrent before the
            system will transit it.
          format: int32
          type: integer
        storageClass:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.StorageClass'
          description: Target storage class to transit to.
      type: object
    nebius.storage.v1.LifecycleRule.Status:
      default: STATUS_UNSPECIFIED
      enum:
        - STATUS_UNSPECIFIED
        - ENABLED
        - DISABLED
      type: string
    nebius.storage.v1.LifecycleTransition:
      properties:
        date:
          description: >-
            Indicates at what date the object will be transited. The time is
            always midnight UTC.
          format: date-time
          type: string
        days:
          description: >-
            Amount of days since object was uploaded before it's transited to a
            new storage class.

            The value must be a non-zero positive integer.
          format: int32
          type: integer
        daysSinceLastAccess:
          description: >-
            The number of days since the object was last accessed before it is
            transitioned.
          format: int32
          type: integer
        storageClass:
          allOf:
            - $ref: '#/components/schemas/nebius.storage.v1.StorageClass'
          description: Target storage class to transit to.
      type: object
    nebius.storage.v1.LifecycleAccessFilter.Condition.Method:
      default: METHOD_UNSPECIFIED
      description: >2-
         - COPY_OBJECT: Copy object method reads the source object.
        We account for those operations as source object accesses when
        calculating `days_since_last_access` for source object.
         - UPLOAD_PART_COPY: Upload part copy method reads the source object.
        We account for those operations as source object accesses when
        calculating `days_since_last_access` for source object.
      enum:
        - METHOD_UNSPECIFIED
        - GET_OBJECT
        - HEAD_OBJECT
        - GET_OBJECT_TAGGING
        - COPY_OBJECT
        - UPLOAD_PART_COPY
      type: string
    nebius.storage.v1.LifecycleAccessFilter.Condition.Type:
      default: TYPE_UNSPECIFIED
      description: |2-
         - INCLUDE: If an include type condition is the first condition that the request match, the request will be included in
        `days_since_last_access` calculation.
         - EXCLUDE: If an exclude type condition is the first condition that the request match, the request will be ignored in `days_since_last_access`
        calculation.
      enum:
        - TYPE_UNSPECIFIED
        - INCLUDE
        - EXCLUDE
      type: string
    nebius.storage.v1.LifecycleFilter.Tag:
      properties:
        key:
          type: string
        value:
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      description: The Authorization header expects a Bearer token.
      scheme: bearer
      type: http

````