Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions nebius/common/v1/warning.proto
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,8 @@ message Warning {

// Nebius ID in the request has an invalid format.
CODE_INVALID_NEBIUS_ID_FORMAT_REQUEST = 9;

// ListAggregated returned incomplete results because one or more regions could not be queried.
CODE_LIST_AGGREGATED_PARTIAL = 10;
}
}
26 changes: 25 additions & 1 deletion nebius/storage/v1/inventory.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ syntax = "proto3";
package nebius.storage.v1;

import "buf/validate/validate.proto";
import "google/protobuf/timestamp.proto";
import "nebius/annotations.proto";
import "nebius/common/v1/metadata.proto";

Expand Down Expand Up @@ -103,4 +104,27 @@ message InventorySpec {
Schedule schedule = 8 [(buf.validate.field).required = true];
}

message InventoryStatus {}
message InventoryStatus {
enum Error {
// No error.
NO_ERROR = 0;

// Destination bucket not found.
DESTINATION_BUCKET_NOT_FOUND = 1;

// Permission denied: you don't have permission to the destination bucket.
PERMISSION_DENIED = 2;

// Intent is invalid, does not exist or expired.
INVALID_INTENT = 3;

// Quota exceeded in destination.
QUOTA_EXCEEDED = 4;
}

// Timestamp of the last successful run.
google.protobuf.Timestamp last_success = 1;

// Error code, if the last run was not successful, otherwise NO_ERROR.
Error error_code = 2;
}